public class ScanResponse extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
ScanResponse.Builder |
| Modifier and Type | Field and Description |
|---|---|
Map<Integer,ScanCursor> |
cursors |
static int |
CURSORS |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
DataSet |
props |
static int |
PROPS |
ResponseCommon |
result |
static int |
RESULT |
| Constructor and Description |
|---|
ScanResponse() |
ScanResponse(ResponseCommon result) |
ScanResponse(ResponseCommon result,
DataSet props,
Map<Integer,ScanCursor> cursors) |
ScanResponse(ResponseCommon result,
Map<Integer,ScanCursor> cursors) |
ScanResponse(ScanResponse other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static ScanResponse.Builder |
builder() |
ScanResponse |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
Map<Integer,ScanCursor> |
getCursors() |
Object |
getFieldValue(int fieldID) |
DataSet |
getProps() |
ResponseCommon |
getResult() |
int |
hashCode() |
boolean |
isSetCursors() |
boolean |
isSetProps() |
boolean |
isSetResult() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
ScanResponse |
setCursors(Map<Integer,ScanCursor> cursors) |
void |
setCursorsIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
ScanResponse |
setProps(DataSet props) |
void |
setPropsIsSet(boolean __value) |
ScanResponse |
setResult(ResponseCommon result) |
void |
setResultIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetCursors() |
void |
unsetProps() |
void |
unsetResult() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public ResponseCommon result
public DataSet props
public Map<Integer,ScanCursor> cursors
public static final int RESULT
public static final int PROPS
public static final int CURSORS
public ScanResponse()
public ScanResponse(ResponseCommon result)
public ScanResponse(ResponseCommon result, Map<Integer,ScanCursor> cursors)
public ScanResponse(ResponseCommon result, DataSet props, Map<Integer,ScanCursor> cursors)
public ScanResponse(ScanResponse other)
public static ScanResponse.Builder builder()
public ScanResponse deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic ResponseCommon getResult()
public ScanResponse setResult(ResponseCommon result)
public void unsetResult()
public boolean isSetResult()
public void setResultIsSet(boolean __value)
public DataSet getProps()
public ScanResponse setProps(DataSet props)
public void unsetProps()
public boolean isSetProps()
public void setPropsIsSet(boolean __value)
public Map<Integer,ScanCursor> getCursors()
public ScanResponse setCursors(Map<Integer,ScanCursor> cursors)
public void unsetCursors()
public boolean isSetCursors()
public void setCursorsIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBaseread in interface com.facebook.thrift.TBaseiprot - Input protocolcom.facebook.thrift.TExceptionpublic void write(com.facebook.thrift.protocol.TProtocol oprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBasewrite in interface com.facebook.thrift.TBaseoprot - Output protocolcom.facebook.thrift.TExceptionpublic String toString(int indent, boolean prettyPrint)
com.facebook.thrift.TBasetoString in interface com.facebook.thrift.TBaseindent - The level of indentation desiredprettyPrint - Set pretty printing on/offpublic void validate()
throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionCopyright © 2022. All rights reserved.