public class ScanReq extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<ScanReq>
| Modifier and Type | Class and Description |
|---|---|
static class |
ScanReq.Builder |
| Modifier and Type | Field and Description |
|---|---|
byte[] |
end |
static int |
END |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
byte[] |
segment |
static int |
SEGMENT |
byte[] |
start |
static int |
START |
| Constructor and Description |
|---|
ScanReq() |
ScanReq(byte[] segment,
byte[] start,
byte[] end) |
ScanReq(ScanReq other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static ScanReq.Builder |
builder() |
int |
compareTo(ScanReq other) |
ScanReq |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
byte[] |
getEnd() |
Object |
getFieldValue(int fieldID) |
byte[] |
getSegment() |
byte[] |
getStart() |
int |
hashCode() |
boolean |
isSetEnd() |
boolean |
isSetSegment() |
boolean |
isSetStart() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
ScanReq |
setEnd(byte[] end) |
void |
setEndIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
ScanReq |
setSegment(byte[] segment) |
void |
setSegmentIsSet(boolean __value) |
ScanReq |
setStart(byte[] start) |
void |
setStartIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetEnd() |
void |
unsetSegment() |
void |
unsetStart() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public byte[] segment
public byte[] start
public byte[] end
public static final int SEGMENT
public static final int START
public static final int END
public ScanReq()
public ScanReq(byte[] segment,
byte[] start,
byte[] end)
public ScanReq(ScanReq other)
public static ScanReq.Builder builder()
public ScanReq deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic byte[] getSegment()
public ScanReq setSegment(byte[] segment)
public void unsetSegment()
public boolean isSetSegment()
public void setSegmentIsSet(boolean __value)
public byte[] getStart()
public ScanReq setStart(byte[] start)
public void unsetStart()
public boolean isSetStart()
public void setStartIsSet(boolean __value)
public byte[] getEnd()
public ScanReq setEnd(byte[] end)
public void unsetEnd()
public boolean isSetEnd()
public void setEndIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(ScanReq other)
compareTo in interface Comparable<ScanReq>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.