Class TSyncTransportMetaInfo
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSyncTransportMetaInfo
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSyncTransportMetaInfo>,org.apache.thrift.TBase<TSyncTransportMetaInfo,TSyncTransportMetaInfo._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSyncTransportMetaInfo extends Object implements org.apache.thrift.TBase<TSyncTransportMetaInfo,TSyncTransportMetaInfo._Fields>, Serializable, Cloneable, Comparable<TSyncTransportMetaInfo>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSyncTransportMetaInfo._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description StringfileNamestatic Map<TSyncTransportMetaInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongstartIndex
-
Constructor Summary
Constructors Constructor Description TSyncTransportMetaInfo()TSyncTransportMetaInfo(String fileName, long startIndex)TSyncTransportMetaInfo(TSyncTransportMetaInfo other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TSyncTransportMetaInfo other)TSyncTransportMetaInfodeepCopy()booleanequals(Object that)booleanequals(TSyncTransportMetaInfo that)TSyncTransportMetaInfo._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TSyncTransportMetaInfo._Fields field)StringgetFileName()longgetStartIndex()inthashCode()booleanisSet(TSyncTransportMetaInfo._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetFileName()Returns true if field fileName is set (has been assigned a value) and false otherwisebooleanisSetStartIndex()Returns true if field startIndex is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TSyncTransportMetaInfo._Fields field, Object value)TSyncTransportMetaInfosetFileName(String fileName)voidsetFileNameIsSet(boolean value)TSyncTransportMetaInfosetStartIndex(long startIndex)voidsetStartIndexIsSet(boolean value)StringtoString()voidunsetFileName()voidunsetStartIndex()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
fileName
public String fileName
-
startIndex
public long startIndex
-
metaDataMap
public static final Map<TSyncTransportMetaInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSyncTransportMetaInfo
public TSyncTransportMetaInfo()
-
TSyncTransportMetaInfo
public TSyncTransportMetaInfo(String fileName, long startIndex)
-
TSyncTransportMetaInfo
public TSyncTransportMetaInfo(TSyncTransportMetaInfo other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSyncTransportMetaInfo deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSyncTransportMetaInfo,TSyncTransportMetaInfo._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSyncTransportMetaInfo,TSyncTransportMetaInfo._Fields>
-
getFileName
public String getFileName()
-
setFileName
public TSyncTransportMetaInfo setFileName(String fileName)
-
unsetFileName
public void unsetFileName()
-
isSetFileName
public boolean isSetFileName()
Returns true if field fileName is set (has been assigned a value) and false otherwise
-
setFileNameIsSet
public void setFileNameIsSet(boolean value)
-
getStartIndex
public long getStartIndex()
-
setStartIndex
public TSyncTransportMetaInfo setStartIndex(long startIndex)
-
unsetStartIndex
public void unsetStartIndex()
-
isSetStartIndex
public boolean isSetStartIndex()
Returns true if field startIndex is set (has been assigned a value) and false otherwise
-
setStartIndexIsSet
public void setStartIndexIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSyncTransportMetaInfo._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSyncTransportMetaInfo,TSyncTransportMetaInfo._Fields>
-
getFieldValue
public Object getFieldValue(TSyncTransportMetaInfo._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSyncTransportMetaInfo,TSyncTransportMetaInfo._Fields>
-
isSet
public boolean isSet(TSyncTransportMetaInfo._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<TSyncTransportMetaInfo,TSyncTransportMetaInfo._Fields>
-
equals
public boolean equals(TSyncTransportMetaInfo that)
-
compareTo
public int compareTo(TSyncTransportMetaInfo other)
- Specified by:
compareToin interfaceComparable<TSyncTransportMetaInfo>
-
fieldForId
public TSyncTransportMetaInfo._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSyncTransportMetaInfo,TSyncTransportMetaInfo._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
-
-