org.apache.hadoop.hbase.rest
Class ResultGenerator

java.lang.Object
  extended by org.apache.hadoop.hbase.rest.ResultGenerator
All Implemented Interfaces:
Iterator<Cell>
Direct Known Subclasses:
RowResultGenerator, ScannerResultGenerator

@InterfaceAudience.Private
public abstract class ResultGenerator
extends Object
implements Iterator<Cell>


Constructor Summary
ResultGenerator()
           
 
Method Summary
static Filter buildFilter(String filter)
           
abstract  void close()
           
static ResultGenerator fromRowSpec(String table, RowSpec rowspec, Filter filter, boolean cacheBlocks)
           
abstract  void putBack(Cell kv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Constructor Detail

ResultGenerator

public ResultGenerator()
Method Detail

fromRowSpec

public static ResultGenerator fromRowSpec(String table,
                                          RowSpec rowspec,
                                          Filter filter,
                                          boolean cacheBlocks)
                                   throws IOException
Throws:
IOException

buildFilter

public static Filter buildFilter(String filter)
                          throws Exception
Throws:
Exception

putBack

public abstract void putBack(Cell kv)

close

public abstract void close()


Copyright © 2015 The Apache Software Foundation. All rights reserved.