public static class BlockWorkerClientService.requestBlockLocation_args extends Object implements org.apache.thrift.TBase<BlockWorkerClientService.requestBlockLocation_args,BlockWorkerClientService.requestBlockLocation_args._Fields>, Serializable, Cloneable, Comparable<BlockWorkerClientService.requestBlockLocation_args>
Modifier and Type | Class and Description |
---|---|
static class |
BlockWorkerClientService.requestBlockLocation_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<BlockWorkerClientService.requestBlockLocation_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
requestBlockLocation_args() |
requestBlockLocation_args(BlockWorkerClientService.requestBlockLocation_args other)
Performs a deep copy on other.
|
requestBlockLocation_args(long sessionId,
long blockId,
long initialBytes,
int writeTier,
RequestBlockLocationTOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(BlockWorkerClientService.requestBlockLocation_args other) |
BlockWorkerClientService.requestBlockLocation_args |
deepCopy() |
boolean |
equals(BlockWorkerClientService.requestBlockLocation_args that) |
boolean |
equals(Object that) |
BlockWorkerClientService.requestBlockLocation_args._Fields |
fieldForId(int fieldId) |
long |
getBlockId()
the id of the block being accessed
|
Object |
getFieldValue(BlockWorkerClientService.requestBlockLocation_args._Fields field) |
long |
getInitialBytes()
initial number of bytes requested
|
RequestBlockLocationTOptions |
getOptions()
the method options
|
long |
getSessionId()
the id of the current session
|
int |
getWriteTier()
the target tier to write to
|
int |
hashCode() |
boolean |
isSet(BlockWorkerClientService.requestBlockLocation_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetBlockId()
Returns true if field blockId is set (has been assigned a value) and false otherwise
|
boolean |
isSetInitialBytes()
Returns true if field initialBytes is set (has been assigned a value) and false otherwise
|
boolean |
isSetOptions()
Returns true if field options is set (has been assigned a value) and false otherwise
|
boolean |
isSetSessionId()
Returns true if field sessionId is set (has been assigned a value) and false otherwise
|
boolean |
isSetWriteTier()
Returns true if field writeTier is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
BlockWorkerClientService.requestBlockLocation_args |
setBlockId(long blockId)
the id of the block being accessed
|
void |
setBlockIdIsSet(boolean value) |
void |
setFieldValue(BlockWorkerClientService.requestBlockLocation_args._Fields field,
Object value) |
BlockWorkerClientService.requestBlockLocation_args |
setInitialBytes(long initialBytes)
initial number of bytes requested
|
void |
setInitialBytesIsSet(boolean value) |
BlockWorkerClientService.requestBlockLocation_args |
setOptions(RequestBlockLocationTOptions options)
the method options
|
void |
setOptionsIsSet(boolean value) |
BlockWorkerClientService.requestBlockLocation_args |
setSessionId(long sessionId)
the id of the current session
|
void |
setSessionIdIsSet(boolean value) |
BlockWorkerClientService.requestBlockLocation_args |
setWriteTier(int writeTier)
the target tier to write to
|
void |
setWriteTierIsSet(boolean value) |
String |
toString() |
void |
unsetBlockId() |
void |
unsetInitialBytes() |
void |
unsetOptions() |
void |
unsetSessionId() |
void |
unsetWriteTier() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<BlockWorkerClientService.requestBlockLocation_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public requestBlockLocation_args()
public requestBlockLocation_args(long sessionId, long blockId, long initialBytes, int writeTier, RequestBlockLocationTOptions options)
public requestBlockLocation_args(BlockWorkerClientService.requestBlockLocation_args other)
public BlockWorkerClientService.requestBlockLocation_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<BlockWorkerClientService.requestBlockLocation_args,BlockWorkerClientService.requestBlockLocation_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<BlockWorkerClientService.requestBlockLocation_args,BlockWorkerClientService.requestBlockLocation_args._Fields>
public long getSessionId()
public BlockWorkerClientService.requestBlockLocation_args setSessionId(long sessionId)
public void unsetSessionId()
public boolean isSetSessionId()
public void setSessionIdIsSet(boolean value)
public long getBlockId()
public BlockWorkerClientService.requestBlockLocation_args setBlockId(long blockId)
public void unsetBlockId()
public boolean isSetBlockId()
public void setBlockIdIsSet(boolean value)
public long getInitialBytes()
public BlockWorkerClientService.requestBlockLocation_args setInitialBytes(long initialBytes)
public void unsetInitialBytes()
public boolean isSetInitialBytes()
public void setInitialBytesIsSet(boolean value)
public int getWriteTier()
public BlockWorkerClientService.requestBlockLocation_args setWriteTier(int writeTier)
public void unsetWriteTier()
public boolean isSetWriteTier()
public void setWriteTierIsSet(boolean value)
public RequestBlockLocationTOptions getOptions()
public BlockWorkerClientService.requestBlockLocation_args setOptions(RequestBlockLocationTOptions options)
public void unsetOptions()
public boolean isSetOptions()
public void setOptionsIsSet(boolean value)
public void setFieldValue(BlockWorkerClientService.requestBlockLocation_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<BlockWorkerClientService.requestBlockLocation_args,BlockWorkerClientService.requestBlockLocation_args._Fields>
public Object getFieldValue(BlockWorkerClientService.requestBlockLocation_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<BlockWorkerClientService.requestBlockLocation_args,BlockWorkerClientService.requestBlockLocation_args._Fields>
public boolean isSet(BlockWorkerClientService.requestBlockLocation_args._Fields field)
isSet
in interface org.apache.thrift.TBase<BlockWorkerClientService.requestBlockLocation_args,BlockWorkerClientService.requestBlockLocation_args._Fields>
public boolean equals(BlockWorkerClientService.requestBlockLocation_args that)
public int compareTo(BlockWorkerClientService.requestBlockLocation_args other)
compareTo
in interface Comparable<BlockWorkerClientService.requestBlockLocation_args>
public BlockWorkerClientService.requestBlockLocation_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<BlockWorkerClientService.requestBlockLocation_args,BlockWorkerClientService.requestBlockLocation_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<BlockWorkerClientService.requestBlockLocation_args,BlockWorkerClientService.requestBlockLocation_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<BlockWorkerClientService.requestBlockLocation_args,BlockWorkerClientService.requestBlockLocation_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.