Class TCQEntry
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TCQEntry
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TCQEntry>,org.apache.thrift.TBase<TCQEntry,TCQEntry._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TCQEntry extends Object implements org.apache.thrift.TBase<TCQEntry,TCQEntry._Fields>, Serializable, Cloneable, Comparable<TCQEntry>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTCQEntry._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description StringcqIdstatic Map<TCQEntry._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringsqlbytestate
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TCQEntry other)TCQEntrydeepCopy()booleanequals(Object that)booleanequals(TCQEntry that)TCQEntry._FieldsfieldForId(int fieldId)StringgetCqId()ObjectgetFieldValue(TCQEntry._Fields field)StringgetSql()bytegetState()inthashCode()booleanisSet(TCQEntry._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCqId()Returns true if field cqId is set (has been assigned a value) and false otherwisebooleanisSetSql()Returns true if field sql is set (has been assigned a value) and false otherwisebooleanisSetState()Returns true if field state is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TCQEntrysetCqId(String cqId)voidsetCqIdIsSet(boolean value)voidsetFieldValue(TCQEntry._Fields field, Object value)TCQEntrysetSql(String sql)voidsetSqlIsSet(boolean value)TCQEntrysetState(byte state)voidsetStateIsSet(boolean value)StringtoString()voidunsetCqId()voidunsetSql()voidunsetState()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
cqId
public String cqId
-
sql
public String sql
-
state
public byte state
-
metaDataMap
public static final Map<TCQEntry._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Method Detail
-
deepCopy
public TCQEntry deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TCQEntry,TCQEntry._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TCQEntry,TCQEntry._Fields>
-
getCqId
public String getCqId()
-
unsetCqId
public void unsetCqId()
-
isSetCqId
public boolean isSetCqId()
Returns true if field cqId is set (has been assigned a value) and false otherwise
-
setCqIdIsSet
public void setCqIdIsSet(boolean value)
-
getSql
public String getSql()
-
unsetSql
public void unsetSql()
-
isSetSql
public boolean isSetSql()
Returns true if field sql is set (has been assigned a value) and false otherwise
-
setSqlIsSet
public void setSqlIsSet(boolean value)
-
getState
public byte getState()
-
setState
public TCQEntry setState(byte state)
-
unsetState
public void unsetState()
-
isSetState
public boolean isSetState()
Returns true if field state is set (has been assigned a value) and false otherwise
-
setStateIsSet
public void setStateIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TCQEntry._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TCQEntry,TCQEntry._Fields>
-
getFieldValue
public Object getFieldValue(TCQEntry._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TCQEntry,TCQEntry._Fields>
-
isSet
public boolean isSet(TCQEntry._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TCQEntry,TCQEntry._Fields>
-
equals
public boolean equals(TCQEntry that)
-
compareTo
public int compareTo(TCQEntry other)
- Specified by:
compareToin interfaceComparable<TCQEntry>
-
fieldForId
public TCQEntry._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TCQEntry,TCQEntry._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-