Class TCreateCQReq
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TCreateCQReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TCreateCQReq>,org.apache.thrift.TBase<TCreateCQReq,TCreateCQReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TCreateCQReq extends Object implements org.apache.thrift.TBase<TCreateCQReq,TCreateCQReq._Fields>, Serializable, Cloneable, Comparable<TCreateCQReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTCreateCQReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description longboundaryTimeStringcqIdlongendTimeOffsetlongeveryIntervalstatic Map<TCreateCQReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringqueryBodyStringsqllongstartTimeOffsetbytetimeoutPolicyStringusernameStringzoneId
-
Constructor Summary
Constructors Constructor Description TCreateCQReq()TCreateCQReq(String cqId, long everyInterval, long boundaryTime, long startTimeOffset, long endTimeOffset, byte timeoutPolicy, String queryBody, String sql, String zoneId, String username)TCreateCQReq(TCreateCQReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TCreateCQReq other)TCreateCQReqdeepCopy()booleanequals(Object that)booleanequals(TCreateCQReq that)TCreateCQReq._FieldsfieldForId(int fieldId)longgetBoundaryTime()StringgetCqId()longgetEndTimeOffset()longgetEveryInterval()ObjectgetFieldValue(TCreateCQReq._Fields field)StringgetQueryBody()StringgetSql()longgetStartTimeOffset()bytegetTimeoutPolicy()StringgetUsername()StringgetZoneId()inthashCode()booleanisSet(TCreateCQReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetBoundaryTime()Returns true if field boundaryTime is set (has been assigned a value) and false otherwisebooleanisSetCqId()Returns true if field cqId is set (has been assigned a value) and false otherwisebooleanisSetEndTimeOffset()Returns true if field endTimeOffset is set (has been assigned a value) and false otherwisebooleanisSetEveryInterval()Returns true if field everyInterval is set (has been assigned a value) and false otherwisebooleanisSetQueryBody()Returns true if field queryBody is set (has been assigned a value) and false otherwisebooleanisSetSql()Returns true if field sql is set (has been assigned a value) and false otherwisebooleanisSetStartTimeOffset()Returns true if field startTimeOffset is set (has been assigned a value) and false otherwisebooleanisSetTimeoutPolicy()Returns true if field timeoutPolicy 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)TCreateCQReqsetBoundaryTime(long boundaryTime)voidsetBoundaryTimeIsSet(boolean value)TCreateCQReqsetCqId(String cqId)voidsetCqIdIsSet(boolean value)TCreateCQReqsetEndTimeOffset(long endTimeOffset)voidsetEndTimeOffsetIsSet(boolean value)TCreateCQReqsetEveryInterval(long everyInterval)voidsetEveryIntervalIsSet(boolean value)voidsetFieldValue(TCreateCQReq._Fields field, Object value)TCreateCQReqsetQueryBody(String queryBody)voidsetQueryBodyIsSet(boolean value)TCreateCQReqsetSql(String sql)voidsetSqlIsSet(boolean value)TCreateCQReqsetStartTimeOffset(long startTimeOffset)voidsetStartTimeOffsetIsSet(boolean value)TCreateCQReqsetTimeoutPolicy(byte timeoutPolicy)voidsetTimeoutPolicyIsSet(boolean value)TCreateCQReqsetUsername(String username)voidsetUsernameIsSet(boolean value)TCreateCQReqsetZoneId(String zoneId)voidsetZoneIdIsSet(boolean value)StringtoString()voidunsetBoundaryTime()voidunsetCqId()voidunsetEndTimeOffset()voidunsetEveryInterval()voidunsetQueryBody()voidunsetSql()voidunsetStartTimeOffset()voidunsetTimeoutPolicy()voidunsetUsername()voidunsetZoneId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
cqId
public String cqId
-
everyInterval
public long everyInterval
-
boundaryTime
public long boundaryTime
-
startTimeOffset
public long startTimeOffset
-
endTimeOffset
public long endTimeOffset
-
timeoutPolicy
public byte timeoutPolicy
-
queryBody
public String queryBody
-
sql
public String sql
-
zoneId
public String zoneId
-
username
public String username
-
metaDataMap
public static final Map<TCreateCQReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TCreateCQReq
public TCreateCQReq()
-
TCreateCQReq
public TCreateCQReq(String cqId, long everyInterval, long boundaryTime, long startTimeOffset, long endTimeOffset, byte timeoutPolicy, String queryBody, String sql, String zoneId, String username)
-
TCreateCQReq
public TCreateCQReq(TCreateCQReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TCreateCQReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TCreateCQReq,TCreateCQReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TCreateCQReq,TCreateCQReq._Fields>
-
getCqId
public String getCqId()
-
setCqId
public TCreateCQReq 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)
-
getEveryInterval
public long getEveryInterval()
-
setEveryInterval
public TCreateCQReq setEveryInterval(long everyInterval)
-
unsetEveryInterval
public void unsetEveryInterval()
-
isSetEveryInterval
public boolean isSetEveryInterval()
Returns true if field everyInterval is set (has been assigned a value) and false otherwise
-
setEveryIntervalIsSet
public void setEveryIntervalIsSet(boolean value)
-
getBoundaryTime
public long getBoundaryTime()
-
setBoundaryTime
public TCreateCQReq setBoundaryTime(long boundaryTime)
-
unsetBoundaryTime
public void unsetBoundaryTime()
-
isSetBoundaryTime
public boolean isSetBoundaryTime()
Returns true if field boundaryTime is set (has been assigned a value) and false otherwise
-
setBoundaryTimeIsSet
public void setBoundaryTimeIsSet(boolean value)
-
getStartTimeOffset
public long getStartTimeOffset()
-
setStartTimeOffset
public TCreateCQReq setStartTimeOffset(long startTimeOffset)
-
unsetStartTimeOffset
public void unsetStartTimeOffset()
-
isSetStartTimeOffset
public boolean isSetStartTimeOffset()
Returns true if field startTimeOffset is set (has been assigned a value) and false otherwise
-
setStartTimeOffsetIsSet
public void setStartTimeOffsetIsSet(boolean value)
-
getEndTimeOffset
public long getEndTimeOffset()
-
setEndTimeOffset
public TCreateCQReq setEndTimeOffset(long endTimeOffset)
-
unsetEndTimeOffset
public void unsetEndTimeOffset()
-
isSetEndTimeOffset
public boolean isSetEndTimeOffset()
Returns true if field endTimeOffset is set (has been assigned a value) and false otherwise
-
setEndTimeOffsetIsSet
public void setEndTimeOffsetIsSet(boolean value)
-
getTimeoutPolicy
public byte getTimeoutPolicy()
-
setTimeoutPolicy
public TCreateCQReq setTimeoutPolicy(byte timeoutPolicy)
-
unsetTimeoutPolicy
public void unsetTimeoutPolicy()
-
isSetTimeoutPolicy
public boolean isSetTimeoutPolicy()
Returns true if field timeoutPolicy is set (has been assigned a value) and false otherwise
-
setTimeoutPolicyIsSet
public void setTimeoutPolicyIsSet(boolean value)
-
getQueryBody
public String getQueryBody()
-
setQueryBody
public TCreateCQReq 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)
-
getSql
public String getSql()
-
setSql
public TCreateCQReq setSql(String sql)
-
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)
-
getZoneId
public String getZoneId()
-
setZoneId
public TCreateCQReq 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)
-
getUsername
public String getUsername()
-
setUsername
public TCreateCQReq 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(TCreateCQReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TCreateCQReq,TCreateCQReq._Fields>
-
getFieldValue
public Object getFieldValue(TCreateCQReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TCreateCQReq,TCreateCQReq._Fields>
-
isSet
public boolean isSet(TCreateCQReq._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<TCreateCQReq,TCreateCQReq._Fields>
-
equals
public boolean equals(TCreateCQReq that)
-
compareTo
public int compareTo(TCreateCQReq other)
- Specified by:
compareToin interfaceComparable<TCreateCQReq>
-
fieldForId
public TCreateCQReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TCreateCQReq,TCreateCQReq._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
-
-