public static class THBaseService.getScannerRows_args extends Object implements org.apache.thrift.TBase<THBaseService.getScannerRows_args,THBaseService.getScannerRows_args._Fields>, Serializable, Cloneable, Comparable<THBaseService.getScannerRows_args>
Modifier and Type | Class and Description |
---|---|
static class |
THBaseService.getScannerRows_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<THBaseService.getScannerRows_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
int |
numRows
number of rows to return
|
int |
scannerId
the Id of the Scanner to return rows from.
|
Constructor and Description |
---|
THBaseService.getScannerRows_args() |
THBaseService.getScannerRows_args(int scannerId,
int numRows) |
THBaseService.getScannerRows_args(THBaseService.getScannerRows_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(THBaseService.getScannerRows_args other) |
THBaseService.getScannerRows_args |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(THBaseService.getScannerRows_args that) |
THBaseService.getScannerRows_args._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(THBaseService.getScannerRows_args._Fields field) |
int |
getNumRows()
number of rows to return
|
int |
getScannerId()
the Id of the Scanner to return rows from.
|
int |
hashCode() |
boolean |
isSet(THBaseService.getScannerRows_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetNumRows()
Returns true if field numRows is set (has been assigned a value) and false otherwise
|
boolean |
isSetScannerId()
Returns true if field scannerId is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(THBaseService.getScannerRows_args._Fields field,
Object value) |
THBaseService.getScannerRows_args |
setNumRows(int numRows)
number of rows to return
|
void |
setNumRowsIsSet(boolean value) |
THBaseService.getScannerRows_args |
setScannerId(int scannerId)
the Id of the Scanner to return rows from.
|
void |
setScannerIdIsSet(boolean value) |
String |
toString() |
void |
unsetNumRows() |
void |
unsetScannerId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int scannerId
public int numRows
public static final Map<THBaseService.getScannerRows_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public THBaseService.getScannerRows_args()
public THBaseService.getScannerRows_args(int scannerId, int numRows)
public THBaseService.getScannerRows_args(THBaseService.getScannerRows_args other)
public THBaseService.getScannerRows_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<THBaseService.getScannerRows_args,THBaseService.getScannerRows_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<THBaseService.getScannerRows_args,THBaseService.getScannerRows_args._Fields>
public int getScannerId()
public THBaseService.getScannerRows_args setScannerId(int scannerId)
public void unsetScannerId()
public boolean isSetScannerId()
public void setScannerIdIsSet(boolean value)
public int getNumRows()
public THBaseService.getScannerRows_args setNumRows(int numRows)
public void unsetNumRows()
public boolean isSetNumRows()
public void setNumRowsIsSet(boolean value)
public void setFieldValue(THBaseService.getScannerRows_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<THBaseService.getScannerRows_args,THBaseService.getScannerRows_args._Fields>
public Object getFieldValue(THBaseService.getScannerRows_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<THBaseService.getScannerRows_args,THBaseService.getScannerRows_args._Fields>
public boolean isSet(THBaseService.getScannerRows_args._Fields field)
isSet
in interface org.apache.thrift.TBase<THBaseService.getScannerRows_args,THBaseService.getScannerRows_args._Fields>
public boolean equals(THBaseService.getScannerRows_args that)
public int compareTo(THBaseService.getScannerRows_args other)
compareTo
in interface Comparable<THBaseService.getScannerRows_args>
public THBaseService.getScannerRows_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<THBaseService.getScannerRows_args,THBaseService.getScannerRows_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<THBaseService.getScannerRows_args,THBaseService.getScannerRows_args._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<THBaseService.getScannerRows_args,THBaseService.getScannerRows_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.