public class ExprTableIdentNode extends ExprNodeBase implements ExprForgeInstrumentable
Constructor and Description |
---|
ExprTableIdentNode(TableMetaData tableMetadata,
String streamOrPropertyName,
String unresolvedPropertyName,
EPTypeClass returnType,
int streamNum,
String columnName,
int columnNum) |
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, checkValidated, checkValidatedException, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
public ExprTableIdentNode(TableMetaData tableMetadata, String streamOrPropertyName, String unresolvedPropertyName, EPTypeClass returnType, int streamNum, String columnName, int columnNum)
public void toPrecedenceFreeEPL(StringWriter writer, ExprNodeRenderableFlags flags)
toPrecedenceFreeEPL
in class ExprNodeBase
public ExprPrecedenceEnum getPrecedence()
ExprNode
getPrecedence
in interface ExprNode
public boolean isConstantResult()
public boolean equalsNode(ExprNode node, boolean ignoreStreamPrefix)
ExprNode
Concrete implementations should compare the type and any additional information that impact the evaluation of a node.
equalsNode
in interface ExprNode
node
- to compare toignoreStreamPrefix
- when the equals-comparison can ignore prefix of event propertiespublic ExprNode validate(ExprValidationContext validationContext) throws ExprValidationException
validate
in interface ExprValidator
ExprValidationException
public CodegenExpression evaluateCodegenUninstrumented(EPTypeClass requiredType, CodegenMethodScope parent, ExprForgeCodegenSymbol symbols, CodegenClassScope codegenClassScope)
evaluateCodegenUninstrumented
in interface ExprForgeInstrumentable
public CodegenExpression evaluateCodegen(EPTypeClass requiredType, CodegenMethodScope parent, ExprForgeCodegenSymbol symbols, CodegenClassScope codegenClassScope)
evaluateCodegen
in interface ExprForge
public ExprForgeConstantType getForgeConstantType()
getForgeConstantType
in interface ExprForge
public ExprEvaluator getExprEvaluator()
getExprEvaluator
in interface ExprForge
public EPTypeClass getEvaluationType()
getEvaluationType
in interface ExprForge
public ExprNode getForgeRenderable()
getForgeRenderable
in interface ExprForge
public TableMetaData getTableMetadata()
public int getStreamNum()
public int getColumnNum()
public String getUnresolvedPropertyName()
public String getColumnName()
public static AggregationRow tableColumnRow(int streamNum, EventBean[] eventsPerStream)
streamNum
- stream numeventsPerStream
- eventspublic static Object tableColumnAggValue(int streamNum, int column, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext ctx)
streamNum
- stream numcolumn
- coleventsPerStream
- eventsisNewData
- new-data flowctx
- contextCopyright © 2005–2021. All rights reserved.