Class TimeUnit

    • Field Detail

      • metaDataMap

        public static final Map<TimeUnit._Fields,​org.apache.thrift.meta_data.FieldMetaData> metaDataMap
    • Method Detail

      • 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
      • getStructDesc

        protected org.apache.thrift.protocol.TStruct getStructDesc()
        Specified by:
        getStructDesc in class org.apache.thrift.TUnion<TimeUnit,​TimeUnit._Fields>
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object