Class TSchemaNode
- java.lang.Object
-
- org.apache.iotdb.common.rpc.thrift.TSchemaNode
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSchemaNode>,org.apache.thrift.TBase<TSchemaNode,TSchemaNode._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSchemaNode extends Object implements org.apache.thrift.TBase<TSchemaNode,TSchemaNode._Fields>, Serializable, Cloneable, Comparable<TSchemaNode>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSchemaNode._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<TSchemaNode._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringnodeNamebytenodeType
-
Constructor Summary
Constructors Constructor Description TSchemaNode()TSchemaNode(String nodeName, byte nodeType)TSchemaNode(TSchemaNode other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TSchemaNode other)TSchemaNodedeepCopy()booleanequals(Object that)booleanequals(TSchemaNode that)TSchemaNode._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TSchemaNode._Fields field)StringgetNodeName()bytegetNodeType()inthashCode()booleanisSet(TSchemaNode._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetNodeName()Returns true if field nodeName is set (has been assigned a value) and false otherwisebooleanisSetNodeType()Returns true if field nodeType is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TSchemaNode._Fields field, Object value)TSchemaNodesetNodeName(String nodeName)voidsetNodeNameIsSet(boolean value)TSchemaNodesetNodeType(byte nodeType)voidsetNodeTypeIsSet(boolean value)StringtoString()voidunsetNodeName()voidunsetNodeType()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
nodeName
public String nodeName
-
nodeType
public byte nodeType
-
metaDataMap
public static final Map<TSchemaNode._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSchemaNode
public TSchemaNode()
-
TSchemaNode
public TSchemaNode(String nodeName, byte nodeType)
-
TSchemaNode
public TSchemaNode(TSchemaNode other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSchemaNode deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSchemaNode,TSchemaNode._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSchemaNode,TSchemaNode._Fields>
-
getNodeName
public String getNodeName()
-
setNodeName
public TSchemaNode setNodeName(String nodeName)
-
unsetNodeName
public void unsetNodeName()
-
isSetNodeName
public boolean isSetNodeName()
Returns true if field nodeName is set (has been assigned a value) and false otherwise
-
setNodeNameIsSet
public void setNodeNameIsSet(boolean value)
-
getNodeType
public byte getNodeType()
-
setNodeType
public TSchemaNode setNodeType(byte nodeType)
-
unsetNodeType
public void unsetNodeType()
-
isSetNodeType
public boolean isSetNodeType()
Returns true if field nodeType is set (has been assigned a value) and false otherwise
-
setNodeTypeIsSet
public void setNodeTypeIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSchemaNode._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSchemaNode,TSchemaNode._Fields>
-
getFieldValue
public Object getFieldValue(TSchemaNode._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSchemaNode,TSchemaNode._Fields>
-
isSet
public boolean isSet(TSchemaNode._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<TSchemaNode,TSchemaNode._Fields>
-
equals
public boolean equals(TSchemaNode that)
-
compareTo
public int compareTo(TSchemaNode other)
- Specified by:
compareToin interfaceComparable<TSchemaNode>
-
fieldForId
public TSchemaNode._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSchemaNode,TSchemaNode._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
-
-