@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class ShowLocksRequest extends Object implements org.apache.thrift.TBase<ShowLocksRequest,ShowLocksRequest._Fields>, Serializable, Cloneable, Comparable<ShowLocksRequest>
Modifier and Type | Class and Description |
---|---|
static class |
ShowLocksRequest._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<ShowLocksRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ShowLocksRequest() |
ShowLocksRequest(ShowLocksRequest other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(ShowLocksRequest other) |
ShowLocksRequest |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(ShowLocksRequest that) |
ShowLocksRequest._Fields |
fieldForId(int fieldId) |
String |
getDbname() |
Object |
getFieldValue(ShowLocksRequest._Fields field) |
String |
getPartname() |
String |
getTablename() |
int |
hashCode() |
boolean |
isIsExtended() |
boolean |
isSet(ShowLocksRequest._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 |
isSetIsExtended()
Returns true if field isExtended is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartname()
Returns true if field partname 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
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setDbname(String dbname) |
void |
setDbnameIsSet(boolean value) |
void |
setFieldValue(ShowLocksRequest._Fields field,
Object value) |
void |
setIsExtended(boolean isExtended) |
void |
setIsExtendedIsSet(boolean value) |
void |
setPartname(String partname) |
void |
setPartnameIsSet(boolean value) |
void |
setTablename(String tablename) |
void |
setTablenameIsSet(boolean value) |
String |
toString() |
void |
unsetDbname() |
void |
unsetIsExtended() |
void |
unsetPartname() |
void |
unsetTablename() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<ShowLocksRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ShowLocksRequest()
public ShowLocksRequest(ShowLocksRequest other)
public ShowLocksRequest deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ShowLocksRequest,ShowLocksRequest._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ShowLocksRequest,ShowLocksRequest._Fields>
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 getPartname()
public void setPartname(String partname)
public void unsetPartname()
public boolean isSetPartname()
public void setPartnameIsSet(boolean value)
public boolean isIsExtended()
public void setIsExtended(boolean isExtended)
public void unsetIsExtended()
public boolean isSetIsExtended()
public void setIsExtendedIsSet(boolean value)
public void setFieldValue(ShowLocksRequest._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ShowLocksRequest,ShowLocksRequest._Fields>
public Object getFieldValue(ShowLocksRequest._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ShowLocksRequest,ShowLocksRequest._Fields>
public boolean isSet(ShowLocksRequest._Fields field)
isSet
in interface org.apache.thrift.TBase<ShowLocksRequest,ShowLocksRequest._Fields>
public boolean equals(ShowLocksRequest that)
public int compareTo(ShowLocksRequest other)
compareTo
in interface Comparable<ShowLocksRequest>
public ShowLocksRequest._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ShowLocksRequest,ShowLocksRequest._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ShowLocksRequest,ShowLocksRequest._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<ShowLocksRequest,ShowLocksRequest._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2016 The Apache Software Foundation. All rights reserved.