Class IntervalForgeImpl
java.lang.Object
com.espertech.esper.common.internal.epl.datetime.interval.IntervalForgeImpl
- All Implemented Interfaces:
IntervalForge
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static interface
static class
static class
static class
static interface
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
-
Constructor Summary
ConstructorDescriptionIntervalForgeImpl
(DatetimeMethodDesc method, String methodNameUse, StreamTypeService streamTypeService, List<ExprNode> expressions, TimeAbacus timeAbacus, TableCompileTimeResolver tableCompileTimeResolver) -
Method Summary
Modifier and TypeMethodDescriptioncodegen
(CodegenExpression start, CodegenExpression end, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) getFilterDesc
(EventType[] typesPerStream, DatetimeMethodDesc currentMethod, List<ExprNode> currentParameters, ExprDotNodeFilterAnalyzerInput inputDesc) Obtain information used by filter analyzer to handle this dot-method invocation as part of query planning/indexing.getOp()
-
Constructor Details
-
IntervalForgeImpl
public IntervalForgeImpl(DatetimeMethodDesc method, String methodNameUse, StreamTypeService streamTypeService, List<ExprNode> expressions, TimeAbacus timeAbacus, TableCompileTimeResolver tableCompileTimeResolver) throws ExprValidationException - Throws:
ExprValidationException
-
-
Method Details
-
getOp
- Specified by:
getOp
in interfaceIntervalForge
-
codegen
public CodegenExpression codegen(CodegenExpression start, CodegenExpression end, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) - Specified by:
codegen
in interfaceIntervalForge
-
getForgeTimestamp
-
getIntervalOpForge
-
getFilterDesc
public FilterExprAnalyzerDTIntervalAffector getFilterDesc(EventType[] typesPerStream, DatetimeMethodDesc currentMethod, List<ExprNode> currentParameters, ExprDotNodeFilterAnalyzerInput inputDesc) Obtain information used by filter analyzer to handle this dot-method invocation as part of query planning/indexing.- Specified by:
getFilterDesc
in interfaceIntervalForge
- Parameters:
typesPerStream
- event typescurrentMethod
- current methodcurrentParameters
- current paramsinputDesc
- descriptor of what the input to this interval method is
-