Class TSGroupByQueryIntervalReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSGroupByQueryIntervalReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSGroupByQueryIntervalReq>,org.apache.thrift.TBase<TSGroupByQueryIntervalReq,TSGroupByQueryIntervalReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSGroupByQueryIntervalReq extends Object implements org.apache.thrift.TBase<TSGroupByQueryIntervalReq,TSGroupByQueryIntervalReq._Fields>, Serializable, Cloneable, Comparable<TSGroupByQueryIntervalReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSGroupByQueryIntervalReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description TAggregationTypeaggregationTypeStringdatabaseintdataTypeStringdevicelongendTimeintfetchSizelongintervalStringmeasurementstatic Map<TSGroupByQueryIntervalReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongsessionIdlongstartTimelongstatementIdlongtimeout
-
Constructor Summary
Constructors Constructor Description TSGroupByQueryIntervalReq()TSGroupByQueryIntervalReq(long sessionId, long statementId, String device, String measurement, int dataType, TAggregationType aggregationType)TSGroupByQueryIntervalReq(TSGroupByQueryIntervalReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TSGroupByQueryIntervalReq other)TSGroupByQueryIntervalReqdeepCopy()booleanequals(Object that)booleanequals(TSGroupByQueryIntervalReq that)TSGroupByQueryIntervalReq._FieldsfieldForId(int fieldId)TAggregationTypegetAggregationType()StringgetDatabase()intgetDataType()StringgetDevice()longgetEndTime()intgetFetchSize()ObjectgetFieldValue(TSGroupByQueryIntervalReq._Fields field)longgetInterval()StringgetMeasurement()longgetSessionId()longgetStartTime()longgetStatementId()longgetTimeout()inthashCode()booleanisSet(TSGroupByQueryIntervalReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAggregationType()Returns true if field aggregationType is set (has been assigned a value) and false otherwisebooleanisSetDatabase()Returns true if field database is set (has been assigned a value) and false otherwisebooleanisSetDataType()Returns true if field dataType is set (has been assigned a value) and false otherwisebooleanisSetDevice()Returns true if field device is set (has been assigned a value) and false otherwisebooleanisSetEndTime()Returns true if field endTime is set (has been assigned a value) and false otherwisebooleanisSetFetchSize()Returns true if field fetchSize is set (has been assigned a value) and false otherwisebooleanisSetInterval()Returns true if field interval is set (has been assigned a value) and false otherwisebooleanisSetMeasurement()Returns true if field measurement is set (has been assigned a value) and false otherwisebooleanisSetSessionId()Returns true if field sessionId is set (has been assigned a value) and false otherwisebooleanisSetStartTime()Returns true if field startTime is set (has been assigned a value) and false otherwisebooleanisSetStatementId()Returns true if field statementId is set (has been assigned a value) and false otherwisebooleanisSetTimeout()Returns true if field timeout is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TSGroupByQueryIntervalReqsetAggregationType(TAggregationType aggregationType)voidsetAggregationTypeIsSet(boolean value)TSGroupByQueryIntervalReqsetDatabase(String database)voidsetDatabaseIsSet(boolean value)TSGroupByQueryIntervalReqsetDataType(int dataType)voidsetDataTypeIsSet(boolean value)TSGroupByQueryIntervalReqsetDevice(String device)voidsetDeviceIsSet(boolean value)TSGroupByQueryIntervalReqsetEndTime(long endTime)voidsetEndTimeIsSet(boolean value)TSGroupByQueryIntervalReqsetFetchSize(int fetchSize)voidsetFetchSizeIsSet(boolean value)voidsetFieldValue(TSGroupByQueryIntervalReq._Fields field, Object value)TSGroupByQueryIntervalReqsetInterval(long interval)voidsetIntervalIsSet(boolean value)TSGroupByQueryIntervalReqsetMeasurement(String measurement)voidsetMeasurementIsSet(boolean value)TSGroupByQueryIntervalReqsetSessionId(long sessionId)voidsetSessionIdIsSet(boolean value)TSGroupByQueryIntervalReqsetStartTime(long startTime)voidsetStartTimeIsSet(boolean value)TSGroupByQueryIntervalReqsetStatementId(long statementId)voidsetStatementIdIsSet(boolean value)TSGroupByQueryIntervalReqsetTimeout(long timeout)voidsetTimeoutIsSet(boolean value)StringtoString()voidunsetAggregationType()voidunsetDatabase()voidunsetDataType()voidunsetDevice()voidunsetEndTime()voidunsetFetchSize()voidunsetInterval()voidunsetMeasurement()voidunsetSessionId()voidunsetStartTime()voidunsetStatementId()voidunsetTimeout()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionId
public long sessionId
-
statementId
public long statementId
-
device
public String device
-
measurement
public String measurement
-
dataType
public int dataType
-
aggregationType
public TAggregationType aggregationType
- See Also:
TAggregationType
-
database
public String database
-
startTime
public long startTime
-
endTime
public long endTime
-
interval
public long interval
-
fetchSize
public int fetchSize
-
timeout
public long timeout
-
metaDataMap
public static final Map<TSGroupByQueryIntervalReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSGroupByQueryIntervalReq
public TSGroupByQueryIntervalReq()
-
TSGroupByQueryIntervalReq
public TSGroupByQueryIntervalReq(long sessionId, long statementId, String device, String measurement, int dataType, TAggregationType aggregationType)
-
TSGroupByQueryIntervalReq
public TSGroupByQueryIntervalReq(TSGroupByQueryIntervalReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSGroupByQueryIntervalReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSGroupByQueryIntervalReq,TSGroupByQueryIntervalReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSGroupByQueryIntervalReq,TSGroupByQueryIntervalReq._Fields>
-
getSessionId
public long getSessionId()
-
setSessionId
public TSGroupByQueryIntervalReq setSessionId(long sessionId)
-
unsetSessionId
public void unsetSessionId()
-
isSetSessionId
public boolean isSetSessionId()
Returns true if field sessionId is set (has been assigned a value) and false otherwise
-
setSessionIdIsSet
public void setSessionIdIsSet(boolean value)
-
getStatementId
public long getStatementId()
-
setStatementId
public TSGroupByQueryIntervalReq setStatementId(long statementId)
-
unsetStatementId
public void unsetStatementId()
-
isSetStatementId
public boolean isSetStatementId()
Returns true if field statementId is set (has been assigned a value) and false otherwise
-
setStatementIdIsSet
public void setStatementIdIsSet(boolean value)
-
getDevice
public String getDevice()
-
setDevice
public TSGroupByQueryIntervalReq setDevice(String device)
-
unsetDevice
public void unsetDevice()
-
isSetDevice
public boolean isSetDevice()
Returns true if field device is set (has been assigned a value) and false otherwise
-
setDeviceIsSet
public void setDeviceIsSet(boolean value)
-
getMeasurement
public String getMeasurement()
-
setMeasurement
public TSGroupByQueryIntervalReq setMeasurement(String measurement)
-
unsetMeasurement
public void unsetMeasurement()
-
isSetMeasurement
public boolean isSetMeasurement()
Returns true if field measurement is set (has been assigned a value) and false otherwise
-
setMeasurementIsSet
public void setMeasurementIsSet(boolean value)
-
getDataType
public int getDataType()
-
setDataType
public TSGroupByQueryIntervalReq setDataType(int dataType)
-
unsetDataType
public void unsetDataType()
-
isSetDataType
public boolean isSetDataType()
Returns true if field dataType is set (has been assigned a value) and false otherwise
-
setDataTypeIsSet
public void setDataTypeIsSet(boolean value)
-
getAggregationType
public TAggregationType getAggregationType()
- See Also:
TAggregationType
-
setAggregationType
public TSGroupByQueryIntervalReq setAggregationType(TAggregationType aggregationType)
- See Also:
TAggregationType
-
unsetAggregationType
public void unsetAggregationType()
-
isSetAggregationType
public boolean isSetAggregationType()
Returns true if field aggregationType is set (has been assigned a value) and false otherwise
-
setAggregationTypeIsSet
public void setAggregationTypeIsSet(boolean value)
-
getDatabase
public String getDatabase()
-
setDatabase
public TSGroupByQueryIntervalReq setDatabase(String database)
-
unsetDatabase
public void unsetDatabase()
-
isSetDatabase
public boolean isSetDatabase()
Returns true if field database is set (has been assigned a value) and false otherwise
-
setDatabaseIsSet
public void setDatabaseIsSet(boolean value)
-
getStartTime
public long getStartTime()
-
setStartTime
public TSGroupByQueryIntervalReq 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 TSGroupByQueryIntervalReq 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)
-
getInterval
public long getInterval()
-
setInterval
public TSGroupByQueryIntervalReq setInterval(long interval)
-
unsetInterval
public void unsetInterval()
-
isSetInterval
public boolean isSetInterval()
Returns true if field interval is set (has been assigned a value) and false otherwise
-
setIntervalIsSet
public void setIntervalIsSet(boolean value)
-
getFetchSize
public int getFetchSize()
-
setFetchSize
public TSGroupByQueryIntervalReq setFetchSize(int fetchSize)
-
unsetFetchSize
public void unsetFetchSize()
-
isSetFetchSize
public boolean isSetFetchSize()
Returns true if field fetchSize is set (has been assigned a value) and false otherwise
-
setFetchSizeIsSet
public void setFetchSizeIsSet(boolean value)
-
getTimeout
public long getTimeout()
-
setTimeout
public TSGroupByQueryIntervalReq 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)
-
setFieldValue
public void setFieldValue(TSGroupByQueryIntervalReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSGroupByQueryIntervalReq,TSGroupByQueryIntervalReq._Fields>
-
getFieldValue
public Object getFieldValue(TSGroupByQueryIntervalReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSGroupByQueryIntervalReq,TSGroupByQueryIntervalReq._Fields>
-
isSet
public boolean isSet(TSGroupByQueryIntervalReq._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<TSGroupByQueryIntervalReq,TSGroupByQueryIntervalReq._Fields>
-
equals
public boolean equals(TSGroupByQueryIntervalReq that)
-
compareTo
public int compareTo(TSGroupByQueryIntervalReq other)
- Specified by:
compareToin interfaceComparable<TSGroupByQueryIntervalReq>
-
fieldForId
public TSGroupByQueryIntervalReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSGroupByQueryIntervalReq,TSGroupByQueryIntervalReq._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
-
-