docs: 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()
      query = {'name':name, 'interval':i_bucket}
      if config['coarse']:
        if fetch:
          record = fetch( self._client[interval], spec=query, method='find_one' )
        else:
          record = self._client[interval].find_one( query )
  
        if record:
          data = process_row( self._unescape(record['value']) )
          rval[ config['i_calc'].from_bucket(i_bucket) ] = data
        else:
          rval[ config['i_calc'].from_bucket(i_bucket) ] = self._type_no_value()
      else:
        sort = [('interval', ASCENDING), ('resolution', ASCENDING) ]
        if fetch:
          cursor = fetch( self._client[interval], spec=query, sort=sort, method='find' )
        else:
          cursor = self._client[interval].find( spec=query, sort=sort )
  
        idx = 0
        for record in cursor:
          rval[ config['r_calc'].from_bucket(record['resolution']) ] = \
            process_row(record['value'])
  
      return rval