Package org.apache.iotdb.mpp.rpc.thrift
Class TExecuteCQ
- java.lang.Object
-
- org.apache.iotdb.mpp.rpc.thrift.TExecuteCQ
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TExecuteCQ>,org.apache.thrift.TBase<TExecuteCQ,TExecuteCQ._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TExecuteCQ extends Object implements org.apache.thrift.TBase<TExecuteCQ,TExecuteCQ._Fields>, Serializable, Cloneable, Comparable<TExecuteCQ>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTExecuteCQ._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Constructor Summary
Constructors Constructor Description TExecuteCQ()TExecuteCQ(String queryBody, long startTime, long endTime, long timeout, String zoneId, String cqId, String username)TExecuteCQ(TExecuteCQ other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TExecuteCQ other)TExecuteCQdeepCopy()booleanequals(Object that)booleanequals(TExecuteCQ that)TExecuteCQ._FieldsfieldForId(int fieldId)StringgetCqId()longgetEndTime()ObjectgetFieldValue(TExecuteCQ._Fields field)StringgetQueryBody()longgetStartTime()longgetTimeout()StringgetUsername()StringgetZoneId()inthashCode()booleanisSet(TExecuteCQ._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 otherwisebooleanisSetEndTime()Returns true if field endTime is set (has been assigned a value) and false otherwisebooleanisSetQueryBody()Returns true if field queryBody is set (has been assigned a value) and false otherwisebooleanisSetStartTime()Returns true if field startTime is set (has been assigned a value) and false otherwisebooleanisSetTimeout()Returns true if field timeout is set (has been assigned a value) and false otherwisebooleanisSetUsername()Returns true if field username is set (has been assigned a value) and false otherwisebooleanisSetZoneId()Returns true if field zoneId is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TExecuteCQsetCqId(String cqId)voidsetCqIdIsSet(boolean value)TExecuteCQsetEndTime(long endTime)voidsetEndTimeIsSet(boolean value)voidsetFieldValue(TExecuteCQ._Fields field, Object value)TExecuteCQsetQueryBody(String queryBody)voidsetQueryBodyIsSet(boolean value)TExecuteCQsetStartTime(long startTime)voidsetStartTimeIsSet(boolean value)TExecuteCQsetTimeout(long timeout)voidsetTimeoutIsSet(boolean value)TExecuteCQsetUsername(String username)voidsetUsernameIsSet(boolean value)TExecuteCQsetZoneId(String zoneId)voidsetZoneIdIsSet(boolean value)StringtoString()voidunsetCqId()voidunsetEndTime()voidunsetQueryBody()voidunsetStartTime()voidunsetTimeout()voidunsetUsername()voidunsetZoneId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
queryBody
public String queryBody
-
startTime
public long startTime
-
endTime
public long endTime
-
timeout
public long timeout
-
zoneId
public String zoneId
-
cqId
public String cqId
-
username
public String username
-
metaDataMap
public static final Map<TExecuteCQ._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TExecuteCQ
public TExecuteCQ()
-
TExecuteCQ
public TExecuteCQ(String queryBody, long startTime, long endTime, long timeout, String zoneId, String cqId, String username)
-
TExecuteCQ
public TExecuteCQ(TExecuteCQ other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TExecuteCQ deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TExecuteCQ,TExecuteCQ._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TExecuteCQ,TExecuteCQ._Fields>
-
getQueryBody
public String getQueryBody()
-
setQueryBody
public TExecuteCQ setQueryBody(String queryBody)
-
unsetQueryBody
public void unsetQueryBody()
-
isSetQueryBody
public boolean isSetQueryBody()
Returns true if field queryBody is set (has been assigned a value) and false otherwise
-
setQueryBodyIsSet
public void setQueryBodyIsSet(boolean value)
-
getStartTime
public long getStartTime()
-
setStartTime
public TExecuteCQ setStartTime(long startTime)
-
unsetStartTime
public void unsetStartTime()
-
isSetStartTime
public boolean isSetStartTime()
Returns true if field startTime is set (has been assigned a value) and false otherwise
-
setStartTimeIsSet
public void setStartTimeIsSet(boolean value)
-
getEndTime
public long getEndTime()
-
setEndTime
public TExecuteCQ setEndTime(long endTime)
-
unsetEndTime
public void unsetEndTime()
-
isSetEndTime
public boolean isSetEndTime()
Returns true if field endTime is set (has been assigned a value) and false otherwise
-
setEndTimeIsSet
public void setEndTimeIsSet(boolean value)
-
getTimeout
public long getTimeout()
-
setTimeout
public TExecuteCQ setTimeout(long timeout)
-
unsetTimeout
public void unsetTimeout()
-
isSetTimeout
public boolean isSetTimeout()
Returns true if field timeout is set (has been assigned a value) and false otherwise
-
setTimeoutIsSet
public void setTimeoutIsSet(boolean value)
-
getZoneId
public String getZoneId()
-
setZoneId
public TExecuteCQ setZoneId(String zoneId)
-
unsetZoneId
public void unsetZoneId()
-
isSetZoneId
public boolean isSetZoneId()
Returns true if field zoneId is set (has been assigned a value) and false otherwise
-
setZoneIdIsSet
public void setZoneIdIsSet(boolean value)
-
getCqId
public String getCqId()
-
setCqId
public TExecuteCQ setCqId(String cqId)
-
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)
-
getUsername
public String getUsername()
-
setUsername
public TExecuteCQ setUsername(String username)
-
unsetUsername
public void unsetUsername()
-
isSetUsername
public boolean isSetUsername()
Returns true if field username is set (has been assigned a value) and false otherwise
-
setUsernameIsSet
public void setUsernameIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TExecuteCQ._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TExecuteCQ,TExecuteCQ._Fields>
-
getFieldValue
public Object getFieldValue(TExecuteCQ._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TExecuteCQ,TExecuteCQ._Fields>
-
isSet
public boolean isSet(TExecuteCQ._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<TExecuteCQ,TExecuteCQ._Fields>
-
equals
public boolean equals(TExecuteCQ that)
-
compareTo
public int compareTo(TExecuteCQ other)
- Specified by:
compareToin interfaceComparable<TExecuteCQ>
-
fieldForId
public TExecuteCQ._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TExecuteCQ,TExecuteCQ._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
-
-