org.apache.hadoop.hbase.regionserver
Class AbstractKeyValueScanner

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.AbstractKeyValueScanner
All Implemented Interfaces:
KeyValueScanner
Direct Known Subclasses:
CollectionBackedScanner, MemStore.MemStoreScanner

public abstract class AbstractKeyValueScanner
extends Object
implements KeyValueScanner


Constructor Summary
AbstractKeyValueScanner()
           
 
Method Summary
 boolean seekExactly(KeyValue kv, boolean forward)
          Similar to KeyValueScanner.seek(org.apache.hadoop.hbase.KeyValue) (or KeyValueScanner.reseek(org.apache.hadoop.hbase.KeyValue) if forward is true) but only does a seek operation after checking that it is really necessary for the row/column combination specified by the kv parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.hbase.regionserver.KeyValueScanner
close, getSequenceID, next, peek, reseek, seek
 

Constructor Detail

AbstractKeyValueScanner

public AbstractKeyValueScanner()
Method Detail

seekExactly

public boolean seekExactly(KeyValue kv,
                           boolean forward)
                    throws IOException
Description copied from interface: KeyValueScanner
Similar to KeyValueScanner.seek(org.apache.hadoop.hbase.KeyValue) (or KeyValueScanner.reseek(org.apache.hadoop.hbase.KeyValue) if forward is true) but only does a seek operation after checking that it is really necessary for the row/column combination specified by the kv parameter. This function was added to avoid unnecessary disk seeks on multi-column get queries using Bloom filter checking. Should only be used for queries where the set of columns is specified exactly.

Specified by:
seekExactly in interface KeyValueScanner
Throws:
IOException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.