Class TSetTTLReq
- java.lang.Object
-
- org.apache.iotdb.common.rpc.thrift.TSetTTLReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSetTTLReq>,org.apache.thrift.TBase<TSetTTLReq,TSetTTLReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSetTTLReq extends Object implements org.apache.thrift.TBase<TSetTTLReq,TSetTTLReq._Fields>, Serializable, Cloneable, Comparable<TSetTTLReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSetTTLReq._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<TSetTTLReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapList<String>storageGroupPathPatternlongTTL
-
Constructor Summary
Constructors Constructor Description TSetTTLReq()TSetTTLReq(List<String> storageGroupPathPattern, long TTL)TSetTTLReq(TSetTTLReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToStorageGroupPathPattern(String elem)voidclear()intcompareTo(TSetTTLReq other)TSetTTLReqdeepCopy()booleanequals(Object that)booleanequals(TSetTTLReq that)TSetTTLReq._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TSetTTLReq._Fields field)List<String>getStorageGroupPathPattern()Iterator<String>getStorageGroupPathPatternIterator()intgetStorageGroupPathPatternSize()longgetTTL()inthashCode()booleanisSet(TSetTTLReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetStorageGroupPathPattern()Returns true if field storageGroupPathPattern is set (has been assigned a value) and false otherwisebooleanisSetTTL()Returns true if field TTL is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TSetTTLReq._Fields field, Object value)TSetTTLReqsetStorageGroupPathPattern(List<String> storageGroupPathPattern)voidsetStorageGroupPathPatternIsSet(boolean value)TSetTTLReqsetTTL(long TTL)voidsetTTLIsSet(boolean value)StringtoString()voidunsetStorageGroupPathPattern()voidunsetTTL()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
TTL
public long TTL
-
metaDataMap
public static final Map<TSetTTLReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSetTTLReq
public TSetTTLReq()
-
TSetTTLReq
public TSetTTLReq(TSetTTLReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSetTTLReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSetTTLReq,TSetTTLReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSetTTLReq,TSetTTLReq._Fields>
-
getStorageGroupPathPatternSize
public int getStorageGroupPathPatternSize()
-
addToStorageGroupPathPattern
public void addToStorageGroupPathPattern(String elem)
-
setStorageGroupPathPattern
public TSetTTLReq setStorageGroupPathPattern(List<String> storageGroupPathPattern)
-
unsetStorageGroupPathPattern
public void unsetStorageGroupPathPattern()
-
isSetStorageGroupPathPattern
public boolean isSetStorageGroupPathPattern()
Returns true if field storageGroupPathPattern is set (has been assigned a value) and false otherwise
-
setStorageGroupPathPatternIsSet
public void setStorageGroupPathPatternIsSet(boolean value)
-
getTTL
public long getTTL()
-
setTTL
public TSetTTLReq setTTL(long TTL)
-
unsetTTL
public void unsetTTL()
-
isSetTTL
public boolean isSetTTL()
Returns true if field TTL is set (has been assigned a value) and false otherwise
-
setTTLIsSet
public void setTTLIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSetTTLReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSetTTLReq,TSetTTLReq._Fields>
-
getFieldValue
public Object getFieldValue(TSetTTLReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSetTTLReq,TSetTTLReq._Fields>
-
isSet
public boolean isSet(TSetTTLReq._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<TSetTTLReq,TSetTTLReq._Fields>
-
equals
public boolean equals(TSetTTLReq that)
-
compareTo
public int compareTo(TSetTTLReq other)
- Specified by:
compareToin interfaceComparable<TSetTTLReq>
-
fieldForId
public TSetTTLReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSetTTLReq,TSetTTLReq._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
-
-