Class TSAggregationQueryReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSAggregationQueryReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSAggregationQueryReq>,org.apache.thrift.TBase<TSAggregationQueryReq,TSAggregationQueryReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSAggregationQueryReq extends Object implements org.apache.thrift.TBase<TSAggregationQueryReq,TSAggregationQueryReq._Fields>, Serializable, Cloneable, Comparable<TSAggregationQueryReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSAggregationQueryReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description List<TAggregationType>aggregationslongendTimeintfetchSizelongintervalbooleanlegalPathNodesstatic Map<TSAggregationQueryReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapList<String>pathslongsessionIdlongslidingSteplongstartTimelongstatementIdlongtimeout
-
Constructor Summary
Constructors Constructor Description TSAggregationQueryReq()TSAggregationQueryReq(long sessionId, long statementId, List<String> paths, List<TAggregationType> aggregations)TSAggregationQueryReq(TSAggregationQueryReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToAggregations(TAggregationType elem)voidaddToPaths(String elem)voidclear()intcompareTo(TSAggregationQueryReq other)TSAggregationQueryReqdeepCopy()booleanequals(Object that)booleanequals(TSAggregationQueryReq that)TSAggregationQueryReq._FieldsfieldForId(int fieldId)List<TAggregationType>getAggregations()Iterator<TAggregationType>getAggregationsIterator()intgetAggregationsSize()longgetEndTime()intgetFetchSize()ObjectgetFieldValue(TSAggregationQueryReq._Fields field)longgetInterval()List<String>getPaths()Iterator<String>getPathsIterator()intgetPathsSize()longgetSessionId()longgetSlidingStep()longgetStartTime()longgetStatementId()longgetTimeout()inthashCode()booleanisLegalPathNodes()booleanisSet(TSAggregationQueryReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAggregations()Returns true if field aggregations 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 otherwisebooleanisSetLegalPathNodes()Returns true if field legalPathNodes is set (has been assigned a value) and false otherwisebooleanisSetPaths()Returns true if field paths is set (has been assigned a value) and false otherwisebooleanisSetSessionId()Returns true if field sessionId is set (has been assigned a value) and false otherwisebooleanisSetSlidingStep()Returns true if field slidingStep 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)TSAggregationQueryReqsetAggregations(List<TAggregationType> aggregations)voidsetAggregationsIsSet(boolean value)TSAggregationQueryReqsetEndTime(long endTime)voidsetEndTimeIsSet(boolean value)TSAggregationQueryReqsetFetchSize(int fetchSize)voidsetFetchSizeIsSet(boolean value)voidsetFieldValue(TSAggregationQueryReq._Fields field, Object value)TSAggregationQueryReqsetInterval(long interval)voidsetIntervalIsSet(boolean value)TSAggregationQueryReqsetLegalPathNodes(boolean legalPathNodes)voidsetLegalPathNodesIsSet(boolean value)TSAggregationQueryReqsetPaths(List<String> paths)voidsetPathsIsSet(boolean value)TSAggregationQueryReqsetSessionId(long sessionId)voidsetSessionIdIsSet(boolean value)TSAggregationQueryReqsetSlidingStep(long slidingStep)voidsetSlidingStepIsSet(boolean value)TSAggregationQueryReqsetStartTime(long startTime)voidsetStartTimeIsSet(boolean value)TSAggregationQueryReqsetStatementId(long statementId)voidsetStatementIdIsSet(boolean value)TSAggregationQueryReqsetTimeout(long timeout)voidsetTimeoutIsSet(boolean value)StringtoString()voidunsetAggregations()voidunsetEndTime()voidunsetFetchSize()voidunsetInterval()voidunsetLegalPathNodes()voidunsetPaths()voidunsetSessionId()voidunsetSlidingStep()voidunsetStartTime()voidunsetStatementId()voidunsetTimeout()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionId
public long sessionId
-
statementId
public long statementId
-
aggregations
public List<TAggregationType> aggregations
-
startTime
public long startTime
-
endTime
public long endTime
-
interval
public long interval
-
slidingStep
public long slidingStep
-
fetchSize
public int fetchSize
-
timeout
public long timeout
-
legalPathNodes
public boolean legalPathNodes
-
metaDataMap
public static final Map<TSAggregationQueryReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSAggregationQueryReq
public TSAggregationQueryReq()
-
TSAggregationQueryReq
public TSAggregationQueryReq(long sessionId, long statementId, List<String> paths, List<TAggregationType> aggregations)
-
TSAggregationQueryReq
public TSAggregationQueryReq(TSAggregationQueryReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSAggregationQueryReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSAggregationQueryReq,TSAggregationQueryReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSAggregationQueryReq,TSAggregationQueryReq._Fields>
-
getSessionId
public long getSessionId()
-
setSessionId
public TSAggregationQueryReq 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 TSAggregationQueryReq 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)
-
getPathsSize
public int getPathsSize()
-
addToPaths
public void addToPaths(String elem)
-
setPaths
public TSAggregationQueryReq setPaths(List<String> paths)
-
unsetPaths
public void unsetPaths()
-
isSetPaths
public boolean isSetPaths()
Returns true if field paths is set (has been assigned a value) and false otherwise
-
setPathsIsSet
public void setPathsIsSet(boolean value)
-
getAggregationsSize
public int getAggregationsSize()
-
getAggregationsIterator
public Iterator<TAggregationType> getAggregationsIterator()
-
addToAggregations
public void addToAggregations(TAggregationType elem)
-
getAggregations
public List<TAggregationType> getAggregations()
-
setAggregations
public TSAggregationQueryReq setAggregations(List<TAggregationType> aggregations)
-
unsetAggregations
public void unsetAggregations()
-
isSetAggregations
public boolean isSetAggregations()
Returns true if field aggregations is set (has been assigned a value) and false otherwise
-
setAggregationsIsSet
public void setAggregationsIsSet(boolean value)
-
getStartTime
public long getStartTime()
-
setStartTime
public TSAggregationQueryReq 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 TSAggregationQueryReq 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 TSAggregationQueryReq 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)
-
getSlidingStep
public long getSlidingStep()
-
setSlidingStep
public TSAggregationQueryReq setSlidingStep(long slidingStep)
-
unsetSlidingStep
public void unsetSlidingStep()
-
isSetSlidingStep
public boolean isSetSlidingStep()
Returns true if field slidingStep is set (has been assigned a value) and false otherwise
-
setSlidingStepIsSet
public void setSlidingStepIsSet(boolean value)
-
getFetchSize
public int getFetchSize()
-
setFetchSize
public TSAggregationQueryReq 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 TSAggregationQueryReq 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)
-
isLegalPathNodes
public boolean isLegalPathNodes()
-
setLegalPathNodes
public TSAggregationQueryReq setLegalPathNodes(boolean legalPathNodes)
-
unsetLegalPathNodes
public void unsetLegalPathNodes()
-
isSetLegalPathNodes
public boolean isSetLegalPathNodes()
Returns true if field legalPathNodes is set (has been assigned a value) and false otherwise
-
setLegalPathNodesIsSet
public void setLegalPathNodesIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSAggregationQueryReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSAggregationQueryReq,TSAggregationQueryReq._Fields>
-
getFieldValue
public Object getFieldValue(TSAggregationQueryReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSAggregationQueryReq,TSAggregationQueryReq._Fields>
-
isSet
public boolean isSet(TSAggregationQueryReq._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<TSAggregationQueryReq,TSAggregationQueryReq._Fields>
-
equals
public boolean equals(TSAggregationQueryReq that)
-
compareTo
public int compareTo(TSAggregationQueryReq other)
- Specified by:
compareToin interfaceComparable<TSAggregationQueryReq>
-
fieldForId
public TSAggregationQueryReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSAggregationQueryReq,TSAggregationQueryReq._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
-
-