Class TSExecuteBatchStatementReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSExecuteBatchStatementReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSExecuteBatchStatementReq>,org.apache.thrift.TBase<TSExecuteBatchStatementReq,TSExecuteBatchStatementReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSExecuteBatchStatementReq extends Object implements org.apache.thrift.TBase<TSExecuteBatchStatementReq,TSExecuteBatchStatementReq._Fields>, Serializable, Cloneable, Comparable<TSExecuteBatchStatementReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSExecuteBatchStatementReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<TSExecuteBatchStatementReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongsessionIdList<String>statements
-
Constructor Summary
Constructors Constructor Description TSExecuteBatchStatementReq()TSExecuteBatchStatementReq(long sessionId, List<String> statements)TSExecuteBatchStatementReq(TSExecuteBatchStatementReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToStatements(String elem)voidclear()intcompareTo(TSExecuteBatchStatementReq other)TSExecuteBatchStatementReqdeepCopy()booleanequals(Object that)booleanequals(TSExecuteBatchStatementReq that)TSExecuteBatchStatementReq._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TSExecuteBatchStatementReq._Fields field)longgetSessionId()List<String>getStatements()Iterator<String>getStatementsIterator()intgetStatementsSize()inthashCode()booleanisSet(TSExecuteBatchStatementReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetSessionId()Returns true if field sessionId is set (has been assigned a value) and false otherwisebooleanisSetStatements()Returns true if field statements is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TSExecuteBatchStatementReq._Fields field, Object value)TSExecuteBatchStatementReqsetSessionId(long sessionId)voidsetSessionIdIsSet(boolean value)TSExecuteBatchStatementReqsetStatements(List<String> statements)voidsetStatementsIsSet(boolean value)StringtoString()voidunsetSessionId()voidunsetStatements()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionId
public long sessionId
-
metaDataMap
public static final Map<TSExecuteBatchStatementReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSExecuteBatchStatementReq
public TSExecuteBatchStatementReq()
-
TSExecuteBatchStatementReq
public TSExecuteBatchStatementReq(long sessionId, List<String> statements)
-
TSExecuteBatchStatementReq
public TSExecuteBatchStatementReq(TSExecuteBatchStatementReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSExecuteBatchStatementReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSExecuteBatchStatementReq,TSExecuteBatchStatementReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSExecuteBatchStatementReq,TSExecuteBatchStatementReq._Fields>
-
getSessionId
public long getSessionId()
-
setSessionId
public TSExecuteBatchStatementReq 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)
-
getStatementsSize
public int getStatementsSize()
-
addToStatements
public void addToStatements(String elem)
-
setStatements
public TSExecuteBatchStatementReq setStatements(List<String> statements)
-
unsetStatements
public void unsetStatements()
-
isSetStatements
public boolean isSetStatements()
Returns true if field statements is set (has been assigned a value) and false otherwise
-
setStatementsIsSet
public void setStatementsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSExecuteBatchStatementReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSExecuteBatchStatementReq,TSExecuteBatchStatementReq._Fields>
-
getFieldValue
public Object getFieldValue(TSExecuteBatchStatementReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSExecuteBatchStatementReq,TSExecuteBatchStatementReq._Fields>
-
isSet
public boolean isSet(TSExecuteBatchStatementReq._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<TSExecuteBatchStatementReq,TSExecuteBatchStatementReq._Fields>
-
equals
public boolean equals(TSExecuteBatchStatementReq that)
-
compareTo
public int compareTo(TSExecuteBatchStatementReq other)
- Specified by:
compareToin interfaceComparable<TSExecuteBatchStatementReq>
-
fieldForId
public TSExecuteBatchStatementReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSExecuteBatchStatementReq,TSExecuteBatchStatementReq._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
-
-