org.apache.hadoop.hbase.regionserver
Class AbstractKeyValueScanner
java.lang.Object
org.apache.hadoop.hbase.regionserver.AbstractKeyValueScanner
- All Implemented Interfaces:
- KeyValueScanner
- Direct Known Subclasses:
- CollectionBackedScanner, MemStore.MemStoreScanner
public abstract class AbstractKeyValueScanner
- extends Object
- implements KeyValueScanner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractKeyValueScanner
public AbstractKeyValueScanner()
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.