@Generated(value="Autogenerated by Thrift Compiler (0.9.2)", date="2015-10-16") public class CreateTOptions extends Object implements org.apache.thrift.TBase<CreateTOptions,CreateTOptions._Fields>, Serializable, Cloneable, Comparable<CreateTOptions>
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateTOptions._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
long |
blockSizeBytes |
static Map<CreateTOptions._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
boolean |
persisted |
boolean |
recursive |
long |
ttl |
| Constructor and Description |
|---|
CreateTOptions() |
CreateTOptions(CreateTOptions other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(CreateTOptions other) |
CreateTOptions |
deepCopy() |
boolean |
equals(CreateTOptions that) |
boolean |
equals(Object that) |
CreateTOptions._Fields |
fieldForId(int fieldId) |
long |
getBlockSizeBytes() |
Object |
getFieldValue(CreateTOptions._Fields field) |
long |
getTtl() |
int |
hashCode() |
boolean |
isPersisted() |
boolean |
isRecursive() |
boolean |
isSet(CreateTOptions._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 |
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
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
CreateTOptions |
setBlockSizeBytes(long blockSizeBytes) |
void |
setBlockSizeBytesIsSet(boolean value) |
void |
setFieldValue(CreateTOptions._Fields field,
Object value) |
CreateTOptions |
setPersisted(boolean persisted) |
void |
setPersistedIsSet(boolean value) |
CreateTOptions |
setRecursive(boolean recursive) |
void |
setRecursiveIsSet(boolean value) |
CreateTOptions |
setTtl(long ttl) |
void |
setTtlIsSet(boolean value) |
String |
toString() |
void |
unsetBlockSizeBytes() |
void |
unsetPersisted() |
void |
unsetRecursive() |
void |
unsetTtl() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long blockSizeBytes
public boolean persisted
public boolean recursive
public long ttl
public static final Map<CreateTOptions._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public CreateTOptions()
public CreateTOptions(CreateTOptions other)
public CreateTOptions deepCopy()
deepCopy in interface org.apache.thrift.TBase<CreateTOptions,CreateTOptions._Fields>public void clear()
clear in interface org.apache.thrift.TBase<CreateTOptions,CreateTOptions._Fields>public long getBlockSizeBytes()
public CreateTOptions setBlockSizeBytes(long blockSizeBytes)
public void unsetBlockSizeBytes()
public boolean isSetBlockSizeBytes()
public void setBlockSizeBytesIsSet(boolean value)
public boolean isPersisted()
public CreateTOptions setPersisted(boolean persisted)
public void unsetPersisted()
public boolean isSetPersisted()
public void setPersistedIsSet(boolean value)
public boolean isRecursive()
public CreateTOptions setRecursive(boolean recursive)
public void unsetRecursive()
public boolean isSetRecursive()
public void setRecursiveIsSet(boolean value)
public long getTtl()
public CreateTOptions setTtl(long ttl)
public void unsetTtl()
public boolean isSetTtl()
public void setTtlIsSet(boolean value)
public void setFieldValue(CreateTOptions._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<CreateTOptions,CreateTOptions._Fields>public Object getFieldValue(CreateTOptions._Fields field)
getFieldValue in interface org.apache.thrift.TBase<CreateTOptions,CreateTOptions._Fields>public boolean isSet(CreateTOptions._Fields field)
isSet in interface org.apache.thrift.TBase<CreateTOptions,CreateTOptions._Fields>public boolean equals(CreateTOptions that)
public int compareTo(CreateTOptions other)
compareTo in interface Comparable<CreateTOptions>public CreateTOptions._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<CreateTOptions,CreateTOptions._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<CreateTOptions,CreateTOptions._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<CreateTOptions,CreateTOptions._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2015. All Rights Reserved.