Class EPFireAndForgetServiceImpl
java.lang.Object
com.espertech.esper.runtime.internal.kernel.service.EPFireAndForgetServiceImpl
- All Implemented Interfaces:
EPFireAndForgetService
-
Constructor Summary
ConstructorDescriptionEPFireAndForgetServiceImpl
(EPServicesContext services, AtomicBoolean serviceStatusProvider) -
Method Summary
Modifier and TypeMethodDescriptioncom.espertech.esper.common.client.fireandforget.EPFireAndForgetQueryResult
executeQuery
(com.espertech.esper.common.client.EPCompiled compiled) Execute a fire-and-forget query.com.espertech.esper.common.client.fireandforget.EPFireAndForgetQueryResult
executeQuery
(com.espertech.esper.common.client.EPCompiled compiled, com.espertech.esper.common.client.context.ContextPartitionSelector[] contextPartitionSelectors) Execute a fire-and-forget query for use with named windows and tables that have a context declared and that may therefore have multiple context partitions, allows to target context partitions for query execution selectively.com.espertech.esper.common.client.fireandforget.EPFireAndForgetQueryResult
executeQuery
(com.espertech.esper.common.client.fireandforget.EPFireAndForgetPreparedQueryParameterized parameterizedQuery) Execute a fire-and-forget parameterized query.com.espertech.esper.common.client.fireandforget.EPFireAndForgetQueryResult
executeQuery
(com.espertech.esper.common.client.fireandforget.EPFireAndForgetPreparedQueryParameterized parameterizedQuery, com.espertech.esper.common.client.context.ContextPartitionSelector[] selectors) Execute a fire-and-forget parameterized query.com.espertech.esper.common.client.fireandforget.EPFireAndForgetPreparedQuery
prepareQuery
(com.espertech.esper.common.client.EPCompiled compiled) Prepare an unparameterized fire-and-forget query before execution and for repeated execution.com.espertech.esper.common.client.fireandforget.EPFireAndForgetPreparedQueryParameterized
prepareQueryWithParameters
(com.espertech.esper.common.client.EPCompiled compiled) Prepare a parameterized fire-and-forget query for repeated parameter setting and execution.
-
Constructor Details
-
EPFireAndForgetServiceImpl
-
-
Method Details
-
executeQuery
public com.espertech.esper.common.client.fireandforget.EPFireAndForgetQueryResult executeQuery(com.espertech.esper.common.client.EPCompiled compiled) Description copied from interface:EPFireAndForgetService
Execute a fire-and-forget query.- Specified by:
executeQuery
in interfaceEPFireAndForgetService
- Parameters:
compiled
- is the compiled EPL query to execute- Returns:
- query result
-
executeQuery
public com.espertech.esper.common.client.fireandforget.EPFireAndForgetQueryResult executeQuery(com.espertech.esper.common.client.EPCompiled compiled, com.espertech.esper.common.client.context.ContextPartitionSelector[] contextPartitionSelectors) Description copied from interface:EPFireAndForgetService
Execute a fire-and-forget query for use with named windows and tables that have a context declared and that may therefore have multiple context partitions, allows to target context partitions for query execution selectively.- Specified by:
executeQuery
in interfaceEPFireAndForgetService
- Parameters:
compiled
- is the compiled EPL query to executecontextPartitionSelectors
- selects context partitions to consider- Returns:
- result
-
prepareQuery
public com.espertech.esper.common.client.fireandforget.EPFireAndForgetPreparedQuery prepareQuery(com.espertech.esper.common.client.EPCompiled compiled) Description copied from interface:EPFireAndForgetService
Prepare an unparameterized fire-and-forget query before execution and for repeated execution.Call
EPFireAndForgetPreparedQuery.close()
when done executing queries.- Specified by:
prepareQuery
in interfaceEPFireAndForgetService
- Parameters:
compiled
- is the compiled EPL query to prepare- Returns:
- proxy to execute upon, that also provides the event type of the returned results
-
prepareQueryWithParameters
public com.espertech.esper.common.client.fireandforget.EPFireAndForgetPreparedQueryParameterized prepareQueryWithParameters(com.espertech.esper.common.client.EPCompiled compiled) Description copied from interface:EPFireAndForgetService
Prepare a parameterized fire-and-forget query for repeated parameter setting and execution. Set all values on the returned holder then execute usingEPFireAndForgetService.executeQuery(EPFireAndForgetPreparedQueryParameterized)
.Call
EPFireAndForgetPreparedQueryParameterized.close()
when done executing queries.- Specified by:
prepareQueryWithParameters
in interfaceEPFireAndForgetService
- Parameters:
compiled
- is the compiled EPL query to prepare- Returns:
- parameter holder upon which to set values
-
executeQuery
public com.espertech.esper.common.client.fireandforget.EPFireAndForgetQueryResult executeQuery(com.espertech.esper.common.client.fireandforget.EPFireAndForgetPreparedQueryParameterized parameterizedQuery) Description copied from interface:EPFireAndForgetService
Execute a fire-and-forget parameterized query.- Specified by:
executeQuery
in interfaceEPFireAndForgetService
- Parameters:
parameterizedQuery
- contains the query and parameter values- Returns:
- query result
-
executeQuery
public com.espertech.esper.common.client.fireandforget.EPFireAndForgetQueryResult executeQuery(com.espertech.esper.common.client.fireandforget.EPFireAndForgetPreparedQueryParameterized parameterizedQuery, com.espertech.esper.common.client.context.ContextPartitionSelector[] selectors) Description copied from interface:EPFireAndForgetService
Execute a fire-and-forget parameterized query.- Specified by:
executeQuery
in interfaceEPFireAndForgetService
- Parameters:
parameterizedQuery
- contains the query and parameter valuesselectors
- selects context partitions to consider- Returns:
- query result
-