Package org.apache.pinot.common.request
Class Expression
- java.lang.Object
-
- org.apache.pinot.common.request.Expression
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Expression>,org.apache.thrift.TBase<Expression,Expression._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.15.0)", date="2022-05-02") public class Expression extends Object implements org.apache.thrift.TBase<Expression,Expression._Fields>, Serializable, Cloneable, Comparable<Expression>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExpression._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description FunctionfunctionCallIdentifieridentifierLiteralliteralstatic Map<Expression._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapExpressionTypetype
-
Constructor Summary
Constructors Constructor Description Expression()Expression(Expression other)Performs a deep copy on other.Expression(ExpressionType type)
-
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(Expression other)ExpressiondeepCopy()booleanequals(Object that)booleanequals(Expression that)Expression._FieldsfieldForId(int fieldId)ObjectgetFieldValue(Expression._Fields field)FunctiongetFunctionCall()IdentifiergetIdentifier()LiteralgetLiteral()ExpressionTypegetType()inthashCode()booleanisSet(Expression._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetFunctionCall()Returns true if field functionCall is set (has been assigned a value) and false otherwisebooleanisSetIdentifier()Returns true if field identifier is set (has been assigned a value) and false otherwisebooleanisSetLiteral()Returns true if field literal is set (has been assigned a value) and false otherwisebooleanisSetType()Returns true if field type is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(Expression._Fields field, Object value)ExpressionsetFunctionCall(Function functionCall)voidsetFunctionCallIsSet(boolean value)ExpressionsetIdentifier(Identifier identifier)voidsetIdentifierIsSet(boolean value)ExpressionsetLiteral(Literal literal)voidsetLiteralIsSet(boolean value)ExpressionsetType(ExpressionType type)voidsetTypeIsSet(boolean value)StringtoString()voidunsetFunctionCall()voidunsetIdentifier()voidunsetLiteral()voidunsetType()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
type
public ExpressionType type
- See Also:
ExpressionType
-
functionCall
public Function functionCall
-
literal
public Literal literal
-
identifier
public Identifier identifier
-
metaDataMap
public static final Map<Expression._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
Expression
public Expression()
-
Expression
public Expression(ExpressionType type)
-
Expression
public Expression(Expression other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public Expression deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Expression,Expression._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<Expression,Expression._Fields>
-
getType
public ExpressionType getType()
- See Also:
ExpressionType
-
setType
public Expression setType(ExpressionType type)
- See Also:
ExpressionType
-
unsetType
public void unsetType()
-
isSetType
public boolean isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
-
setTypeIsSet
public void setTypeIsSet(boolean value)
-
getFunctionCall
public Function getFunctionCall()
-
setFunctionCall
public Expression setFunctionCall(Function functionCall)
-
unsetFunctionCall
public void unsetFunctionCall()
-
isSetFunctionCall
public boolean isSetFunctionCall()
Returns true if field functionCall is set (has been assigned a value) and false otherwise
-
setFunctionCallIsSet
public void setFunctionCallIsSet(boolean value)
-
getLiteral
public Literal getLiteral()
-
setLiteral
public Expression setLiteral(Literal literal)
-
unsetLiteral
public void unsetLiteral()
-
isSetLiteral
public boolean isSetLiteral()
Returns true if field literal is set (has been assigned a value) and false otherwise
-
setLiteralIsSet
public void setLiteralIsSet(boolean value)
-
getIdentifier
public Identifier getIdentifier()
-
setIdentifier
public Expression setIdentifier(Identifier identifier)
-
unsetIdentifier
public void unsetIdentifier()
-
isSetIdentifier
public boolean isSetIdentifier()
Returns true if field identifier is set (has been assigned a value) and false otherwise
-
setIdentifierIsSet
public void setIdentifierIsSet(boolean value)
-
setFieldValue
public void setFieldValue(Expression._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Expression,Expression._Fields>
-
getFieldValue
public Object getFieldValue(Expression._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Expression,Expression._Fields>
-
isSet
public boolean isSet(Expression._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<Expression,Expression._Fields>
-
equals
public boolean equals(Expression that)
-
compareTo
public int compareTo(Expression other)
- Specified by:
compareToin interfaceComparable<Expression>
-
fieldForId
public Expression._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Expression,Expression._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-