org.apache.hadoop.hbase.hbql.impl
Class ResultSetIterator<T,R>
java.lang.Object
org.apache.hadoop.hbase.hbql.impl.ResultSetIterator<T,R>
- All Implemented Interfaces:
- Iterator<T>
public abstract class ResultSetIterator<T,R>
- extends Object
- implements Iterator<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultSetIterator
protected ResultSetIterator(HResultSetImpl<T,R> resultSet)
throws HBqlException
- Throws:
HBqlException
moreResultsPending
protected abstract boolean moreResultsPending()
getNextResultIterator
protected abstract Iterator<org.apache.hadoop.hbase.client.Result> getNextResultIterator()
throws HBqlException
- Throws:
HBqlException
getNextObject
protected T getNextObject()
setNextObject
protected void setNextObject(T nextObject)
markIteratorComplete
protected void markIteratorComplete()
iteratorCompleteAction
protected void iteratorCompleteAction()
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<T>
remove
public void remove()
- Specified by:
remove
in interface Iterator<T>
incrementReturnedRecordCount
protected void incrementReturnedRecordCount()
setNextObject
protected void setNextObject(T nextObject,
boolean fromExceptionCatch)
next
public T next()
- Specified by:
next
in interface Iterator<T>
fetchNextObject
protected T fetchNextObject()
throws HBqlException
- Throws:
HBqlException
Copyright © 2011. All Rights Reserved.