Package org.apache.pinot.common.request
Class Literal
- java.lang.Object
-
- org.apache.thrift.TUnion<Literal,Literal._Fields>
-
- org.apache.pinot.common.request.Literal
-
- All Implemented Interfaces:
Serializable,Comparable<Literal>,org.apache.thrift.TBase<Literal,Literal._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.15.0)", date="2022-05-02") public class Literal extends org.apache.thrift.TUnion<Literal,Literal._Fields>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLiteral._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<Literal._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LiteralbinaryValue(byte[] value)static LiteralbinaryValue(ByteBuffer value)static LiteralboolValue(boolean value)ByteBufferbufferForBinaryValue()static LiteralbyteValue(byte value)protected voidcheckType(Literal._Fields setField, Object value)intcompareTo(Literal other)LiteraldeepCopy()static LiteraldoubleValue(double value)protected Literal._FieldsenumForId(short id)booleanequals(Object other)booleanequals(Literal other)Literal._FieldsfieldForId(int fieldId)byte[]getBinaryValue()booleangetBoolValue()bytegetByteValue()doublegetDoubleValue()protected org.apache.thrift.protocol.TFieldgetFieldDesc(Literal._Fields setField)intgetIntValue()longgetLongValue()shortgetShortValue()StringgetStringValue()protected org.apache.thrift.protocol.TStructgetStructDesc()inthashCode()static LiteralintValue(int value)booleanisSetBinaryValue()booleanisSetBoolValue()booleanisSetByteValue()booleanisSetDoubleValue()booleanisSetIntValue()booleanisSetLongValue()booleanisSetShortValue()booleanisSetStringValue()static LiterallongValue(long value)voidsetBinaryValue(byte[] value)voidsetBinaryValue(ByteBuffer value)voidsetBoolValue(boolean value)voidsetByteValue(byte value)voidsetDoubleValue(double value)voidsetIntValue(int value)voidsetLongValue(long value)voidsetShortValue(short value)voidsetStringValue(String value)static LiteralshortValue(short value)protected ObjectstandardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field)protected voidstandardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)static LiteralstringValue(String value)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<Literal._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
Literal
public Literal()
-
Literal
public Literal(Literal._Fields setField, Object value)
-
Literal
public Literal(Literal other)
-
-
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)
-
binaryValue
public static Literal binaryValue(ByteBuffer value)
-
binaryValue
public static Literal binaryValue(byte[] value)
-
checkType
protected void checkType(Literal._Fields setField, Object value) throws ClassCastException
- Specified by:
checkTypein classorg.apache.thrift.TUnion<Literal,Literal._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<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:
standardSchemeWriteValuein classorg.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:
tupleSchemeReadValuein classorg.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:
tupleSchemeWriteValuein classorg.apache.thrift.TUnion<Literal,Literal._Fields>- Throws:
org.apache.thrift.TException
-
getFieldDesc
protected org.apache.thrift.protocol.TField getFieldDesc(Literal._Fields setField)
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<Literal,Literal._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()
- Specified by:
getStructDescin classorg.apache.thrift.TUnion<Literal,Literal._Fields>
-
enumForId
protected Literal._Fields enumForId(short id)
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<Literal,Literal._Fields>
-
fieldForId
public Literal._Fields fieldForId(int fieldId)
-
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)
-
-