Class TSLastDataQueryReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSLastDataQueryReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSLastDataQueryReq>,org.apache.thrift.TBase<TSLastDataQueryReq,TSLastDataQueryReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSLastDataQueryReq extends Object implements org.apache.thrift.TBase<TSLastDataQueryReq,TSLastDataQueryReq._Fields>, Serializable, Cloneable, Comparable<TSLastDataQueryReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSLastDataQueryReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description booleanenableRedirectQueryintfetchSizebooleanjdbcQuerybooleanlegalPathNodesstatic Map<TSLastDataQueryReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapList<String>pathslongsessionIdlongstatementIdlongtimelongtimeout
-
Constructor Summary
Constructors Constructor Description TSLastDataQueryReq()TSLastDataQueryReq(long sessionId, List<String> paths, long time, long statementId)TSLastDataQueryReq(TSLastDataQueryReq 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(TSLastDataQueryReq other)TSLastDataQueryReqdeepCopy()booleanequals(Object that)booleanequals(TSLastDataQueryReq that)TSLastDataQueryReq._FieldsfieldForId(int fieldId)intgetFetchSize()ObjectgetFieldValue(TSLastDataQueryReq._Fields field)List<String>getPaths()Iterator<String>getPathsIterator()intgetPathsSize()longgetSessionId()longgetStatementId()longgetTime()longgetTimeout()inthashCode()booleanisEnableRedirectQuery()booleanisJdbcQuery()booleanisLegalPathNodes()booleanisSet(TSLastDataQueryReq._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 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 otherwisebooleanisSetStatementId()Returns true if field statementId is set (has been assigned a value) and false otherwisebooleanisSetTime()Returns true if field time 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)TSLastDataQueryReqsetEnableRedirectQuery(boolean enableRedirectQuery)voidsetEnableRedirectQueryIsSet(boolean value)TSLastDataQueryReqsetFetchSize(int fetchSize)voidsetFetchSizeIsSet(boolean value)voidsetFieldValue(TSLastDataQueryReq._Fields field, Object value)TSLastDataQueryReqsetJdbcQuery(boolean jdbcQuery)voidsetJdbcQueryIsSet(boolean value)TSLastDataQueryReqsetLegalPathNodes(boolean legalPathNodes)voidsetLegalPathNodesIsSet(boolean value)TSLastDataQueryReqsetPaths(List<String> paths)voidsetPathsIsSet(boolean value)TSLastDataQueryReqsetSessionId(long sessionId)voidsetSessionIdIsSet(boolean value)TSLastDataQueryReqsetStatementId(long statementId)voidsetStatementIdIsSet(boolean value)TSLastDataQueryReqsetTime(long time)voidsetTimeIsSet(boolean value)TSLastDataQueryReqsetTimeout(long timeout)voidsetTimeoutIsSet(boolean value)StringtoString()voidunsetEnableRedirectQuery()voidunsetFetchSize()voidunsetJdbcQuery()voidunsetLegalPathNodes()voidunsetPaths()voidunsetSessionId()voidunsetStatementId()voidunsetTime()voidunsetTimeout()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionId
public long sessionId
-
fetchSize
public int fetchSize
-
time
public long time
-
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<TSLastDataQueryReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSLastDataQueryReq
public TSLastDataQueryReq()
-
TSLastDataQueryReq
public TSLastDataQueryReq(long sessionId, List<String> paths, long time, long statementId)
-
TSLastDataQueryReq
public TSLastDataQueryReq(TSLastDataQueryReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSLastDataQueryReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSLastDataQueryReq,TSLastDataQueryReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSLastDataQueryReq,TSLastDataQueryReq._Fields>
-
getSessionId
public long getSessionId()
-
setSessionId
public TSLastDataQueryReq 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 TSLastDataQueryReq 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 TSLastDataQueryReq 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)
-
getTime
public long getTime()
-
setTime
public TSLastDataQueryReq setTime(long time)
-
unsetTime
public void unsetTime()
-
isSetTime
public boolean isSetTime()
Returns true if field time is set (has been assigned a value) and false otherwise
-
setTimeIsSet
public void setTimeIsSet(boolean value)
-
getStatementId
public long getStatementId()
-
setStatementId
public TSLastDataQueryReq 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 TSLastDataQueryReq 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 TSLastDataQueryReq 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 TSLastDataQueryReq 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 TSLastDataQueryReq 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(TSLastDataQueryReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSLastDataQueryReq,TSLastDataQueryReq._Fields>
-
getFieldValue
public Object getFieldValue(TSLastDataQueryReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSLastDataQueryReq,TSLastDataQueryReq._Fields>
-
isSet
public boolean isSet(TSLastDataQueryReq._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<TSLastDataQueryReq,TSLastDataQueryReq._Fields>
-
equals
public boolean equals(TSLastDataQueryReq that)
-
compareTo
public int compareTo(TSLastDataQueryReq other)
- Specified by:
compareToin interfaceComparable<TSLastDataQueryReq>
-
fieldForId
public TSLastDataQueryReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSLastDataQueryReq,TSLastDataQueryReq._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
-
-