org.apache.hadoop.hbase.rest
Class ResultGenerator

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

public abstract class ResultGenerator
extends Object
implements Iterator<KeyValue>


Constructor Summary
ResultGenerator()
           
 
Method Summary
static Filter buildFilter(String filter)
           
abstract  void close()
           
static ResultGenerator fromRowSpec(String table, RowSpec rowspec, Filter filter)
           
abstract  void putBack(KeyValue 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)
                                   throws IOException
Throws:
IOException

buildFilter

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

putBack

public abstract void putBack(KeyValue kv)

close

public abstract void close()


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.