|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.spec.StreamSpecBase
com.espertech.esper.epl.spec.MethodStreamSpec
public class MethodStreamSpec
Specification object for historical data poll via database SQL statement.
Field Summary |
---|
Fields inherited from interface com.espertech.esper.epl.spec.StreamSpecCompiled |
---|
EMPTY_STREAM_ARRAY |
Constructor Summary | |
---|---|
MethodStreamSpec(java.lang.String optionalStreamName,
ViewSpec[] viewSpecs,
java.lang.String ident,
java.lang.String className,
java.lang.String methodName,
java.util.List<ExprNode> expressions)
Ctor. |
Method Summary | |
---|---|
StreamSpecCompiled |
compile(StatementContext context,
java.util.Set<java.lang.String> eventTypeReferences,
boolean isInsertInto,
java.util.Collection<java.lang.Integer> assignedTypeNumberStack,
boolean isJoin,
boolean isContextDeclaration,
boolean isOnTrigger)
Compiles a raw stream specification consisting event type information and filter expressions to an validated, optimized form for use with filter service |
java.lang.String |
getClassName()
Returns the class name. |
java.util.List<ExprNode> |
getExpressions()
Returns the parameter expressions. |
java.lang.String |
getIdent()
Returns the prefix (method) for the method invocation syntax. |
java.lang.String |
getMethodName()
Returns the method name. |
Methods inherited from class com.espertech.esper.epl.spec.StreamSpecBase |
---|
getOptionalStreamName, getOptions, getViewSpecs |
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.epl.spec.StreamSpec |
---|
getOptionalStreamName, getOptions, getViewSpecs |
Constructor Detail |
---|
public MethodStreamSpec(java.lang.String optionalStreamName, ViewSpec[] viewSpecs, java.lang.String ident, java.lang.String className, java.lang.String methodName, java.util.List<ExprNode> expressions)
optionalStreamName
- is the stream name or null if none definedviewSpecs
- is an list of view specificationsident
- the prefix in the clauseclassName
- the class namemethodName
- the method nameexpressions
- the parameter expressionsMethod Detail |
---|
public java.lang.String getIdent()
public java.lang.String getClassName()
public java.lang.String getMethodName()
public java.util.List<ExprNode> getExpressions()
public StreamSpecCompiled compile(StatementContext context, java.util.Set<java.lang.String> eventTypeReferences, boolean isInsertInto, java.util.Collection<java.lang.Integer> assignedTypeNumberStack, boolean isJoin, boolean isContextDeclaration, boolean isOnTrigger) throws ExprValidationException
StreamSpecRaw
compile
in interface StreamSpecRaw
context
- statement-level serviceseventTypeReferences
- event type names used by the statementisInsertInto
- true for insert-intoisJoin
- indicates whether a join or not a joinisContextDeclaration
- indicates whether declared as part of the context declarations, if any
ExprValidationException
- to indicate validation errors
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |