|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.spec.StatementSpecRaw
public class StatementSpecRaw
Specification object representing a complete EPL statement including all EPL constructs.
Constructor Summary | |
---|---|
StatementSpecRaw(SelectClauseStreamSelectorEnum defaultStreamSelector)
Ctor. |
Method Summary | |
---|---|
CreateVariableDesc |
getCreateVariableDesc()
Returns the descriptor for create-variable statements. |
CreateWindowDesc |
getCreateWindowDesc()
Returns the create-window specification. |
ExprNode |
getFilterExprRootNode()
Gets the where clause. |
ExprNode |
getFilterRootNode()
Returns the WHERE-clause root node of filter expression. |
List<ExprNode> |
getGroupByExpressions()
Returns list of group-by expressions. |
ExprNode |
getHavingExprRootNode()
Returns expression root node representing the having-clause, if present, or null if no having clause was supplied. |
InsertIntoDesc |
getInsertIntoDesc()
Return a descriptor with the insert-into event name and optional list of columns. |
OnTriggerDesc |
getOnTriggerDesc()
Returns the on-delete statement specification. |
List<OrderByItem> |
getOrderByList()
Returns the list of order-by expression as specified in the ORDER BY clause. |
List<OuterJoinDesc> |
getOuterJoinDescList()
Returns the LEFT/RIGHT/FULL OUTER JOIN-type and property name descriptor, if applicable. |
OutputLimitSpec |
getOutputLimitSpec()
Returns the output limit definition, if any. |
SelectClauseSpecRaw |
getSelectClauseSpec()
Returns SELECT-clause list of expressions. |
SelectClauseStreamSelectorEnum |
getSelectStreamSelectorEnum()
Returns the stream selector (rstream/istream). |
List<StreamSpecRaw> |
getStreamSpecs()
Returns the FROM-clause stream definitions. |
boolean |
isExistsSubstitutionParameters()
Returns true if there are one or more substitution parameters in the statement of contained-within lookup statements |
boolean |
isHasVariables()
Returns true if a statement (or subquery sub-statements) use variables. |
void |
setCreateVariableDesc(CreateVariableDesc createVariableDesc)
Sets the descriptor for create-variable statements, if this is one. |
void |
setCreateWindowDesc(CreateWindowDesc createWindowDesc)
Sets the create-window specification. |
void |
setExistsSubstitutionParameters(boolean existsSubstitutionParameters)
Sets the substitution parameters. |
void |
setFilterExprRootNode(ExprNode filterExprRootNode)
Sets the where clause or null if none |
void |
setFilterRootNode(ExprNode filterExprRootNode)
Sets the where clause filter expression node. |
void |
setHasVariables(boolean hasVariables)
Sets the flag indicating the statement uses variables. |
void |
setHavingExprRootNode(ExprNode havingExprRootNode)
Sets the having-clause filter expression node. |
void |
setInsertIntoDesc(InsertIntoDesc insertIntoDesc)
Sets the definition for any insert-into clause. |
void |
setOnTriggerDesc(OnTriggerDesc onTriggerDesc)
Sets the on-delete statement specification. |
void |
setOutputLimitSpec(OutputLimitSpec outputLimitSpec)
Sets the output limiting definition. |
void |
setSelectClauseSpec(SelectClauseSpecRaw selectClauseSpec)
Sets the select clause. |
void |
setSelectStreamDirEnum(SelectClauseStreamSelectorEnum selectStreamDirEnum)
Sets the stream selector (rstream/istream/both etc). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatementSpecRaw(SelectClauseStreamSelectorEnum defaultStreamSelector)
defaultStreamSelector
- stream selection for the statementMethod Detail |
---|
public List<StreamSpecRaw> getStreamSpecs()
public SelectClauseSpecRaw getSelectClauseSpec()
public ExprNode getFilterRootNode()
public List<OuterJoinDesc> getOuterJoinDescList()
public List<ExprNode> getGroupByExpressions()
public ExprNode getHavingExprRootNode()
public OutputLimitSpec getOutputLimitSpec()
public InsertIntoDesc getInsertIntoDesc()
public List<OrderByItem> getOrderByList()
public SelectClauseStreamSelectorEnum getSelectStreamSelectorEnum()
public void setOutputLimitSpec(OutputLimitSpec outputLimitSpec)
outputLimitSpec
- defines the rules for output limitingpublic void setFilterRootNode(ExprNode filterExprRootNode)
filterExprRootNode
- the where clause expressionpublic void setHavingExprRootNode(ExprNode havingExprRootNode)
havingExprRootNode
- the having-clause expressionpublic void setInsertIntoDesc(InsertIntoDesc insertIntoDesc)
insertIntoDesc
- is the descriptor for insert-into rulespublic void setSelectStreamDirEnum(SelectClauseStreamSelectorEnum selectStreamDirEnum)
selectStreamDirEnum
- to be setpublic void setSelectClauseSpec(SelectClauseSpecRaw selectClauseSpec)
selectClauseSpec
- is the new select clause specificationpublic boolean isExistsSubstitutionParameters()
public void setExistsSubstitutionParameters(boolean existsSubstitutionParameters)
existsSubstitutionParameters
- true to indicate there are parameterspublic CreateWindowDesc getCreateWindowDesc()
public void setCreateWindowDesc(CreateWindowDesc createWindowDesc)
createWindowDesc
- descriptor for creating a named windowpublic OnTriggerDesc getOnTriggerDesc()
public void setOnTriggerDesc(OnTriggerDesc onTriggerDesc)
onTriggerDesc
- descriptor for creating an on-delete statementpublic ExprNode getFilterExprRootNode()
public void setFilterExprRootNode(ExprNode filterExprRootNode)
filterExprRootNode
- where clause expressionpublic boolean isHasVariables()
public void setHasVariables(boolean hasVariables)
hasVariables
- true if variables are usedpublic CreateVariableDesc getCreateVariableDesc()
public void setCreateVariableDesc(CreateVariableDesc createVariableDesc)
createVariableDesc
- create-variable info
|
© 2007 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 |