This project has retired. For details please refer to its
Attic page.
HBaseResult (Apache Gora 0.2 API)
org.apache.gora.hbase.query
Class HBaseResult<K,T extends Persistent>
java.lang.Object
org.apache.gora.query.impl.ResultBase<K,T>
org.apache.gora.hbase.query.HBaseResult<K,T>
- All Implemented Interfaces:
- Closeable, Result<K,T>
- Direct Known Subclasses:
- HBaseGetResult, HBaseScannerResult
public abstract class HBaseResult<K,T extends Persistent>
- extends ResultBase<K,T>
Base class for Result
implementations for HBase.
Method Summary |
HBaseStore<K,T> |
getDataStore()
Returns the DataStore, that this Result is associated with. |
protected void |
readNext(org.apache.hadoop.hbase.client.Result result)
|
Methods inherited from class org.apache.gora.query.impl.ResultBase |
clear, get, getKey, getKeyClass, getOffset, getOrCreatePersistent, getPersistentClass, getQuery, isLimitReached, next, nextInner |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HBaseResult
public HBaseResult(HBaseStore<K,T> dataStore,
Query<K,T> query)
getDataStore
public HBaseStore<K,T> getDataStore()
- Description copied from interface:
Result
- Returns the DataStore, that this Result is associated with.
- Specified by:
getDataStore
in interface Result<K,T extends Persistent>
- Overrides:
getDataStore
in class ResultBase<K,T extends Persistent>
- Returns:
- the DataStore of the Result
readNext
protected void readNext(org.apache.hadoop.hbase.client.Result result)
throws IOException
- Throws:
IOException
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.