Class ExprTableAccessNodeTopLevel
java.lang.Object
com.espertech.esper.common.internal.epl.expression.core.ExprNodeBase
com.espertech.esper.common.internal.epl.expression.table.ExprTableAccessNode
com.espertech.esper.common.internal.epl.expression.table.ExprTableAccessNodeTopLevel
- All Implemented Interfaces:
ExprEvaluator
,ExprForge
,ExprForgeInstrumentable
,ExprNode
,ExprNodeRenderable
,ExprTypableReturnEval
,ExprTypableReturnForge
,ExprValidator
public class ExprTableAccessNodeTopLevel
extends ExprTableAccessNode
implements ExprTypableReturnForge, ExprTypableReturnEval, ExprForge
-
Field Summary
Fields inherited from class com.espertech.esper.common.internal.epl.expression.table.ExprTableAccessNode
groupKeyEvaluators, strategy, tableMeta, tableName
Fields inherited from interface com.espertech.esper.common.internal.epl.expression.core.ExprEvaluator
EPTYPE, EPTYPEARRAY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Object[][]
evaluateTypableMulti
(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) evaluateTypableMultiCodegen
(CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) Object[]
evaluateTypableSingle
(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) evaluateTypableSingleCodegen
(CodegenMethodScope parent, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) getForge()
protected String
protected CodegenExpression[]
Return null to indicate no row-type result available, or a map of property names and types to indicate a row-type result is available.Return true for multi-row return, return false for return of single row onlyvoid
toPrecedenceFreeEPL
(StringWriter writer, ExprNodeRenderableFlags flags) protected void
validateBindingInternal
(ExprValidationContext validationContext) Methods inherited from class com.espertech.esper.common.internal.epl.expression.table.ExprTableAccessNode
equalsNode, evaluate, evaluateCodegen, evaluateCodegenUninstrumented, evaluateGetEventBeanCodegen, evaluateGetROCollectionEventsCodegen, evaluateGetROCollectionScalarCodegen, getForgeConstantType, getForgeRenderable, getPrecedence, getTableAccessNumber, getTableMeta, getTableName, makeEvaluate, setTableAccessNumber, toPrecedenceFreeEPLInternal, toPrecedenceFreeEPLInternal, validate, validateGroupKeys, validateSubpropertyGetCol
Methods inherited from class com.espertech.esper.common.internal.epl.expression.core.ExprNodeBase
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, checkValidated, checkValidatedException, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.espertech.esper.common.internal.epl.expression.core.ExprEvaluator
evaluate
Methods inherited from interface com.espertech.esper.common.internal.epl.expression.core.ExprForge
evaluateCodegen, getForgeConstantType, getForgeRenderable
-
Constructor Details
-
ExprTableAccessNodeTopLevel
-
-
Method Details
-
getTypableReturnEvaluator
-
validateBindingInternal
protected void validateBindingInternal(ExprValidationContext validationContext) throws ExprValidationException - Specified by:
validateBindingInternal
in classExprTableAccessNode
- Throws:
ExprValidationException
-
getTableAccessFactoryForge
- Specified by:
getTableAccessFactoryForge
in classExprTableAccessNode
-
getEvaluationType
- Specified by:
getEvaluationType
in interfaceExprForge
-
getForge
-
getRowProperties
Description copied from interface:ExprTypableReturnForge
Return null to indicate no row-type result available, or a map of property names and types to indicate a row-type result is available.- Specified by:
getRowProperties
in interfaceExprTypableReturnForge
- Returns:
- map of property names and types or null
- Throws:
ExprValidationException
- if the expression is invalid
-
isMultirow
Description copied from interface:ExprTypableReturnForge
Return true for multi-row return, return false for return of single row only- Specified by:
isMultirow
in interfaceExprTypableReturnForge
- Returns:
- multi-row flag
-
evaluateTypableSingle
public Object[] evaluateTypableSingle(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) - Specified by:
evaluateTypableSingle
in interfaceExprTypableReturnEval
-
evaluateTypableMulti
public Object[][] evaluateTypableMulti(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) - Specified by:
evaluateTypableMulti
in interfaceExprTypableReturnEval
-
evaluateTypableSingleCodegen
public CodegenExpression evaluateTypableSingleCodegen(CodegenMethodScope parent, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) - Specified by:
evaluateTypableSingleCodegen
in interfaceExprTypableReturnForge
-
evaluateTypableMultiCodegen
public CodegenExpression evaluateTypableMultiCodegen(CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) - Specified by:
evaluateTypableMultiCodegen
in interfaceExprTypableReturnForge
-
toPrecedenceFreeEPL
- Specified by:
toPrecedenceFreeEPL
in classExprNodeBase
-
equalsNodeInternal
- Specified by:
equalsNodeInternal
in classExprTableAccessNode
-
getExprEvaluator
- Specified by:
getExprEvaluator
in interfaceExprForge
- Overrides:
getExprEvaluator
in classExprTableAccessNode
-
getInstrumentationQName
- Specified by:
getInstrumentationQName
in classExprTableAccessNode
-
getInstrumentationQParams
- Specified by:
getInstrumentationQParams
in classExprTableAccessNode
-