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.13.0)", date="2021-09-30") public class TimeUnit extends org.apache.thrift.TUnion<TimeUnit,TimeUnit._Fields>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimeUnit._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<TimeUnit._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckType(TimeUnit._Fields setField, Object value)intcompareTo(TimeUnit other)TimeUnitdeepCopy()protected TimeUnit._FieldsenumForId(short id)booleanequals(Object other)booleanequals(TimeUnit other)TimeUnit._FieldsfieldForId(int fieldId)protected org.apache.thrift.protocol.TFieldgetFieldDesc(TimeUnit._Fields setField)MicroSecondsgetMICROS()MilliSecondsgetMILLIS()NanoSecondsgetNANOS()protected org.apache.thrift.protocol.TStructgetStructDesc()inthashCode()booleanisSetMICROS()booleanisSetMILLIS()booleanisSetNANOS()static 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)
-
-
-
Field Detail
-
metaDataMap
public static final Map<TimeUnit._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TimeUnit
public TimeUnit()
-
TimeUnit
public TimeUnit(TimeUnit._Fields setField, Object value)
-
TimeUnit
public TimeUnit(TimeUnit other)
-
-
Method Detail
-
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:
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
protected org.apache.thrift.protocol.TField getFieldDesc(TimeUnit._Fields setField)
- 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
protected TimeUnit._Fields enumForId(short id)
- Specified by:
enumForIdin classorg.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(TimeUnit other)
-
compareTo
public int compareTo(TimeUnit other)
-
-