Class FAFQueryMethodIUDBase
java.lang.Object
com.espertech.esper.common.internal.epl.fafquery.querymethod.FAFQueryMethodIUDBase
- All Implemented Interfaces:
FAFQueryMethod
,FAFQueryMethodSessionPrepared
,FAFQuerySession
,FAFQuerySessionUnprepared
- Direct Known Subclasses:
FAFQueryMethodIUDDelete
,FAFQueryMethodIUDInsertInto
,FAFQueryMethodIUDUpdate
public abstract class FAFQueryMethodIUDBase
extends Object
implements FAFQueryMethod, FAFQueryMethodSessionPrepared, FAFQuerySessionUnprepared
Starts and provides the stop method for EPL statements.
-
Field Summary
Fields inherited from interface com.espertech.esper.common.internal.epl.fafquery.querymethod.FAFQueryMethod
EPTYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
dispatch()
protected abstract EventBean[]
execute
(FireAndForgetInstance fireAndForgetProcessorInstance) execute
(AtomicBoolean serviceStatusProvider, FAFQueryMethodAssignerSetter assignerSetter, ContextPartitionSelector[] contextPartitionSelectors, ContextManagementService contextManagementService) Returns the event type of the prepared statement.void
init()
prepared()
readyPrepared
(StatementContextRuntimeServices services) void
setAnnotations
(Annotation[] annotations) void
setContextName
(String contextName) void
setHasTableAccess
(boolean hasTableAccess) void
setInternalEventRouteDest
(InternalEventRouteDest internalEventRouteDest) void
setProcessor
(FireAndForgetProcessor processor) void
setQueryGraph
(QueryGraph queryGraph) void
setSubselects
(Map<Integer, SubSelectFactory> subselects) void
setTableAccesses
(Map<Integer, ExprTableEvalStrategyFactory> tableAccesses)
-
Field Details
-
queryGraph
-
-
Constructor Details
-
FAFQueryMethodIUDBase
public FAFQueryMethodIUDBase()
-
-
Method Details
-
setContextName
-
setProcessor
-
setInternalEventRouteDest
-
setQueryGraph
-
setAnnotations
-
setTableAccesses
-
setHasTableAccess
public void setHasTableAccess(boolean hasTableAccess) -
getSubselects
-
setSubselects
-
execute
-
readyUnprepared
- Specified by:
readyUnprepared
in interfaceFAFQueryMethod
-
readyPrepared
- Specified by:
readyPrepared
in interfaceFAFQueryMethod
-
prepared
-
unprepared
-
init
public void init() -
close
public void close()- Specified by:
close
in interfaceFAFQueryMethodSessionPrepared
-
execute
public EPPreparedQueryResult execute(AtomicBoolean serviceStatusProvider, FAFQueryMethodAssignerSetter assignerSetter, ContextPartitionSelector[] contextPartitionSelectors, ContextManagementService contextManagementService) - Specified by:
execute
in interfaceFAFQuerySession
-
getEventType
Returns the event type of the prepared statement.- Specified by:
getEventType
in interfaceFAFQueryMethod
- Returns:
- event type
-
getAnnotations
-
dispatch
protected void dispatch()
-