Class EPFireAndForgetServiceImpl

java.lang.Object
com.espertech.esper.runtime.internal.kernel.service.EPFireAndForgetServiceImpl
All Implemented Interfaces:
EPFireAndForgetService

public class EPFireAndForgetServiceImpl extends Object implements EPFireAndForgetService
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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 interface EPFireAndForgetService
      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 interface EPFireAndForgetService
      Parameters:
      compiled - is the compiled EPL query to execute
      contextPartitionSelectors - 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 interface EPFireAndForgetService
      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 using EPFireAndForgetService.executeQuery(EPFireAndForgetPreparedQueryParameterized).

      Call EPFireAndForgetPreparedQueryParameterized.close() when done executing queries.

      Specified by:
      prepareQueryWithParameters in interface EPFireAndForgetService
      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 interface EPFireAndForgetService
      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 interface EPFireAndForgetService
      Parameters:
      parameterizedQuery - contains the query and parameter values
      selectors - selects context partitions to consider
      Returns:
      query result