Class TSFastLastDataQueryForOneDeviceReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSFastLastDataQueryForOneDeviceReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSFastLastDataQueryForOneDeviceReq>,org.apache.thrift.TBase<TSFastLastDataQueryForOneDeviceReq,TSFastLastDataQueryForOneDeviceReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSFastLastDataQueryForOneDeviceReq extends Object implements org.apache.thrift.TBase<TSFastLastDataQueryForOneDeviceReq,TSFastLastDataQueryForOneDeviceReq._Fields>, Serializable, Cloneable, Comparable<TSFastLastDataQueryForOneDeviceReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSFastLastDataQueryForOneDeviceReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description StringdbStringdeviceIdbooleanenableRedirectQueryintfetchSizebooleanjdbcQuerybooleanlegalPathNodesstatic Map<TSFastLastDataQueryForOneDeviceReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapList<String>sensorslongsessionIdlongstatementIdlongtimeout
-
Constructor Summary
Constructors Constructor Description TSFastLastDataQueryForOneDeviceReq()TSFastLastDataQueryForOneDeviceReq(long sessionId, String db, String deviceId, List<String> sensors, long statementId)TSFastLastDataQueryForOneDeviceReq(TSFastLastDataQueryForOneDeviceReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToSensors(String elem)voidclear()intcompareTo(TSFastLastDataQueryForOneDeviceReq other)TSFastLastDataQueryForOneDeviceReqdeepCopy()booleanequals(Object that)booleanequals(TSFastLastDataQueryForOneDeviceReq that)TSFastLastDataQueryForOneDeviceReq._FieldsfieldForId(int fieldId)StringgetDb()StringgetDeviceId()intgetFetchSize()ObjectgetFieldValue(TSFastLastDataQueryForOneDeviceReq._Fields field)List<String>getSensors()Iterator<String>getSensorsIterator()intgetSensorsSize()longgetSessionId()longgetStatementId()longgetTimeout()inthashCode()booleanisEnableRedirectQuery()booleanisJdbcQuery()booleanisLegalPathNodes()booleanisSet(TSFastLastDataQueryForOneDeviceReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetDb()Returns true if field db is set (has been assigned a value) and false otherwisebooleanisSetDeviceId()Returns true if field deviceId 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 otherwisebooleanisSetSensors()Returns true if field sensors 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 otherwisebooleanisSetTimeout()Returns true if field timeout is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TSFastLastDataQueryForOneDeviceReqsetDb(String db)voidsetDbIsSet(boolean value)TSFastLastDataQueryForOneDeviceReqsetDeviceId(String deviceId)voidsetDeviceIdIsSet(boolean value)TSFastLastDataQueryForOneDeviceReqsetEnableRedirectQuery(boolean enableRedirectQuery)voidsetEnableRedirectQueryIsSet(boolean value)TSFastLastDataQueryForOneDeviceReqsetFetchSize(int fetchSize)voidsetFetchSizeIsSet(boolean value)voidsetFieldValue(TSFastLastDataQueryForOneDeviceReq._Fields field, Object value)TSFastLastDataQueryForOneDeviceReqsetJdbcQuery(boolean jdbcQuery)voidsetJdbcQueryIsSet(boolean value)TSFastLastDataQueryForOneDeviceReqsetLegalPathNodes(boolean legalPathNodes)voidsetLegalPathNodesIsSet(boolean value)TSFastLastDataQueryForOneDeviceReqsetSensors(List<String> sensors)voidsetSensorsIsSet(boolean value)TSFastLastDataQueryForOneDeviceReqsetSessionId(long sessionId)voidsetSessionIdIsSet(boolean value)TSFastLastDataQueryForOneDeviceReqsetStatementId(long statementId)voidsetStatementIdIsSet(boolean value)TSFastLastDataQueryForOneDeviceReqsetTimeout(long timeout)voidsetTimeoutIsSet(boolean value)StringtoString()voidunsetDb()voidunsetDeviceId()voidunsetEnableRedirectQuery()voidunsetFetchSize()voidunsetJdbcQuery()voidunsetLegalPathNodes()voidunsetSensors()voidunsetSessionId()voidunsetStatementId()voidunsetTimeout()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionId
public long sessionId
-
db
public String db
-
deviceId
public String deviceId
-
fetchSize
public int fetchSize
-
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<TSFastLastDataQueryForOneDeviceReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSFastLastDataQueryForOneDeviceReq
public TSFastLastDataQueryForOneDeviceReq()
-
TSFastLastDataQueryForOneDeviceReq
public TSFastLastDataQueryForOneDeviceReq(long sessionId, String db, String deviceId, List<String> sensors, long statementId)
-
TSFastLastDataQueryForOneDeviceReq
public TSFastLastDataQueryForOneDeviceReq(TSFastLastDataQueryForOneDeviceReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSFastLastDataQueryForOneDeviceReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSFastLastDataQueryForOneDeviceReq,TSFastLastDataQueryForOneDeviceReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSFastLastDataQueryForOneDeviceReq,TSFastLastDataQueryForOneDeviceReq._Fields>
-
getSessionId
public long getSessionId()
-
setSessionId
public TSFastLastDataQueryForOneDeviceReq 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)
-
getDb
public String getDb()
-
setDb
public TSFastLastDataQueryForOneDeviceReq setDb(String db)
-
unsetDb
public void unsetDb()
-
isSetDb
public boolean isSetDb()
Returns true if field db is set (has been assigned a value) and false otherwise
-
setDbIsSet
public void setDbIsSet(boolean value)
-
getDeviceId
public String getDeviceId()
-
setDeviceId
public TSFastLastDataQueryForOneDeviceReq setDeviceId(String deviceId)
-
unsetDeviceId
public void unsetDeviceId()
-
isSetDeviceId
public boolean isSetDeviceId()
Returns true if field deviceId is set (has been assigned a value) and false otherwise
-
setDeviceIdIsSet
public void setDeviceIdIsSet(boolean value)
-
getSensorsSize
public int getSensorsSize()
-
addToSensors
public void addToSensors(String elem)
-
setSensors
public TSFastLastDataQueryForOneDeviceReq setSensors(List<String> sensors)
-
unsetSensors
public void unsetSensors()
-
isSetSensors
public boolean isSetSensors()
Returns true if field sensors is set (has been assigned a value) and false otherwise
-
setSensorsIsSet
public void setSensorsIsSet(boolean value)
-
getFetchSize
public int getFetchSize()
-
setFetchSize
public TSFastLastDataQueryForOneDeviceReq 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)
-
getStatementId
public long getStatementId()
-
setStatementId
public TSFastLastDataQueryForOneDeviceReq 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 TSFastLastDataQueryForOneDeviceReq 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 TSFastLastDataQueryForOneDeviceReq 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 TSFastLastDataQueryForOneDeviceReq 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 TSFastLastDataQueryForOneDeviceReq 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(TSFastLastDataQueryForOneDeviceReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSFastLastDataQueryForOneDeviceReq,TSFastLastDataQueryForOneDeviceReq._Fields>
-
getFieldValue
public Object getFieldValue(TSFastLastDataQueryForOneDeviceReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSFastLastDataQueryForOneDeviceReq,TSFastLastDataQueryForOneDeviceReq._Fields>
-
isSet
public boolean isSet(TSFastLastDataQueryForOneDeviceReq._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<TSFastLastDataQueryForOneDeviceReq,TSFastLastDataQueryForOneDeviceReq._Fields>
-
equals
public boolean equals(TSFastLastDataQueryForOneDeviceReq that)
-
compareTo
public int compareTo(TSFastLastDataQueryForOneDeviceReq other)
- Specified by:
compareToin interfaceComparable<TSFastLastDataQueryForOneDeviceReq>
-
fieldForId
public TSFastLastDataQueryForOneDeviceReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSFastLastDataQueryForOneDeviceReq,TSFastLastDataQueryForOneDeviceReq._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
-
-