public class StatementSpecCompiled extends Object
Modifier and Type | Field and Description |
---|---|
static StatementSpecCompiled |
DEFAULT_SELECT_ALL_EMPTY |
Constructor and Description |
---|
StatementSpecCompiled()
Ctor.
|
StatementSpecCompiled(OnTriggerDesc onTriggerDesc,
CreateWindowDesc createWindowDesc,
CreateIndexDesc createIndexDesc,
CreateVariableDesc createVariableDesc,
CreateTableDesc createTableDesc,
CreateSchemaDesc createSchemaDesc,
InsertIntoDesc insertIntoDesc,
SelectClauseStreamSelectorEnum selectClauseStreamSelectorEnum,
SelectClauseSpecCompiled selectClauseSpec,
StreamSpecCompiled[] streamSpecs,
OuterJoinDesc[] outerJoinDescList,
ExprNode filterExprRootNode,
ExprNode havingExprRootNode,
OutputLimitSpec outputLimitSpec,
OrderByItem[] orderByList,
ExprSubselectNode[] subSelectExpressions,
ExprDeclaredNode[] declaredExpressions,
ExpressionScriptProvided[] scripts,
Set<String> variableReferences,
RowLimitSpec rowLimitSpec,
String[] eventTypeReferences,
Annotation[] annotations,
UpdateDesc updateSpec,
MatchRecognizeSpec matchRecognizeSpec,
ForClauseSpec forClauseSpec,
Map<Integer,List<ExprNode>> sqlParameters,
CreateContextDesc contextDesc,
String optionalContextName,
CreateDataFlowDesc createGraphDesc,
CreateExpressionDesc createExpressionDesc,
FireAndForgetSpec fireAndForgetSpec,
GroupByClauseExpressions groupByExpressions,
IntoTableSpec intoTableSpec,
ExprTableAccessNode[] tableNodes) |
Modifier and Type | Method and Description |
---|---|
Annotation[] |
getAnnotations()
Returns annotations or empty array if none.
|
CreateContextDesc |
getContextDesc() |
CreateExpressionDesc |
getCreateExpressionDesc() |
CreateDataFlowDesc |
getCreateGraphDesc() |
CreateIndexDesc |
getCreateIndexDesc()
Returns create index
|
CreateSchemaDesc |
getCreateSchemaDesc() |
CreateTableDesc |
getCreateTableDesc() |
CreateVariableDesc |
getCreateVariableDesc()
Returns the create-variable statement descriptor.
|
CreateWindowDesc |
getCreateWindowDesc()
Returns the specification for an create-window statement.
|
ExprDeclaredNode[] |
getDeclaredExpressions() |
String[] |
getEventTypeReferences()
Returns the event type name in used by the statement.
|
ExprNode |
getFilterRootNode()
Returns the WHERE-clause root node of filter expression.
|
FilterSpecCompiled[] |
getFilterSpecsOverall() |
FireAndForgetSpec |
getFireAndForgetSpec() |
ForClauseSpec |
getForClauseSpec() |
GroupByClauseExpressions |
getGroupByExpressions() |
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.
|
IntoTableSpec |
getIntoTableSpec() |
MatchRecognizeSpec |
getMatchRecognizeSpec()
Returns the match recognize spec, if used
|
NamedWindowConsumerStreamSpec[] |
getNamedWindowConsumersAll() |
OnTriggerDesc |
getOnTriggerDesc()
Returns the specification for an on-delete or on-select statement.
|
String |
getOptionalContextName() |
OrderByItem[] |
getOrderByList()
Returns the list of order-by expression as specified in the ORDER BY clause.
|
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.
|
RowLimitSpec |
getRowLimitSpec()
Returns the row limit specification, or null if none supplied.
|
ExpressionScriptProvided[] |
getScripts() |
SelectClauseSpecCompiled |
getSelectClauseSpec()
Returns SELECT-clause list of expressions.
|
SelectClauseStreamSelectorEnum |
getSelectStreamSelectorEnum()
Returns the stream selector (rstream/istream).
|
Map<Integer,List<ExprNode>> |
getSqlParameters() |
StreamSpecCompiled[] |
getStreamSpecs()
Returns the FROM-clause stream definitions.
|
ExprSubselectNode[] |
getSubSelectExpressions()
Returns the list of lookup expression nodes.
|
ExprTableAccessNode[] |
getTableNodes() |
UpdateDesc |
getUpdateSpec()
Returns the update spec if update clause is used.
|
Set<String> |
getVariableReferences()
Return variables referenced.
|
boolean |
isHasVariables()
Returns true to indicate the statement has variables.
|
void |
setFilterExprRootNode(ExprNode optionalFilterNode)
Set the where clause filter node.
|
void |
setFilterSpecsOverall(FilterSpecCompiled[] filterSpecsOverall) |
void |
setHavingExprRootNode(ExprNode havingExprRootNode) |
void |
setInsertIntoDesc(InsertIntoDesc insertIntoDesc)
Sets the insert-into clause.
|
void |
setNamedWindowConsumersAll(NamedWindowConsumerStreamSpec[] namedWindowConsumersAll) |
void |
setSelectClauseSpec(SelectClauseSpecCompiled selectClauseSpec)
Sets the select clause.
|
void |
setSelectStreamDirEnum(SelectClauseStreamSelectorEnum selectStreamDirEnum)
Sets the stream selection.
|
void |
setStreamSpecs(StreamSpecCompiled[] streamSpecs)
Sets the FROM-clause stream definitions.
|
public static final StatementSpecCompiled DEFAULT_SELECT_ALL_EMPTY
public StatementSpecCompiled(OnTriggerDesc onTriggerDesc, CreateWindowDesc createWindowDesc, CreateIndexDesc createIndexDesc, CreateVariableDesc createVariableDesc, CreateTableDesc createTableDesc, CreateSchemaDesc createSchemaDesc, InsertIntoDesc insertIntoDesc, SelectClauseStreamSelectorEnum selectClauseStreamSelectorEnum, SelectClauseSpecCompiled selectClauseSpec, StreamSpecCompiled[] streamSpecs, OuterJoinDesc[] outerJoinDescList, ExprNode filterExprRootNode, ExprNode havingExprRootNode, OutputLimitSpec outputLimitSpec, OrderByItem[] orderByList, ExprSubselectNode[] subSelectExpressions, ExprDeclaredNode[] declaredExpressions, ExpressionScriptProvided[] scripts, Set<String> variableReferences, RowLimitSpec rowLimitSpec, String[] eventTypeReferences, Annotation[] annotations, UpdateDesc updateSpec, MatchRecognizeSpec matchRecognizeSpec, ForClauseSpec forClauseSpec, Map<Integer,List<ExprNode>> sqlParameters, CreateContextDesc contextDesc, String optionalContextName, CreateDataFlowDesc createGraphDesc, CreateExpressionDesc createExpressionDesc, FireAndForgetSpec fireAndForgetSpec, GroupByClauseExpressions groupByExpressions, IntoTableSpec intoTableSpec, ExprTableAccessNode[] tableNodes)
public StatementSpecCompiled()
public CreateWindowDesc getCreateWindowDesc()
public CreateVariableDesc getCreateVariableDesc()
public StreamSpecCompiled[] getStreamSpecs()
public void setStreamSpecs(StreamSpecCompiled[] streamSpecs)
streamSpecs
- list of stream specificationspublic SelectClauseSpecCompiled getSelectClauseSpec()
public ExprNode getFilterRootNode()
public OuterJoinDesc[] getOuterJoinDescList()
public ExprNode getHavingExprRootNode()
public void setHavingExprRootNode(ExprNode havingExprRootNode)
public OutputLimitSpec getOutputLimitSpec()
public InsertIntoDesc getInsertIntoDesc()
public OrderByItem[] getOrderByList()
public SelectClauseStreamSelectorEnum getSelectStreamSelectorEnum()
public void setFilterExprRootNode(ExprNode optionalFilterNode)
optionalFilterNode
- is the where-clause filter nodepublic ExprSubselectNode[] getSubSelectExpressions()
public OnTriggerDesc getOnTriggerDesc()
public boolean isHasVariables()
public void setSelectStreamDirEnum(SelectClauseStreamSelectorEnum selectStreamDirEnum)
selectStreamDirEnum
- stream selectionpublic RowLimitSpec getRowLimitSpec()
public String[] getEventTypeReferences()
public Annotation[] getAnnotations()
public void setInsertIntoDesc(InsertIntoDesc insertIntoDesc)
insertIntoDesc
- insert-into clause.public void setSelectClauseSpec(SelectClauseSpecCompiled selectClauseSpec)
selectClauseSpec
- select clausepublic UpdateDesc getUpdateSpec()
public MatchRecognizeSpec getMatchRecognizeSpec()
public Set<String> getVariableReferences()
public CreateIndexDesc getCreateIndexDesc()
public CreateSchemaDesc getCreateSchemaDesc()
public ForClauseSpec getForClauseSpec()
public ExprDeclaredNode[] getDeclaredExpressions()
public CreateContextDesc getContextDesc()
public String getOptionalContextName()
public CreateDataFlowDesc getCreateGraphDesc()
public CreateExpressionDesc getCreateExpressionDesc()
public FireAndForgetSpec getFireAndForgetSpec()
public GroupByClauseExpressions getGroupByExpressions()
public IntoTableSpec getIntoTableSpec()
public ExprTableAccessNode[] getTableNodes()
public CreateTableDesc getCreateTableDesc()
public void setFilterSpecsOverall(FilterSpecCompiled[] filterSpecsOverall)
public FilterSpecCompiled[] getFilterSpecsOverall()
public NamedWindowConsumerStreamSpec[] getNamedWindowConsumersAll()
public void setNamedWindowConsumersAll(NamedWindowConsumerStreamSpec[] namedWindowConsumersAll)
public ExpressionScriptProvided[] getScripts()