Class TimeUnit

java.lang.Object
org.apache.thrift.TUnion<TimeUnit,TimeUnit._Fields>
org.apache.parquet.format.TimeUnit
All Implemented Interfaces:
Serializable, Comparable<TimeUnit>, org.apache.thrift.TBase<TimeUnit,TimeUnit._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.23.0)", date="2026-08-06") public class TimeUnit extends org.apache.thrift.TUnion<TimeUnit,TimeUnit._Fields>
See Also:
  • Field Details

    • metaDataMap

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

  • Method Details

    • deepCopy

      public TimeUnit deepCopy()
    • MILLIS

      public static TimeUnit MILLIS(MilliSeconds value)
    • MICROS

      public static TimeUnit MICROS(MicroSeconds value)
    • NANOS

      public static TimeUnit NANOS(NanoSeconds value)
    • checkType

      protected void checkType(TimeUnit._Fields setField, Object value) throws ClassCastException
      Specified by:
      checkType in class org.apache.thrift.TUnion<TimeUnit,TimeUnit._Fields>
      Throws:
      ClassCastException
    • standardSchemeReadValue

      protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException
      Specified by:
      standardSchemeReadValue in class org.apache.thrift.TUnion<TimeUnit,TimeUnit._Fields>
      Throws:
      org.apache.thrift.TException
    • standardSchemeWriteValue

      protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      standardSchemeWriteValue in class org.apache.thrift.TUnion<TimeUnit,TimeUnit._Fields>
      Throws:
      org.apache.thrift.TException
    • tupleSchemeReadValue

      protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException
      Specified by:
      tupleSchemeReadValue in class org.apache.thrift.TUnion<TimeUnit,TimeUnit._Fields>
      Throws:
      org.apache.thrift.TException
    • tupleSchemeWriteValue

      protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      tupleSchemeWriteValue in class org.apache.thrift.TUnion<TimeUnit,TimeUnit._Fields>
      Throws:
      org.apache.thrift.TException
    • getFieldDesc

      protected org.apache.thrift.protocol.TField getFieldDesc(TimeUnit._Fields setField)
      Specified by:
      getFieldDesc in class org.apache.thrift.TUnion<TimeUnit,TimeUnit._Fields>
    • getStructDesc

      protected org.apache.thrift.protocol.TStruct getStructDesc()
      Specified by:
      getStructDesc in class org.apache.thrift.TUnion<TimeUnit,TimeUnit._Fields>
    • enumForId

      protected TimeUnit._Fields enumForId(short id)
      Specified by:
      enumForId in class org.apache.thrift.TUnion<TimeUnit,TimeUnit._Fields>
    • fieldForId

      public TimeUnit._Fields fieldForId(int fieldId)
    • getMILLIS

      public MilliSeconds getMILLIS()
    • setMILLIS

      public void setMILLIS(MilliSeconds value)
    • getMICROS

      public MicroSeconds getMICROS()
    • setMICROS

      public void setMICROS(MicroSeconds value)
    • getNANOS

      public NanoSeconds getNANOS()
    • setNANOS

      public void setNANOS(NanoSeconds value)
    • isSetMILLIS

      public boolean isSetMILLIS()
    • isSetMICROS

      public boolean isSetMICROS()
    • isSetNANOS

      public boolean isSetNANOS()
    • equals

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

      public boolean equals(TimeUnit other)
    • compareTo

      public int compareTo(TimeUnit other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object