org.apache.gora.hbase.query
Class HBaseScannerResult<K,T extends Persistent>
java.lang.Object
org.apache.gora.query.impl.ResultBase<K,T>
org.apache.gora.hbase.query.HBaseResult<K,T>
org.apache.gora.hbase.query.HBaseScannerResult<K,T>
- All Implemented Interfaces:
- Closeable, Result<K,T>
public class HBaseScannerResult<K,T extends Persistent>
- extends HBaseResult<K,T>
Result of a query based on an HBase scanner.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HBaseScannerResult
public HBaseScannerResult(HBaseStore<K,T> dataStore,
Query<K,T> query,
org.apache.hadoop.hbase.client.ResultScanner scanner)
clear
protected void clear()
- Overrides:
clear
in class ResultBase<K,T extends Persistent>
nextInner
public boolean nextInner()
throws IOException
- Description copied from class:
ResultBase
ResultBase.next()
calls this function to read the
actual results.
- Specified by:
nextInner
in class ResultBase<K,T extends Persistent>
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
getProgress
public float getProgress()
throws IOException
- Description copied from interface:
Result
- Returns how far along the result has iterated, a value between 0 and 1.
- Throws:
IOException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.