@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class LockBlockTOptions extends Object implements org.apache.thrift.TBase<LockBlockTOptions,LockBlockTOptions._Fields>, Serializable, Cloneable, Comparable<LockBlockTOptions>
Modifier and Type | Class and Description |
---|---|
static class |
LockBlockTOptions._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<LockBlockTOptions._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
LockBlockTOptions() |
LockBlockTOptions(LockBlockTOptions other)
Performs a deep copy on other.
|
LockBlockTOptions(String ufsPath,
long offset,
long blockSize,
int maxUfsReadConcurrency,
long mountId) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(LockBlockTOptions other) |
LockBlockTOptions |
deepCopy() |
boolean |
equals(LockBlockTOptions that) |
boolean |
equals(Object that) |
LockBlockTOptions._Fields |
fieldForId(int fieldId) |
long |
getBlockSize() |
Object |
getFieldValue(LockBlockTOptions._Fields field) |
int |
getMaxUfsReadConcurrency() |
long |
getMountId() |
long |
getOffset() |
String |
getUfsPath() |
int |
hashCode() |
boolean |
isSet(LockBlockTOptions._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetBlockSize()
Returns true if field blockSize is set (has been assigned a value) and false otherwise
|
boolean |
isSetMaxUfsReadConcurrency()
Returns true if field maxUfsReadConcurrency is set (has been assigned a value) and false otherwise
|
boolean |
isSetMountId()
Returns true if field mountId is set (has been assigned a value) and false otherwise
|
boolean |
isSetOffset()
Returns true if field offset is set (has been assigned a value) and false otherwise
|
boolean |
isSetUfsPath()
Returns true if field ufsPath is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
LockBlockTOptions |
setBlockSize(long blockSize) |
void |
setBlockSizeIsSet(boolean value) |
void |
setFieldValue(LockBlockTOptions._Fields field,
Object value) |
LockBlockTOptions |
setMaxUfsReadConcurrency(int maxUfsReadConcurrency) |
void |
setMaxUfsReadConcurrencyIsSet(boolean value) |
LockBlockTOptions |
setMountId(long mountId) |
void |
setMountIdIsSet(boolean value) |
LockBlockTOptions |
setOffset(long offset) |
void |
setOffsetIsSet(boolean value) |
LockBlockTOptions |
setUfsPath(String ufsPath) |
void |
setUfsPathIsSet(boolean value) |
String |
toString() |
void |
unsetBlockSize() |
void |
unsetMaxUfsReadConcurrency() |
void |
unsetMountId() |
void |
unsetOffset() |
void |
unsetUfsPath() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<LockBlockTOptions._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public LockBlockTOptions()
public LockBlockTOptions(String ufsPath, long offset, long blockSize, int maxUfsReadConcurrency, long mountId)
public LockBlockTOptions(LockBlockTOptions other)
public LockBlockTOptions deepCopy()
deepCopy
in interface org.apache.thrift.TBase<LockBlockTOptions,LockBlockTOptions._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<LockBlockTOptions,LockBlockTOptions._Fields>
public String getUfsPath()
public LockBlockTOptions setUfsPath(String ufsPath)
public void unsetUfsPath()
public boolean isSetUfsPath()
public void setUfsPathIsSet(boolean value)
public long getOffset()
public LockBlockTOptions setOffset(long offset)
public void unsetOffset()
public boolean isSetOffset()
public void setOffsetIsSet(boolean value)
public long getBlockSize()
public LockBlockTOptions setBlockSize(long blockSize)
public void unsetBlockSize()
public boolean isSetBlockSize()
public void setBlockSizeIsSet(boolean value)
public int getMaxUfsReadConcurrency()
public LockBlockTOptions setMaxUfsReadConcurrency(int maxUfsReadConcurrency)
public void unsetMaxUfsReadConcurrency()
public boolean isSetMaxUfsReadConcurrency()
public void setMaxUfsReadConcurrencyIsSet(boolean value)
public long getMountId()
public LockBlockTOptions setMountId(long mountId)
public void unsetMountId()
public boolean isSetMountId()
public void setMountIdIsSet(boolean value)
public void setFieldValue(LockBlockTOptions._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<LockBlockTOptions,LockBlockTOptions._Fields>
public Object getFieldValue(LockBlockTOptions._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<LockBlockTOptions,LockBlockTOptions._Fields>
public boolean isSet(LockBlockTOptions._Fields field)
isSet
in interface org.apache.thrift.TBase<LockBlockTOptions,LockBlockTOptions._Fields>
public boolean equals(LockBlockTOptions that)
public int compareTo(LockBlockTOptions other)
compareTo
in interface Comparable<LockBlockTOptions>
public LockBlockTOptions._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<LockBlockTOptions,LockBlockTOptions._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<LockBlockTOptions,LockBlockTOptions._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<LockBlockTOptions,LockBlockTOptions._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.