org.apache.hadoop.hbase.rest
Class ScannerResultGenerator

java.lang.Object
  extended by org.apache.hadoop.hbase.rest.ResultGenerator
      extended by org.apache.hadoop.hbase.rest.ScannerResultGenerator
All Implemented Interfaces:
Iterator<KeyValue>

public class ScannerResultGenerator
extends ResultGenerator


Constructor Summary
ScannerResultGenerator(String tableName, RowSpec rowspec, Filter filter)
           
 
Method Summary
static Filter buildFilterFromModel(ScannerModel model)
           
 void close()
           
 String getID()
           
 boolean hasNext()
           
 KeyValue next()
           
 void putBack(KeyValue kv)
           
 void remove()
           
 
Methods inherited from class org.apache.hadoop.hbase.rest.ResultGenerator
buildFilter, fromRowSpec
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScannerResultGenerator

public ScannerResultGenerator(String tableName,
                              RowSpec rowspec,
                              Filter filter)
                       throws IllegalArgumentException,
                              IOException
Throws:
IllegalArgumentException
IOException
Method Detail

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.