org.apache.hadoop.hbase.rest.descriptors
Class ScannerIdentifier

java.lang.Object
  extended by org.apache.hadoop.hbase.rest.descriptors.ScannerIdentifier
All Implemented Interfaces:
ISerializable

public class ScannerIdentifier
extends Object
implements ISerializable


Constructor Summary
ScannerIdentifier(Integer id)
           
ScannerIdentifier(Integer id, Long numRows)
           
 
Method Summary
 Integer getId()
           
 Long getNumRows()
           
 void restSerialize(IRestSerializer serializer)
          visitor pattern method where the object implementing this interface will call back on the IRestSerializer with the correct method to run to serialize the output of the object to the stream.
 void setId(Integer id)
           
 void setNumRows(Long numRows)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScannerIdentifier

public ScannerIdentifier(Integer id)
Parameters:
id -

ScannerIdentifier

public ScannerIdentifier(Integer id,
                         Long numRows)
Parameters:
id -
numRows -
Method Detail

getId

public Integer getId()
Returns:
the id

setId

public void setId(Integer id)
Parameters:
id - the id to set

getNumRows

public Long getNumRows()
Returns:
the numRows

setNumRows

public void setNumRows(Long numRows)
Parameters:
numRows - the numRows to set

restSerialize

public void restSerialize(IRestSerializer serializer)
                   throws HBaseRestException
Description copied from interface: ISerializable
visitor pattern method where the object implementing this interface will call back on the IRestSerializer with the correct method to run to serialize the output of the object to the stream.

Specified by:
restSerialize in interface ISerializable
Throws:
HBaseRestException


Copyright © 2010 The Apache Software Foundation