Package org.apache.pinot.common.request
Class Function
- java.lang.Object
-
- org.apache.pinot.common.request.Function
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Function>,org.apache.thrift.TBase<Function,Function._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.15.0)", date="2022-05-02") public class Function extends Object implements org.apache.thrift.TBase<Function,Function._Fields>, Serializable, Cloneable, Comparable<Function>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFunction._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<Function._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapList<Expression>operandsStringoperator
-
Method Summary
Modifier and Type Method Description voidaddToOperands(Expression elem)voidclear()intcompareTo(Function other)FunctiondeepCopy()booleanequals(Object that)booleanequals(Function that)Function._FieldsfieldForId(int fieldId)ObjectgetFieldValue(Function._Fields field)List<Expression>getOperands()Iterator<Expression>getOperandsIterator()intgetOperandsSize()StringgetOperator()inthashCode()booleanisSet(Function._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetOperands()Returns true if field operands is set (has been assigned a value) and false otherwisebooleanisSetOperator()Returns true if field operator is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(Function._Fields field, Object value)FunctionsetOperands(List<Expression> operands)voidsetOperandsIsSet(boolean value)FunctionsetOperator(String operator)voidsetOperatorIsSet(boolean value)StringtoString()voidunsetOperands()voidunsetOperator()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
operator
public String operator
-
operands
public List<Expression> operands
-
metaDataMap
public static final Map<Function._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Method Detail
-
deepCopy
public Function deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Function,Function._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<Function,Function._Fields>
-
getOperator
public String getOperator()
-
unsetOperator
public void unsetOperator()
-
isSetOperator
public boolean isSetOperator()
Returns true if field operator is set (has been assigned a value) and false otherwise
-
setOperatorIsSet
public void setOperatorIsSet(boolean value)
-
getOperandsSize
public int getOperandsSize()
-
getOperandsIterator
public Iterator<Expression> getOperandsIterator()
-
addToOperands
public void addToOperands(Expression elem)
-
getOperands
public List<Expression> getOperands()
-
setOperands
public Function setOperands(List<Expression> operands)
-
unsetOperands
public void unsetOperands()
-
isSetOperands
public boolean isSetOperands()
Returns true if field operands is set (has been assigned a value) and false otherwise
-
setOperandsIsSet
public void setOperandsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(Function._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Function,Function._Fields>
-
getFieldValue
public Object getFieldValue(Function._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Function,Function._Fields>
-
isSet
public boolean isSet(Function._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<Function,Function._Fields>
-
equals
public boolean equals(Function that)
-
compareTo
public int compareTo(Function other)
- Specified by:
compareToin interfaceComparable<Function>
-
fieldForId
public Function._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Function,Function._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
-
-