Class Literal

    • Field Detail

      • metaDataMap

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

      • deepCopy

        public Literal deepCopy()
      • boolValue

        public static Literal boolValue​(boolean value)
      • byteValue

        public static Literal byteValue​(byte value)
      • shortValue

        public static Literal shortValue​(short value)
      • intValue

        public static Literal intValue​(int value)
      • longValue

        public static Literal longValue​(long value)
      • doubleValue

        public static Literal doubleValue​(double value)
      • stringValue

        public static Literal stringValue​(String value)
      • binaryValue

        public static Literal binaryValue​(byte[] value)
      • 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<Literal,​Literal._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<Literal,​Literal._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<Literal,​Literal._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<Literal,​Literal._Fields>
        Throws:
        org.apache.thrift.TException
      • getFieldDesc

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

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

        public boolean getBoolValue()
      • setBoolValue

        public void setBoolValue​(boolean value)
      • getByteValue

        public byte getByteValue()
      • setByteValue

        public void setByteValue​(byte value)
      • getShortValue

        public short getShortValue()
      • setShortValue

        public void setShortValue​(short value)
      • getIntValue

        public int getIntValue()
      • setIntValue

        public void setIntValue​(int value)
      • getLongValue

        public long getLongValue()
      • setLongValue

        public void setLongValue​(long value)
      • getDoubleValue

        public double getDoubleValue()
      • setDoubleValue

        public void setDoubleValue​(double value)
      • getStringValue

        public String getStringValue()
      • setStringValue

        public void setStringValue​(String value)
      • getBinaryValue

        public byte[] getBinaryValue()
      • bufferForBinaryValue

        public ByteBuffer bufferForBinaryValue()
      • setBinaryValue

        public void setBinaryValue​(byte[] value)
      • setBinaryValue

        public void setBinaryValue​(ByteBuffer value)
      • isSetBoolValue

        public boolean isSetBoolValue()
      • isSetByteValue

        public boolean isSetByteValue()
      • isSetShortValue

        public boolean isSetShortValue()
      • isSetIntValue

        public boolean isSetIntValue()
      • isSetLongValue

        public boolean isSetLongValue()
      • isSetDoubleValue

        public boolean isSetDoubleValue()
      • isSetStringValue

        public boolean isSetStringValue()
      • isSetBinaryValue

        public boolean isSetBinaryValue()
      • equals

        public boolean equals​(Literal other)
      • compareTo

        public int compareTo​(Literal other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object