@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class LockComponent extends java.lang.Object implements org.apache.thrift.TBase<LockComponent,LockComponent._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<LockComponent>
| Modifier and Type | Class and Description |
|---|---|
static class |
LockComponent._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<LockComponent._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
LockComponent() |
LockComponent(LockComponent other)
Performs a deep copy on other.
|
LockComponent(LockType type,
LockLevel level,
java.lang.String dbname) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(LockComponent other) |
LockComponent |
deepCopy() |
boolean |
equals(LockComponent that) |
boolean |
equals(java.lang.Object that) |
LockComponent._Fields |
fieldForId(int fieldId) |
java.lang.String |
getDbname() |
java.lang.Object |
getFieldValue(LockComponent._Fields field) |
LockLevel |
getLevel() |
DataOperationType |
getOperationType() |
java.lang.String |
getPartitionname() |
java.lang.String |
getTablename() |
LockType |
getType() |
int |
hashCode() |
boolean |
isIsDynamicPartitionWrite() |
boolean |
isIsTransactional() |
boolean |
isSet(LockComponent._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDbname()
Returns true if field dbname is set (has been assigned a value) and false otherwise
|
boolean |
isSetIsDynamicPartitionWrite()
Returns true if field isDynamicPartitionWrite is set (has been assigned a value) and false otherwise
|
boolean |
isSetIsTransactional()
Returns true if field isTransactional is set (has been assigned a value) and false otherwise
|
boolean |
isSetLevel()
Returns true if field level is set (has been assigned a value) and false otherwise
|
boolean |
isSetOperationType()
Returns true if field operationType is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartitionname()
Returns true if field partitionname is set (has been assigned a value) and false otherwise
|
boolean |
isSetTablename()
Returns true if field tablename is set (has been assigned a value) and false otherwise
|
boolean |
isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setDbname(java.lang.String dbname) |
void |
setDbnameIsSet(boolean value) |
void |
setFieldValue(LockComponent._Fields field,
java.lang.Object value) |
void |
setIsDynamicPartitionWrite(boolean isDynamicPartitionWrite) |
void |
setIsDynamicPartitionWriteIsSet(boolean value) |
void |
setIsTransactional(boolean isTransactional) |
void |
setIsTransactionalIsSet(boolean value) |
void |
setLevel(LockLevel level) |
void |
setLevelIsSet(boolean value) |
void |
setOperationType(DataOperationType operationType) |
void |
setOperationTypeIsSet(boolean value) |
void |
setPartitionname(java.lang.String partitionname) |
void |
setPartitionnameIsSet(boolean value) |
void |
setTablename(java.lang.String tablename) |
void |
setTablenameIsSet(boolean value) |
void |
setType(LockType type) |
void |
setTypeIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetDbname() |
void |
unsetIsDynamicPartitionWrite() |
void |
unsetIsTransactional() |
void |
unsetLevel() |
void |
unsetOperationType() |
void |
unsetPartitionname() |
void |
unsetTablename() |
void |
unsetType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<LockComponent._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public LockComponent()
public LockComponent(LockComponent other)
public LockComponent deepCopy()
deepCopy in interface org.apache.thrift.TBase<LockComponent,LockComponent._Fields>public void clear()
clear in interface org.apache.thrift.TBase<LockComponent,LockComponent._Fields>public void unsetType()
public boolean isSetType()
public void setTypeIsSet(boolean value)
public void unsetLevel()
public boolean isSetLevel()
public void setLevelIsSet(boolean value)
public java.lang.String getDbname()
public void setDbname(java.lang.String dbname)
public void unsetDbname()
public boolean isSetDbname()
public void setDbnameIsSet(boolean value)
public java.lang.String getTablename()
public void setTablename(java.lang.String tablename)
public void unsetTablename()
public boolean isSetTablename()
public void setTablenameIsSet(boolean value)
public java.lang.String getPartitionname()
public void setPartitionname(java.lang.String partitionname)
public void unsetPartitionname()
public boolean isSetPartitionname()
public void setPartitionnameIsSet(boolean value)
public DataOperationType getOperationType()
DataOperationTypepublic void setOperationType(DataOperationType operationType)
DataOperationTypepublic void unsetOperationType()
public boolean isSetOperationType()
public void setOperationTypeIsSet(boolean value)
public boolean isIsTransactional()
public void setIsTransactional(boolean isTransactional)
public void unsetIsTransactional()
public boolean isSetIsTransactional()
public void setIsTransactionalIsSet(boolean value)
public boolean isIsDynamicPartitionWrite()
public void setIsDynamicPartitionWrite(boolean isDynamicPartitionWrite)
public void unsetIsDynamicPartitionWrite()
public boolean isSetIsDynamicPartitionWrite()
public void setIsDynamicPartitionWriteIsSet(boolean value)
public void setFieldValue(LockComponent._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<LockComponent,LockComponent._Fields>public java.lang.Object getFieldValue(LockComponent._Fields field)
getFieldValue in interface org.apache.thrift.TBase<LockComponent,LockComponent._Fields>public boolean isSet(LockComponent._Fields field)
isSet in interface org.apache.thrift.TBase<LockComponent,LockComponent._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(LockComponent that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(LockComponent other)
compareTo in interface java.lang.Comparable<LockComponent>public LockComponent._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<LockComponent,LockComponent._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<LockComponent,LockComponent._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<LockComponent,LockComponent._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2013-2021. All Rights Reserved.