@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class CreateFileTOptions extends Object implements org.apache.thrift.TBase<CreateFileTOptions,CreateFileTOptions._Fields>, Serializable, Cloneable, Comparable<CreateFileTOptions>
Modifier and Type | Class and Description |
---|---|
static class |
CreateFileTOptions._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<CreateFileTOptions._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
CreateFileTOptions() |
CreateFileTOptions(CreateFileTOptions other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(CreateFileTOptions other) |
CreateFileTOptions |
deepCopy() |
boolean |
equals(CreateFileTOptions that) |
boolean |
equals(Object that) |
CreateFileTOptions._Fields |
fieldForId(int fieldId) |
long |
getBlockSizeBytes() |
FileSystemMasterCommonTOptions |
getCommonOptions() |
Object |
getFieldValue(CreateFileTOptions._Fields field) |
short |
getMode() |
long |
getTtl() |
TTtlAction |
getTtlAction() |
int |
hashCode() |
boolean |
isPersisted() |
boolean |
isRecursive() |
boolean |
isSet(CreateFileTOptions._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetBlockSizeBytes()
Returns true if field blockSizeBytes is set (has been assigned a value) and false otherwise
|
boolean |
isSetCommonOptions()
Returns true if field commonOptions is set (has been assigned a value) and false otherwise
|
boolean |
isSetMode()
Returns true if field mode is set (has been assigned a value) and false otherwise
|
boolean |
isSetPersisted()
Returns true if field persisted is set (has been assigned a value) and false otherwise
|
boolean |
isSetRecursive()
Returns true if field recursive is set (has been assigned a value) and false otherwise
|
boolean |
isSetTtl()
Returns true if field ttl is set (has been assigned a value) and false otherwise
|
boolean |
isSetTtlAction()
Returns true if field ttlAction is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
CreateFileTOptions |
setBlockSizeBytes(long blockSizeBytes) |
void |
setBlockSizeBytesIsSet(boolean value) |
CreateFileTOptions |
setCommonOptions(FileSystemMasterCommonTOptions commonOptions) |
void |
setCommonOptionsIsSet(boolean value) |
void |
setFieldValue(CreateFileTOptions._Fields field,
Object value) |
CreateFileTOptions |
setMode(short mode) |
void |
setModeIsSet(boolean value) |
CreateFileTOptions |
setPersisted(boolean persisted) |
void |
setPersistedIsSet(boolean value) |
CreateFileTOptions |
setRecursive(boolean recursive) |
void |
setRecursiveIsSet(boolean value) |
CreateFileTOptions |
setTtl(long ttl) |
CreateFileTOptions |
setTtlAction(TTtlAction ttlAction) |
void |
setTtlActionIsSet(boolean value) |
void |
setTtlIsSet(boolean value) |
String |
toString() |
void |
unsetBlockSizeBytes() |
void |
unsetCommonOptions() |
void |
unsetMode() |
void |
unsetPersisted() |
void |
unsetRecursive() |
void |
unsetTtl() |
void |
unsetTtlAction() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<CreateFileTOptions._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public CreateFileTOptions()
public CreateFileTOptions(CreateFileTOptions other)
public CreateFileTOptions deepCopy()
deepCopy
in interface org.apache.thrift.TBase<CreateFileTOptions,CreateFileTOptions._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<CreateFileTOptions,CreateFileTOptions._Fields>
public long getBlockSizeBytes()
public CreateFileTOptions setBlockSizeBytes(long blockSizeBytes)
public void unsetBlockSizeBytes()
public boolean isSetBlockSizeBytes()
public void setBlockSizeBytesIsSet(boolean value)
public boolean isPersisted()
public CreateFileTOptions setPersisted(boolean persisted)
public void unsetPersisted()
public boolean isSetPersisted()
public void setPersistedIsSet(boolean value)
public boolean isRecursive()
public CreateFileTOptions setRecursive(boolean recursive)
public void unsetRecursive()
public boolean isSetRecursive()
public void setRecursiveIsSet(boolean value)
public long getTtl()
public CreateFileTOptions setTtl(long ttl)
public void unsetTtl()
public boolean isSetTtl()
public void setTtlIsSet(boolean value)
public short getMode()
public CreateFileTOptions setMode(short mode)
public void unsetMode()
public boolean isSetMode()
public void setModeIsSet(boolean value)
public TTtlAction getTtlAction()
TTtlAction
public CreateFileTOptions setTtlAction(TTtlAction ttlAction)
TTtlAction
public void unsetTtlAction()
public boolean isSetTtlAction()
public void setTtlActionIsSet(boolean value)
public FileSystemMasterCommonTOptions getCommonOptions()
public CreateFileTOptions setCommonOptions(FileSystemMasterCommonTOptions commonOptions)
public void unsetCommonOptions()
public boolean isSetCommonOptions()
public void setCommonOptionsIsSet(boolean value)
public void setFieldValue(CreateFileTOptions._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<CreateFileTOptions,CreateFileTOptions._Fields>
public Object getFieldValue(CreateFileTOptions._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<CreateFileTOptions,CreateFileTOptions._Fields>
public boolean isSet(CreateFileTOptions._Fields field)
isSet
in interface org.apache.thrift.TBase<CreateFileTOptions,CreateFileTOptions._Fields>
public boolean equals(CreateFileTOptions that)
public int compareTo(CreateFileTOptions other)
compareTo
in interface Comparable<CreateFileTOptions>
public CreateFileTOptions._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<CreateFileTOptions,CreateFileTOptions._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<CreateFileTOptions,CreateFileTOptions._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<CreateFileTOptions,CreateFileTOptions._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.