Class QueryGraphValueForge
java.lang.Object
com.espertech.esper.common.internal.epl.join.querygraph.QueryGraphValueForge
Property lists stored as a value for each stream-to-stream relationship, for use by
QueryGraphForge
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCustom
(ExprNode[] indexExpressions, String operationName, int expressionPosition, ExprNode expression) void
addInKeywordMultiIdx
(ExprNode testPropExpr, ExprNode[] setProps) void
addInKeywordSingleIdx
(ExprNode testPropIdent, ExprNode[] setPropExpr) void
addKeyedExpr
(ExprIdentNode indexedPropIdent, ExprNode exprNodeNoIdent) void
addRange
(QueryGraphRangeEnum rangeType, ExprNode propertyStart, ExprNode propertyEnd, ExprIdentNode propertyValueIdent) void
addRelOp
(ExprNode propertyKey, QueryGraphRangeEnum op, ExprIdentNode propertyValueIdent, boolean isBetweenOrIn) boolean
addStrictCompare
(String keyProperty, ExprIdentNode keyPropNode, ExprIdentNode indexPropertyIdent) Add key and index property.void
addUnkeyedExpr
(ExprIdentNode indexedPropIdent, ExprNode exprNodeNoIdent) getItems()
boolean
make
(CodegenMethodScope parent, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) toString()
-
Constructor Details
-
QueryGraphValueForge
public QueryGraphValueForge()Ctor.
-
-
Method Details
-
getItems
-
addStrictCompare
public boolean addStrictCompare(String keyProperty, ExprIdentNode keyPropNode, ExprIdentNode indexPropertyIdent) Add key and index property.- Parameters:
keyProperty
- - key propertyindexPropertyIdent
- - index propertykeyPropNode
- key node- Returns:
- true if added and either property did not exist, false if either already existed
-
addRange
public void addRange(QueryGraphRangeEnum rangeType, ExprNode propertyStart, ExprNode propertyEnd, ExprIdentNode propertyValueIdent) -
addRelOp
public void addRelOp(ExprNode propertyKey, QueryGraphRangeEnum op, ExprIdentNode propertyValueIdent, boolean isBetweenOrIn) -
addUnkeyedExpr
-
addKeyedExpr
-
getHashKeyProps
-
getRangeProps
-
toString
-
addInKeywordMultiIdx
-
addInKeywordSingleIdx
-
getInKeywordSingles
-
getInKeywordMulti
-
addCustom
-
make
public CodegenExpression make(CodegenMethodScope parent, SAIFFInitializeSymbol symbols, CodegenClassScope classScope)