Package org.apache.parquet.format
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<TimeUnit._Fields,org.apache.thrift.meta_data.FieldMetaData> Fields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckType(TimeUnit._Fields setField, Object value) intdeepCopy()protected TimeUnit._FieldsenumForId(short id) booleanbooleanfieldForId(int fieldId) protected org.apache.thrift.protocol.TFieldgetFieldDesc(TimeUnit._Fields setField) getNANOS()protected org.apache.thrift.protocol.TStructinthashCode()booleanbooleanbooleanstatic TimeUnitMICROS(MicroSeconds value) static TimeUnitMILLIS(MilliSeconds value) static TimeUnitNANOS(NanoSeconds value) voidsetMICROS(MicroSeconds value) voidsetMILLIS(MilliSeconds value) voidsetNANOS(NanoSeconds value) protected ObjectstandardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) protected voidstandardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) protected ObjecttupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) protected voidtupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) Methods inherited from class org.apache.thrift.TUnion
clear, getFieldValue, getFieldValue, getFieldValue, getSetField, isSet, isSet, isSet, read, setFieldValue, setFieldValue, toString, write
-
Field Details
-
metaDataMap
-
-
Constructor Details
-
TimeUnit
public TimeUnit() -
TimeUnit
-
TimeUnit
-
-
Method Details
-
deepCopy
-
MILLIS
-
MICROS
-
NANOS
-
checkType
- Specified by:
checkTypein classorg.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:
standardSchemeReadValuein classorg.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:
standardSchemeWriteValuein classorg.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:
tupleSchemeReadValuein classorg.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:
tupleSchemeWriteValuein classorg.apache.thrift.TUnion<TimeUnit,TimeUnit._Fields> - Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<TimeUnit,TimeUnit._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<TimeUnit,TimeUnit._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<TimeUnit,TimeUnit._Fields>
-
fieldForId
-
getMILLIS
-
setMILLIS
-
getMICROS
-
setMICROS
-
getNANOS
-
setNANOS
-
isSetMILLIS
public boolean isSetMILLIS() -
isSetMICROS
public boolean isSetMICROS() -
isSetNANOS
public boolean isSetNANOS() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-