public class LockComponent extends Object implements org.apache.thrift.TBase<LockComponent,LockComponent._Fields>, Serializable, Cloneable
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 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,
String dbname) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(LockComponent other) |
LockComponent |
deepCopy() |
boolean |
equals(LockComponent that) |
boolean |
equals(Object that) |
LockComponent._Fields |
fieldForId(int fieldId) |
String |
getDbname() |
Object |
getFieldValue(LockComponent._Fields field) |
LockLevel |
getLevel() |
String |
getPartitionname() |
String |
getTablename() |
LockType |
getType() |
int |
hashCode() |
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 |
isSetLevel()
Returns true if field level 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(String dbname) |
void |
setDbnameIsSet(boolean value) |
void |
setFieldValue(LockComponent._Fields field,
Object value) |
void |
setLevel(LockLevel level) |
void |
setLevelIsSet(boolean value) |
void |
setPartitionname(String partitionname) |
void |
setPartitionnameIsSet(boolean value) |
void |
setTablename(String tablename) |
void |
setTablenameIsSet(boolean value) |
void |
setType(LockType type) |
void |
setTypeIsSet(boolean value) |
String |
toString() |
void |
unsetDbname() |
void |
unsetLevel() |
void |
unsetPartitionname() |
void |
unsetTablename() |
void |
unsetType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final 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 String getDbname()
public void setDbname(String dbname)
public void unsetDbname()
public boolean isSetDbname()
public void setDbnameIsSet(boolean value)
public String getTablename()
public void setTablename(String tablename)
public void unsetTablename()
public boolean isSetTablename()
public void setTablenameIsSet(boolean value)
public String getPartitionname()
public void setPartitionname(String partitionname)
public void unsetPartitionname()
public boolean isSetPartitionname()
public void setPartitionnameIsSet(boolean value)
public void setFieldValue(LockComponent._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<LockComponent,LockComponent._Fields>
public 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(LockComponent that)
public int compareTo(LockComponent other)
compareTo
in interface 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.TException
public 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.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.