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="2025-09-08") public class TSetTTLReq extends Object implements org.apache.thrift.TBase<TSetTTLReq,TSetTTLReq._Fields>, Serializable, Cloneable, Comparable<TSetTTLReq>
See Also:
  • Field Details

    • pathPattern

      public List<String> pathPattern
    • TTL

      public long TTL
    • isDataBase

      public boolean isDataBase
    • metaDataMap

      public static final Map<TSetTTLReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

    • TSetTTLReq

      public TSetTTLReq()
    • TSetTTLReq

      public TSetTTLReq(List<String> pathPattern, long TTL, boolean isDataBase)
    • TSetTTLReq

      public TSetTTLReq(TSetTTLReq other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public TSetTTLReq deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<TSetTTLReq,TSetTTLReq._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<TSetTTLReq,TSetTTLReq._Fields>
    • getPathPatternSize

      public int getPathPatternSize()
    • getPathPatternIterator

      public Iterator<String> getPathPatternIterator()
    • addToPathPattern

      public void addToPathPattern(String elem)
    • getPathPattern

      public List<String> getPathPattern()
    • setPathPattern

      public TSetTTLReq setPathPattern(List<String> pathPattern)
    • unsetPathPattern

      public void unsetPathPattern()
    • isSetPathPattern

      public boolean isSetPathPattern()
      Returns true if field pathPattern is set (has been assigned a value) and false otherwise
    • setPathPatternIsSet

      public void setPathPatternIsSet(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)
    • isIsDataBase

      public boolean isIsDataBase()
    • setIsDataBase

      public TSetTTLReq setIsDataBase(boolean isDataBase)
    • unsetIsDataBase

      public void unsetIsDataBase()
    • isSetIsDataBase

      public boolean isSetIsDataBase()
      Returns true if field isDataBase is set (has been assigned a value) and false otherwise
    • setIsDataBaseIsSet

      public void setIsDataBaseIsSet(boolean value)
    • setFieldValue

      public void setFieldValue(TSetTTLReq._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<TSetTTLReq,TSetTTLReq._Fields>
    • getFieldValue

      public Object getFieldValue(TSetTTLReq._Fields field)
      Specified by:
      getFieldValue in interface org.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:
      isSet in interface org.apache.thrift.TBase<TSetTTLReq,TSetTTLReq._Fields>
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(TSetTTLReq that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(TSetTTLReq other)
      Specified by:
      compareTo in interface Comparable<TSetTTLReq>
    • fieldForId

      public TSetTTLReq._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<TSetTTLReq,TSetTTLReq._Fields>
    • read

      public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.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:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException