code: def _get(self, name, interval, config, timestamp, **kws):
      '''
      Get the interval.
      '''
      i_bucket = config['i_calc'].to_bucket(timestamp)
      fetch = kws.get('fetch')
      process_row = kws.get('process_row') or self._process_row
  
      rval = OrderedDict()
      if fetch:
        data = fetch( self._client.connect(), self._table, name, interval, i_bucket )
      else:
        data = self._type_get(name, interval, i_bucket)
  
      if config['coarse']:
        if data:
          rval[ config['i_calc'].from_bucket(i_bucket) ] = process_row(data.values()[0][None])
        else:
          rval[ config['i_calc'].from_bucket(i_bucket) ] = self._type_no_value()
      else:
        for r_bucket,row_data in data.values()[0].items():
          rval[ config['r_calc'].from_bucket(r_bucket) ] = process_row(row_data)
  
      return rvaf _get(self, name, interval, config, timestamp, **kws):
      '''
      Get the interval.
      '''
      i_bucket = config['i_calc'].to_bucket(timestamp)
      fetch = kws.get('fetch')
      process_row = kws.get('process_row') or self._process_row
  
      rval = OrderedDict()
      if fetch:
        data = fetch( self._client.connect(), self._table, name, interval, i_bucket )
      else:
        data = self._type_get(name, interval, i_bucket)
  
      if config['coarse']:
        if data:
          rval[ config['i_calc'].from_bucket(i_bucket) ] = process_row(data.values()[0][None])
        else:
          rval[ config['i_calc'].from_bucket(i_bucket) ] = self._type_no_value()
      else:
        for r_bucket,row_data in data.values()[0].items():
          rval[ config['r_calc'].from_bucket(r_bucket) ] = process_row(row_data)
  
      return rval
docs: Get the interval.