|
Oracle® Fusion Middleware Java API Reference for Oracle Event Processing 11g Release 1 (11.1.1.9) E14303-12 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Inner Class Summary | |
static class |
CQLProcessorMBean.FunctionParameter |
Inner classes inherited from class com.bea.wlevs.management.configuration.ProcessorMBean |
ProcessorMBean.RuleConfigParameters, ProcessorMBean.RuleType |
Field Summary | |
static java.lang.String |
MBEAN_TYPE |
Method Summary | |
void |
addParameters(java.lang.String preparedStatementId, java.lang.String paramsValue) This method binds a new set of parameter values against a parameterized query/view. |
java.lang.String |
addQuery(java.lang.String query) This method will add an CQL query to the designated CQL Processor. |
void |
addQuery(java.lang.String id, java.lang.String query) This method will add an CQL query with a name to the designated CQL Processor. |
void |
addQuery(java.lang.String id, java.lang.String query, boolean active) This method will add an CQL query with a name to the designated CQL Processor. |
void |
addQuery(java.lang.String id, java.lang.String query, boolean active, java.lang.String orderingConstraint, java.lang.String partitionExpression) This method adds an CQL query and configures its ordering constraint. |
void |
addTypeAlias(java.lang.String source, java.lang.String target) This method will add a type alias to the designated CQL Processor. |
java.lang.String |
addView(java.lang.String view) This method will add an CQL view to the designated CQL processor. |
java.lang.String |
addView(java.lang.String view, java.util.List viewSchema) This method will add an CQL query with a name to the designated CQL Processor. |
void |
addView(java.lang.String id, java.lang.String view) This method will add an CQL query with a name to the designated CQL Processor. |
void |
addView(java.lang.String id, java.lang.String view, java.util.List viewSchema) This method will add an CQL query with a name to the designated CQL Processor. |
void |
addView(java.lang.String id, java.lang.String view, java.util.List viewSchema, boolean active) This method will add an CQL view with a name to the designated CQL Processor. |
void |
addView(java.lang.String id, java.lang.String view, java.util.List viewSchema, java.lang.String orderingConstraint, java.lang.String partitionExpression) This method will add an CQL view with a name to the designated CQL Processor. |
void |
bindParameters(java.lang.String preparedStatementId, java.lang.String paramsId, java.lang.String paramsValue) This method binds a new set of named parameter values against a parameterized query/view. |
void |
deleteAllQueries() This methods deletes all queries that has been configured in the CQL Processor. |
void |
deleteAllViews() This methods deletes all views that have been configured in the CQL Processor. |
void |
deleteTypeAlias(java.lang.String source) This method will delete a type alias to the designated CQL Processor. |
java.lang.String[] |
getAllBoundParameterNames(java.lang.String preparedStatementId) This method returns the names of the bound parameters which are bound to a rule identified by the preparedStatementId argument. |
java.util.Map |
getAllBoundParameters(java.lang.String preparedStatementId) This method retrieves all parameter values for a parameterized query identified by the preparedStatementId argument. |
java.util.Map |
getAllFunctionsInfo() Returns all user defined functions that have been associated to this processor, possibly through the wlevs:function tag in the EPN assembly configuration file. |
java.util.Map |
getAllQueries() This method fetches all the queries in this processor. |
java.util.Map |
getAllQueriesInfo() Returns all the queries configured for this processor along with all the information about the queries. |
java.util.Map |
getAllViews() This method fetches all the views in this processor. |
java.util.Map |
getAllViewsInfo() Returns all the views configured for this processor along with all the information about the views. |
java.lang.String |
getBoundParameters(java.lang.String preparedStatementId, java.lang.String paramsId) This method retrieves the set of parameter values with the given name for a parameterized query identified by the preparedStatementId argument. |
java.util.Set |
getEventPropertyNamesForQuerySources(java.lang.String queryId) This method returns the property names for all sources referenced by the query. |
java.util.Set |
getEventPropertyNamesForViewSources(java.lang.String viewId) This method returns the property names for all sources referenced by the view. |
int |
getNumberOfBoundParameters(java.lang.String preparedStatementId) This method returns the number of bound parameters which are bound for the rule identified by the preparedStatementId argument. |
java.util.Map |
getTypeAliases() This method fetches all the aliases in this processor. |
java.util.Map |
getView(java.lang.String id) This method fetches a view with the given id. |
java.util.Map |
getViews(java.lang.String[] ids) This method fetches a set of views with the given ids. |
void |
replaceAllBoundParameters(java.lang.String preparedStatementId, java.lang.String[] paramsIds, java.lang.String[] newParamsValues) This method replaces all parameter values for a parameterized query identified by the ruleId argument with the parameter values provided. |
void |
replaceBoundParameters(java.lang.String preparedStatementId, java.lang.String paramsId, java.lang.String newParamsValue) This method replaces single parameter values for a parameterized query identified by the ruleId argument. |
void |
replaceQuery(java.lang.String id, java.lang.String query) Replaces the query string on the query with the specified id. |
void |
replaceQuery(java.lang.String id, java.lang.String query, java.lang.String orderingConstraint, java.lang.String partitionExpression) Replaces the query string on the query with the specified id. |
void |
replaceTypeAlias(java.lang.String source, java.lang.String target) This method will replace an existing alias of the type. |
void |
replaceView(java.lang.String id, java.lang.String view, java.util.List viewSchema) This method will replace an existing view by another view. |
void |
replaceView(java.lang.String id, java.lang.String view, java.util.List viewSchema, java.lang.String orderingConstraint, java.lang.String partitionExpression) This method will replace an existing view by another view. |
void |
unbindAllParameters(java.lang.String preparedStatementId) This method deletes or unbind all parameter values for the parameterized query identified by the ruleId argument. |
void |
unbindParameters(java.lang.String preparedStatementId, java.lang.String paramsId) This method deletes or unbind the named set of parameter values for the parameterized query identified by the ruleId argument. |
Methods inherited from interface com.bea.wlevs.management.configuration.ProcessorMBean |
addRule, addRule, addRule, addRules, deleteAllRules, deleteRule, deleteRules, downloadRules, getAllRules, getAllRulesInfo, getRule, getRules, isRuleStarted, replaceRule, replaceRules, startRule, stopRule, uploadRules, uploadRules |
Methods inherited from interface com.bea.wlevs.management.configuration.StageMBean |
configurePlayback, configurePlaybackWithDuration, configureRecord, configureRecordWithDuration, getPlaybackConfiguration, getRecordConfiguration, getRecordPlayback, isPlayingBack, isRecording, startPlayback, startRecording, stopPlayback, stopRecording |
Methods inherited from interface com.bea.wlevs.management.WebLogicMBean |
getName, getObjectName, getType |
Methods inherited from interface javax.management.NotificationEmitter |
removeNotificationListener |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, getNotificationInfo, removeNotificationListener |
Field Detail |
public static final java.lang.String MBEAN_TYPE
Method Detail |
public java.lang.String addQuery(java.lang.String query) throws javax.management.JMException
query
- public void addQuery(java.lang.String id, java.lang.String query) throws javax.management.JMException
id-
- A String which has the name of the queryquery-
- A String representing a query in CQL syntaxpublic void addQuery(java.lang.String id, java.lang.String query, boolean active) throws javax.management.JMException
id
- A String which has the name of the queryquery
- A String representing a query in CQL syntaxactive
- indicates if the rule should be started and ready to process eventspublic void addQuery(java.lang.String id, java.lang.String query, boolean active, java.lang.String orderingConstraint, java.lang.String partitionExpression) throws javax.management.JMException
id
- A String which has the name of the queryquery
- A String representing a query in CQL syntaxactive
- indicates if the rule should be started and ready to process eventsorderingConstraint
- String representation of the application's schema type OrderingConstraint
partitionExpression
- String representation of expression to be used for ordered_per_partition option.public void replaceQuery(java.lang.String id, java.lang.String query, java.lang.String orderingConstraint, java.lang.String partitionExpression) throws javax.management.JMException
id
- A String which has the name of the queryquery
- A String representing the new query in CQL syntaxorderingConstraint
- String representation of the application's schema type OrderingConstraint
partitionExpression
- String representation of expression to be used for ordered_per_partition option.public void replaceQuery(java.lang.String id, java.lang.String query) throws javax.management.JMException
id
- A String which has the name of the queryquery
- A String representing the new query in CQL syntaxpublic java.util.Map getAllQueries() throws javax.management.JMException
public java.util.Map getAllQueriesInfo() throws javax.management.JMException
public void deleteAllQueries() throws javax.management.JMException
public java.lang.String addView(java.lang.String view) throws javax.management.JMException
view
- public void addView(java.lang.String id, java.lang.String view) throws javax.management.JMException
id-
- A String which has the name of the viewview
- - A String representing a view in CQL syntaxpublic java.lang.String addView(java.lang.String view, java.util.List viewSchema) throws javax.management.JMException
view
- - A String representing a view in CQL syntaxviewSchema
- - A list of tokens representing the column name for the viewpublic void addView(java.lang.String id, java.lang.String view, java.util.List viewSchema) throws javax.management.JMException
id-
- A String which has the name of the viewview
- - A String representing a view in CQL syntaxviewSchema
- - A list of tokens representing the column name for the viewpublic void addView(java.lang.String id, java.lang.String view, java.util.List viewSchema, boolean active) throws javax.management.JMException
id
- A String which has the name of the viewview
- A String representing a view in CQL syntaxviewSchema
- A list of tokens representing the column name for the viewactive
- Flag indicating if the view should be started and readypublic void addView(java.lang.String id, java.lang.String view, java.util.List viewSchema, java.lang.String orderingConstraint, java.lang.String partitionExpression) throws javax.management.JMException
id
- A String which has the name of the viewview
- A String representing a view in CQL syntaxviewSchema
- A list of tokens representing the column name for the vieworderingConstraint
- String representation of the application's schema type OrderingConstraint
partitionExpression
- String representation of expression to be used for ordered_per_partition option.public void replaceView(java.lang.String id, java.lang.String view, java.util.List viewSchema) throws javax.management.JMException
id
- - A String which has the id of the viewquery-
- A String representing a view in CQL syntaxpublic void replaceView(java.lang.String id, java.lang.String view, java.util.List viewSchema, java.lang.String orderingConstraint, java.lang.String partitionExpression) throws javax.management.JMException
id
- - A String which has the id of the viewquery-
- A String representing a view in CQL syntaxorderingConstraint
- String representation of the application's schema type OrderingConstraint
partitionExpression
- String representation of expression to be used for ordered_per_partition option.public java.util.Map getView(java.lang.String id) throws javax.management.JMException
id
- - A string which represents the id of the viewpublic java.util.Map getViews(java.lang.String[] ids) throws javax.management.JMException
id
- - A array of strings which represents the id of the viewspublic java.util.Map getAllViews() throws javax.management.JMException
public java.util.Map getAllViewsInfo() throws javax.management.JMException
public void deleteAllViews() throws javax.management.JMException
public java.util.Map getAllFunctionsInfo() throws javax.management.JMException
wlevs:function
tag in the EPN assembly configuration file.FunctionParameter
, and the values are defined by the enumeration.public void addTypeAlias(java.lang.String source, java.lang.String target) throws javax.management.JMException
source-
- Alias stringtarget-
- destination string of the alias i.e. complete type stringpublic void deleteTypeAlias(java.lang.String source) throws javax.management.JMException
source-
- Alias stringpublic void replaceTypeAlias(java.lang.String source, java.lang.String target) throws javax.management.JMException
source-
- Alias stringtarget-
- destination string of the alias i.e. complete type stringpublic java.util.Map getTypeAliases() throws javax.management.JMException
public void addParameters(java.lang.String preparedStatementId, java.lang.String paramsValue) throws javax.management.JMException
preparedStatementId
- identifier of parameterized query.paramsId
- Identifier for the set of parameter values.paramsValue
- comma separated string of parameter values to bind against parameterized query.public void bindParameters(java.lang.String preparedStatementId, java.lang.String paramsId, java.lang.String paramsValue) throws javax.management.JMException
preparedStatementId
- identifier of parameterized query.paramsId
- Identifier for the set of parameter values.paramsValue
- comma separated string of parameter values to bind against parameterized query.public void replaceBoundParameters(java.lang.String preparedStatementId, java.lang.String paramsId, java.lang.String newParamsValue) throws javax.management.JMException
preparedStatementId
- identifier of parameterized query.paramsId
- String identifier for parameter name or old parameter valuenewParamsValue
- new String parameter value to bind against parameterized query.public void replaceAllBoundParameters(java.lang.String preparedStatementId, java.lang.String[] paramsIds, java.lang.String[] newParamsValues) throws javax.management.JMException
preparedStatementId
- identifier of parameterized query.paramsIds
- String array defining the identifier for each parameterized value set.newParamsValues
- String array of comma separated parameter value sets to bind against parameterized query.public void unbindParameters(java.lang.String preparedStatementId, java.lang.String paramsId) throws javax.management.JMException
preparedStatementId
- identifier of parameterized query.paramsId
- String identifier of parameter values.public void unbindAllParameters(java.lang.String preparedStatementId) throws javax.management.JMException
preparedStatementId
- identifier of parameterized query.public java.lang.String getBoundParameters(java.lang.String preparedStatementId, java.lang.String paramsId) throws javax.management.JMException
preparedStatementId
- identifier of parameterized query.paramsId
- name of parameter values.public java.util.Map getAllBoundParameters(java.lang.String preparedStatementId) throws javax.management.JMException
preparedStatementId
- identifier of parameterized query.public int getNumberOfBoundParameters(java.lang.String preparedStatementId) throws javax.management.JMException
preparedStatementId
- A string which represents the id of the rulepublic java.lang.String[] getAllBoundParameterNames(java.lang.String preparedStatementId) throws javax.management.JMException
preparedStatementId
- A String which represents the id of the rule.public java.util.Set getEventPropertyNamesForQuerySources(java.lang.String queryId) throws javax.management.JMException
select * from S
, where S
is defined as a stream of the event type 'String a, String b'
, this method would return a set containing the Strings 'a'
and 'b'
.queryId
- The string representing the id of a queryqueryId
public java.util.Set getEventPropertyNamesForViewSources(java.lang.String viewId) throws javax.management.JMException
select * from S
, where S
is defined as a stream of the event type 'String a, String b'
, this method would return a set containing the Strings 'a'
and 'b'
.viewId
- The string representing the id of a viewviewId
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |