org.apache.hadoop.hbase.rest
Class ScannerResultGenerator
java.lang.Object
org.apache.hadoop.hbase.rest.ResultGenerator
org.apache.hadoop.hbase.rest.ScannerResultGenerator
- All Implemented Interfaces:
- Iterator<KeyValue>
public class ScannerResultGenerator
- extends ResultGenerator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScannerResultGenerator
public ScannerResultGenerator(String tableName,
RowSpec rowspec,
Filter filter)
throws IllegalArgumentException,
IOException
- Throws:
IllegalArgumentException
IOException
buildFilterFromModel
public static Filter buildFilterFromModel(ScannerModel model)
throws Exception
- Throws:
Exception
getID
public String getID()
close
public void close()
- Specified by:
close
in class ResultGenerator
hasNext
public boolean hasNext()
next
public KeyValue next()
putBack
public void putBack(KeyValue kv)
- Specified by:
putBack
in class ResultGenerator
remove
public void remove()
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.