Class TSRawDataQueryReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSRawDataQueryReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSRawDataQueryReq>,org.apache.thrift.TBase<TSRawDataQueryReq,TSRawDataQueryReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSRawDataQueryReq extends Object implements org.apache.thrift.TBase<TSRawDataQueryReq,TSRawDataQueryReq._Fields>, Serializable, Cloneable, Comparable<TSRawDataQueryReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSRawDataQueryReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description booleanenableRedirectQuerylongendTimeintfetchSizebooleanjdbcQuerybooleanlegalPathNodesstatic Map<TSRawDataQueryReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapList<String>pathslongsessionIdlongstartTimelongstatementIdlongtimeout
-
Constructor Summary
Constructors Constructor Description TSRawDataQueryReq()TSRawDataQueryReq(long sessionId, List<String> paths, long startTime, long endTime, long statementId)TSRawDataQueryReq(TSRawDataQueryReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToPaths(String elem)voidclear()intcompareTo(TSRawDataQueryReq other)TSRawDataQueryReqdeepCopy()booleanequals(Object that)booleanequals(TSRawDataQueryReq that)TSRawDataQueryReq._FieldsfieldForId(int fieldId)longgetEndTime()intgetFetchSize()ObjectgetFieldValue(TSRawDataQueryReq._Fields field)List<String>getPaths()Iterator<String>getPathsIterator()intgetPathsSize()longgetSessionId()longgetStartTime()longgetStatementId()longgetTimeout()inthashCode()booleanisEnableRedirectQuery()booleanisJdbcQuery()booleanisLegalPathNodes()booleanisSet(TSRawDataQueryReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetEnableRedirectQuery()Returns true if field enableRedirectQuery 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 otherwisebooleanisSetJdbcQuery()Returns true if field jdbcQuery 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 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)TSRawDataQueryReqsetEnableRedirectQuery(boolean enableRedirectQuery)voidsetEnableRedirectQueryIsSet(boolean value)TSRawDataQueryReqsetEndTime(long endTime)voidsetEndTimeIsSet(boolean value)TSRawDataQueryReqsetFetchSize(int fetchSize)voidsetFetchSizeIsSet(boolean value)voidsetFieldValue(TSRawDataQueryReq._Fields field, Object value)TSRawDataQueryReqsetJdbcQuery(boolean jdbcQuery)voidsetJdbcQueryIsSet(boolean value)TSRawDataQueryReqsetLegalPathNodes(boolean legalPathNodes)voidsetLegalPathNodesIsSet(boolean value)TSRawDataQueryReqsetPaths(List<String> paths)voidsetPathsIsSet(boolean value)TSRawDataQueryReqsetSessionId(long sessionId)voidsetSessionIdIsSet(boolean value)TSRawDataQueryReqsetStartTime(long startTime)voidsetStartTimeIsSet(boolean value)TSRawDataQueryReqsetStatementId(long statementId)voidsetStatementIdIsSet(boolean value)TSRawDataQueryReqsetTimeout(long timeout)voidsetTimeoutIsSet(boolean value)StringtoString()voidunsetEnableRedirectQuery()voidunsetEndTime()voidunsetFetchSize()voidunsetJdbcQuery()voidunsetLegalPathNodes()voidunsetPaths()voidunsetSessionId()voidunsetStartTime()voidunsetStatementId()voidunsetTimeout()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionId
public long sessionId
-
fetchSize
public int fetchSize
-
startTime
public long startTime
-
endTime
public long endTime
-
statementId
public long statementId
-
enableRedirectQuery
public boolean enableRedirectQuery
-
jdbcQuery
public boolean jdbcQuery
-
timeout
public long timeout
-
legalPathNodes
public boolean legalPathNodes
-
metaDataMap
public static final Map<TSRawDataQueryReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSRawDataQueryReq
public TSRawDataQueryReq()
-
TSRawDataQueryReq
public TSRawDataQueryReq(long sessionId, List<String> paths, long startTime, long endTime, long statementId)
-
TSRawDataQueryReq
public TSRawDataQueryReq(TSRawDataQueryReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSRawDataQueryReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSRawDataQueryReq,TSRawDataQueryReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSRawDataQueryReq,TSRawDataQueryReq._Fields>
-
getSessionId
public long getSessionId()
-
setSessionId
public TSRawDataQueryReq 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)
-
getPathsSize
public int getPathsSize()
-
addToPaths
public void addToPaths(String elem)
-
setPaths
public TSRawDataQueryReq 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)
-
getFetchSize
public int getFetchSize()
-
setFetchSize
public TSRawDataQueryReq 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)
-
getStartTime
public long getStartTime()
-
setStartTime
public TSRawDataQueryReq 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 TSRawDataQueryReq 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)
-
getStatementId
public long getStatementId()
-
setStatementId
public TSRawDataQueryReq 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)
-
isEnableRedirectQuery
public boolean isEnableRedirectQuery()
-
setEnableRedirectQuery
public TSRawDataQueryReq setEnableRedirectQuery(boolean enableRedirectQuery)
-
unsetEnableRedirectQuery
public void unsetEnableRedirectQuery()
-
isSetEnableRedirectQuery
public boolean isSetEnableRedirectQuery()
Returns true if field enableRedirectQuery is set (has been assigned a value) and false otherwise
-
setEnableRedirectQueryIsSet
public void setEnableRedirectQueryIsSet(boolean value)
-
isJdbcQuery
public boolean isJdbcQuery()
-
setJdbcQuery
public TSRawDataQueryReq setJdbcQuery(boolean jdbcQuery)
-
unsetJdbcQuery
public void unsetJdbcQuery()
-
isSetJdbcQuery
public boolean isSetJdbcQuery()
Returns true if field jdbcQuery is set (has been assigned a value) and false otherwise
-
setJdbcQueryIsSet
public void setJdbcQueryIsSet(boolean value)
-
getTimeout
public long getTimeout()
-
setTimeout
public TSRawDataQueryReq 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 TSRawDataQueryReq 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(TSRawDataQueryReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSRawDataQueryReq,TSRawDataQueryReq._Fields>
-
getFieldValue
public Object getFieldValue(TSRawDataQueryReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSRawDataQueryReq,TSRawDataQueryReq._Fields>
-
isSet
public boolean isSet(TSRawDataQueryReq._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<TSRawDataQueryReq,TSRawDataQueryReq._Fields>
-
equals
public boolean equals(TSRawDataQueryReq that)
-
compareTo
public int compareTo(TSRawDataQueryReq other)
- Specified by:
compareToin interfaceComparable<TSRawDataQueryReq>
-
fieldForId
public TSRawDataQueryReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSRawDataQueryReq,TSRawDataQueryReq._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
-
-