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<Cell>

@InterfaceAudience.Private
public class ScannerResultGenerator
extends ResultGenerator


Constructor Summary
ScannerResultGenerator(String tableName, RowSpec rowspec, Filter filter, boolean cacheBlocks)
           
ScannerResultGenerator(String tableName, RowSpec rowspec, Filter filter, int caching, boolean cacheBlocks)
           
 
Method Summary
static Filter buildFilterFromModel(ScannerModel model)
           
 void close()
           
 String getID()
           
 boolean hasNext()
           
 Cell next()
           
 void putBack(Cell 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,
                              boolean cacheBlocks)
                       throws IllegalArgumentException,
                              IOException
Throws:
IllegalArgumentException
IOException

ScannerResultGenerator

public ScannerResultGenerator(String tableName,
                              RowSpec rowspec,
                              Filter filter,
                              int caching,
                              boolean cacheBlocks)
                       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 Cell next()

putBack

public void putBack(Cell kv)
Specified by:
putBack in class ResultGenerator

remove

public void remove()


Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.