org.apache.hadoop.hbase.rest
Class RowResultGenerator

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

public class RowResultGenerator
extends ResultGenerator


Constructor Summary
RowResultGenerator(String tableName, RowSpec rowspec, Filter filter)
           
 
Method Summary
 void close()
           
 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

RowResultGenerator

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

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.