org.apache.hadoop.hbase.rest.descriptors
Class ScannerIdentifier
java.lang.Object
org.apache.hadoop.hbase.rest.descriptors.ScannerIdentifier
- All Implemented Interfaces:
- ISerializable
public class ScannerIdentifier
- extends Object
- implements ISerializable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScannerIdentifier
public ScannerIdentifier(Integer id)
- Parameters:
id
-
ScannerIdentifier
public ScannerIdentifier(Integer id,
Long numRows)
- Parameters:
id
- numRows
-
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