Class TSFetchResultsReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSFetchResultsReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSFetchResultsReq>,org.apache.thrift.TBase<TSFetchResultsReq,TSFetchResultsReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSFetchResultsReq extends Object implements org.apache.thrift.TBase<TSFetchResultsReq,TSFetchResultsReq._Fields>, Serializable, Cloneable, Comparable<TSFetchResultsReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSFetchResultsReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description intfetchSizebooleanisAlignstatic Map<TSFetchResultsReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongqueryIdlongsessionIdStringstatementlongtimeout
-
Constructor Summary
Constructors Constructor Description TSFetchResultsReq()TSFetchResultsReq(long sessionId, String statement, int fetchSize, long queryId, boolean isAlign)TSFetchResultsReq(TSFetchResultsReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TSFetchResultsReq other)TSFetchResultsReqdeepCopy()booleanequals(Object that)booleanequals(TSFetchResultsReq that)TSFetchResultsReq._FieldsfieldForId(int fieldId)intgetFetchSize()ObjectgetFieldValue(TSFetchResultsReq._Fields field)longgetQueryId()longgetSessionId()StringgetStatement()longgetTimeout()inthashCode()booleanisIsAlign()booleanisSet(TSFetchResultsReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetFetchSize()Returns true if field fetchSize is set (has been assigned a value) and false otherwisebooleanisSetIsAlign()Returns true if field isAlign is set (has been assigned a value) and false otherwisebooleanisSetQueryId()Returns true if field queryId is set (has been assigned a value) and false otherwisebooleanisSetSessionId()Returns true if field sessionId is set (has been assigned a value) and false otherwisebooleanisSetStatement()Returns true if field statement 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)TSFetchResultsReqsetFetchSize(int fetchSize)voidsetFetchSizeIsSet(boolean value)voidsetFieldValue(TSFetchResultsReq._Fields field, Object value)TSFetchResultsReqsetIsAlign(boolean isAlign)voidsetIsAlignIsSet(boolean value)TSFetchResultsReqsetQueryId(long queryId)voidsetQueryIdIsSet(boolean value)TSFetchResultsReqsetSessionId(long sessionId)voidsetSessionIdIsSet(boolean value)TSFetchResultsReqsetStatement(String statement)voidsetStatementIsSet(boolean value)TSFetchResultsReqsetTimeout(long timeout)voidsetTimeoutIsSet(boolean value)StringtoString()voidunsetFetchSize()voidunsetIsAlign()voidunsetQueryId()voidunsetSessionId()voidunsetStatement()voidunsetTimeout()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionId
public long sessionId
-
statement
public String statement
-
fetchSize
public int fetchSize
-
queryId
public long queryId
-
isAlign
public boolean isAlign
-
timeout
public long timeout
-
metaDataMap
public static final Map<TSFetchResultsReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSFetchResultsReq
public TSFetchResultsReq()
-
TSFetchResultsReq
public TSFetchResultsReq(long sessionId, String statement, int fetchSize, long queryId, boolean isAlign)
-
TSFetchResultsReq
public TSFetchResultsReq(TSFetchResultsReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSFetchResultsReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSFetchResultsReq,TSFetchResultsReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSFetchResultsReq,TSFetchResultsReq._Fields>
-
getSessionId
public long getSessionId()
-
setSessionId
public TSFetchResultsReq 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)
-
getStatement
public String getStatement()
-
setStatement
public TSFetchResultsReq setStatement(String statement)
-
unsetStatement
public void unsetStatement()
-
isSetStatement
public boolean isSetStatement()
Returns true if field statement is set (has been assigned a value) and false otherwise
-
setStatementIsSet
public void setStatementIsSet(boolean value)
-
getFetchSize
public int getFetchSize()
-
setFetchSize
public TSFetchResultsReq 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)
-
getQueryId
public long getQueryId()
-
setQueryId
public TSFetchResultsReq setQueryId(long queryId)
-
unsetQueryId
public void unsetQueryId()
-
isSetQueryId
public boolean isSetQueryId()
Returns true if field queryId is set (has been assigned a value) and false otherwise
-
setQueryIdIsSet
public void setQueryIdIsSet(boolean value)
-
isIsAlign
public boolean isIsAlign()
-
setIsAlign
public TSFetchResultsReq setIsAlign(boolean isAlign)
-
unsetIsAlign
public void unsetIsAlign()
-
isSetIsAlign
public boolean isSetIsAlign()
Returns true if field isAlign is set (has been assigned a value) and false otherwise
-
setIsAlignIsSet
public void setIsAlignIsSet(boolean value)
-
getTimeout
public long getTimeout()
-
setTimeout
public TSFetchResultsReq 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(TSFetchResultsReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSFetchResultsReq,TSFetchResultsReq._Fields>
-
getFieldValue
public Object getFieldValue(TSFetchResultsReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSFetchResultsReq,TSFetchResultsReq._Fields>
-
isSet
public boolean isSet(TSFetchResultsReq._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<TSFetchResultsReq,TSFetchResultsReq._Fields>
-
equals
public boolean equals(TSFetchResultsReq that)
-
compareTo
public int compareTo(TSFetchResultsReq other)
- Specified by:
compareToin interfaceComparable<TSFetchResultsReq>
-
fieldForId
public TSFetchResultsReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSFetchResultsReq,TSFetchResultsReq._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
-
-