Class TSSetSchemaTemplateReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSSetSchemaTemplateReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSSetSchemaTemplateReq>,org.apache.thrift.TBase<TSSetSchemaTemplateReq,TSSetSchemaTemplateReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSSetSchemaTemplateReq extends Object implements org.apache.thrift.TBase<TSSetSchemaTemplateReq,TSSetSchemaTemplateReq._Fields>, Serializable, Cloneable, Comparable<TSSetSchemaTemplateReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSSetSchemaTemplateReq._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<TSSetSchemaTemplateReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringprefixPathlongsessionIdStringtemplateName
-
Constructor Summary
Constructors Constructor Description TSSetSchemaTemplateReq()TSSetSchemaTemplateReq(long sessionId, String templateName, String prefixPath)TSSetSchemaTemplateReq(TSSetSchemaTemplateReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TSSetSchemaTemplateReq other)TSSetSchemaTemplateReqdeepCopy()booleanequals(Object that)booleanequals(TSSetSchemaTemplateReq that)TSSetSchemaTemplateReq._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TSSetSchemaTemplateReq._Fields field)StringgetPrefixPath()longgetSessionId()StringgetTemplateName()inthashCode()booleanisSet(TSSetSchemaTemplateReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetPrefixPath()Returns true if field prefixPath is set (has been assigned a value) and false otherwisebooleanisSetSessionId()Returns true if field sessionId is set (has been assigned a value) and false otherwisebooleanisSetTemplateName()Returns true if field templateName is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TSSetSchemaTemplateReq._Fields field, Object value)TSSetSchemaTemplateReqsetPrefixPath(String prefixPath)voidsetPrefixPathIsSet(boolean value)TSSetSchemaTemplateReqsetSessionId(long sessionId)voidsetSessionIdIsSet(boolean value)TSSetSchemaTemplateReqsetTemplateName(String templateName)voidsetTemplateNameIsSet(boolean value)StringtoString()voidunsetPrefixPath()voidunsetSessionId()voidunsetTemplateName()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionId
public long sessionId
-
templateName
public String templateName
-
prefixPath
public String prefixPath
-
metaDataMap
public static final Map<TSSetSchemaTemplateReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSSetSchemaTemplateReq
public TSSetSchemaTemplateReq()
-
TSSetSchemaTemplateReq
public TSSetSchemaTemplateReq(long sessionId, String templateName, String prefixPath)
-
TSSetSchemaTemplateReq
public TSSetSchemaTemplateReq(TSSetSchemaTemplateReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSSetSchemaTemplateReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSSetSchemaTemplateReq,TSSetSchemaTemplateReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSSetSchemaTemplateReq,TSSetSchemaTemplateReq._Fields>
-
getSessionId
public long getSessionId()
-
setSessionId
public TSSetSchemaTemplateReq 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)
-
getTemplateName
public String getTemplateName()
-
setTemplateName
public TSSetSchemaTemplateReq setTemplateName(String templateName)
-
unsetTemplateName
public void unsetTemplateName()
-
isSetTemplateName
public boolean isSetTemplateName()
Returns true if field templateName is set (has been assigned a value) and false otherwise
-
setTemplateNameIsSet
public void setTemplateNameIsSet(boolean value)
-
getPrefixPath
public String getPrefixPath()
-
setPrefixPath
public TSSetSchemaTemplateReq setPrefixPath(String prefixPath)
-
unsetPrefixPath
public void unsetPrefixPath()
-
isSetPrefixPath
public boolean isSetPrefixPath()
Returns true if field prefixPath is set (has been assigned a value) and false otherwise
-
setPrefixPathIsSet
public void setPrefixPathIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSSetSchemaTemplateReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSSetSchemaTemplateReq,TSSetSchemaTemplateReq._Fields>
-
getFieldValue
public Object getFieldValue(TSSetSchemaTemplateReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSSetSchemaTemplateReq,TSSetSchemaTemplateReq._Fields>
-
isSet
public boolean isSet(TSSetSchemaTemplateReq._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<TSSetSchemaTemplateReq,TSSetSchemaTemplateReq._Fields>
-
equals
public boolean equals(TSSetSchemaTemplateReq that)
-
compareTo
public int compareTo(TSSetSchemaTemplateReq other)
- Specified by:
compareToin interfaceComparable<TSSetSchemaTemplateReq>
-
fieldForId
public TSSetSchemaTemplateReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSSetSchemaTemplateReq,TSSetSchemaTemplateReq._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
-
-