Package | Description |
---|---|
com.espertech.esper.core.service |
Implementation of client package interfaces, glue code
|
com.espertech.esper.epl.agg.service |
Aggregation services.
|
com.espertech.esper.epl.core |
Contains EPL statement specification classes define the constructs that make up an EPL statement,
such as the list of items in the select clause, the insert-into stream name and property names etc.
|
com.espertech.esper.epl.db |
Database SQL polling views and caches
|
com.espertech.esper.epl.expression |
This package contains the EPL expression nodes that represent all expressions such as used in select clauses, group-by and having clauses, or order-by clauses
|
com.espertech.esper.epl.named |
Named window classes are in this package
|
com.espertech.esper.epl.parse |
Parsers and AST tree walkers and helper classes transforming AST into business objects
|
com.espertech.esper.epl.property |
Classes for handling events-within-events.
|
com.espertech.esper.epl.spec |
Contains EPL statement specification classes define the constructs that make up an EPL statement,
such as the list of items in the select clause, the insert-into stream name and property names etc.
|
com.espertech.esper.epl.variable |
Variable service and variable collections
|
com.espertech.esper.filter |
Main switchboard filtering and routing of incoming events to interested statements is performed in this package.
|
com.espertech.esper.pattern |
Pattern expression tree and pattern state objects, the later resembles pattern expression state for each active pattern instance
|
com.espertech.esper.view |
View infrastructure concerned with view creation and destroy, cloning and hooking views trees into filtering.
|
Modifier and Type | Method and Description |
---|---|
VariableService |
StatementContextEngineServices.getVariableService() |
VariableService |
StatementContext.getVariableService()
Returns variable service.
|
VariableService |
EPServicesContext.getVariableService()
Returns the variable service.
|
VariableService |
EPServiceProviderSPI.getVariableService()
Returns variable services.
|
VariableService |
EPServiceProviderImpl.getVariableService() |
Modifier and Type | Method and Description |
---|---|
static StatementSpecRaw |
EPAdministratorHelper.compileEPL(java.lang.String eplStatement,
java.lang.String eplStatementForErrorMsg,
boolean addPleaseCheck,
java.lang.String statementName,
SelectClauseStreamSelectorEnum defaultStreamSelector,
EngineImportService engineImportService,
VariableService variableService,
SchedulingService schedulingService,
java.lang.String engineURI,
ConfigurationInformation configSnapshot,
PatternNodeFactory patternNodeFactory,
ContextManagementService contextManagementService,
ExprDeclaredService exprDeclaredService)
Compile the EPL.
|
Constructor and Description |
---|
ConfigurationOperationsImpl(EventAdapterService eventAdapterService,
EventTypeIdGenerator eventTypeIdGenerator,
EngineImportService engineImportService,
VariableService variableService,
EngineSettingsService engineSettingsService,
ValueAddEventService valueAddEventService,
MetricReportingService metricReportingService,
StatementEventTypeRef statementEventTypeRef,
StatementVariableRef statementVariableRef,
PluggableObjectCollection plugInViews,
FilterService filterService,
PatternSubexpressionPoolEngineSvc patternSubexpressionPoolSvc)
Ctor.
|
EPServicesContext(java.lang.String engineURI,
SchedulingServiceSPI schedulingService,
EventAdapterService eventAdapterService,
EngineImportService engineImportService,
EngineSettingsService engineSettingsService,
DatabaseConfigService databaseConfigService,
PluggableObjectCollection plugInViews,
StatementLockFactory statementLockFactory,
ManagedReadWriteLock eventProcessingRWLock,
ExtensionServicesContext extensionServicesContext,
EngineEnvContext engineEnvContext,
StatementContextFactory statementContextFactory,
PluggableObjectCollection plugInPatternObjects,
TimerService timerService,
FilterServiceSPI filterService,
StreamFactoryService streamFactoryService,
NamedWindowService namedWindowService,
VariableService variableService,
TimeSourceService timeSourceService,
ValueAddEventService valueAddEventService,
MetricReportingServiceSPI metricsReportingService,
StatementEventTypeRef statementEventTypeRef,
StatementVariableRef statementVariableRef,
ConfigurationInformation configSnapshot,
ThreadingService threadingServiceImpl,
InternalEventRouterImpl internalEventRouter,
StatementIsolationService statementIsolationService,
SchedulingMgmtService schedulingMgmtService,
DeploymentStateService deploymentStateService,
ExceptionHandlingService exceptionHandlingService,
PatternNodeFactory patternNodeFactory,
EventTypeIdGenerator eventTypeIdGenerator,
StatementMetadataFactory statementMetadataFactory,
ContextManagementService contextManagementService,
SchedulableAgentInstanceDirectory schedulableAgentInstanceDirectory,
PatternSubexpressionPoolEngineSvc patternSubexpressionPoolSvc,
DataFlowService dataFlowService,
ExprDeclaredService exprDeclaredService)
Constructor - sets up new set of services.
|
StatementContextEngineServices(java.lang.String engineURI,
EventAdapterService eventAdapterService,
NamedWindowService namedWindowService,
VariableService variableService,
EngineSettingsService engineSettingsService,
ValueAddEventService valueAddEventService,
ConfigurationInformation configSnapshot,
MetricReportingServiceSPI metricReportingService,
ViewService viewService,
ExceptionHandlingService exceptionHandlingService,
ExpressionResultCacheService expressionResultCacheService,
StatementEventTypeRef statementEventTypeRef) |
StatementVariableRefImpl(VariableService variableService)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
AggregationServiceFactory |
AggregationServiceFactoryServiceImpl.getGroupReclaimAged(ExprEvaluator[] evaluatorsArr,
AggregationMethodFactory[] aggregatorsArr,
Hint reclaimGroupAged,
Hint reclaimGroupFrequency,
VariableService variableService,
AggregationAccessorSlotPair[] pairs,
AggregationStateFactory[] accessAggregations,
boolean join,
java.lang.Object groupKeyBinding,
java.lang.String optionalContextName) |
AggregationServiceFactory |
AggregationServiceFactoryService.getGroupReclaimAged(ExprEvaluator[] evaluatorsArr,
AggregationMethodFactory[] aggregatorsArr,
Hint reclaimGroupAged,
Hint reclaimGroupFrequency,
VariableService variableService,
AggregationAccessorSlotPair[] pairs,
AggregationStateFactory[] accessAggregations,
boolean join,
java.lang.Object groupKeyBinding,
java.lang.String optionalContextName) |
static AggregationServiceFactoryDesc |
AggregationServiceFactoryFactory.getService(java.util.List<ExprAggregateNode> selectAggregateExprNodes,
ExprNode[] groupByNodes,
java.util.List<ExprAggregateNode> havingAggregateExprNodes,
java.util.List<ExprAggregateNode> orderByAggregateExprNodes,
java.util.List<ExprAggregateNodeGroupKey> groupKeyExpressions,
boolean hasGroupByClause,
ExprEvaluatorContext exprEvaluatorContext,
java.lang.annotation.Annotation[] annotations,
VariableService variableService,
boolean isJoin,
boolean isDisallowNoReclaim,
ExprNode whereClause,
ExprNode havingClause,
AggregationServiceFactoryService factoryService,
EventType[] typesPerStream,
MethodResolutionService methodResolutionService,
AggregationGroupByRollupDesc groupByRollupDesc,
java.lang.String optionalContextName)
Returns an instance to handle the aggregation required by the aggregation expression nodes, depending on
whether there are any group-by nodes.
|
Constructor and Description |
---|
AggSvcGroupByReclaimAgedFactory(ExprEvaluator[] evaluators,
AggregationMethodFactory[] prototypes,
java.lang.Object groupKeyBinding,
Hint reclaimGroupAged,
Hint reclaimGroupFrequency,
VariableService variableService,
AggregationAccessorSlotPair[] accessors,
AggregationStateFactory[] accessAggregations,
boolean isJoin,
java.lang.String optionalContextName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
static SelectExprProcessor |
SelectExprProcessorFactory.getProcessor(java.util.Collection<java.lang.Integer> assignedTypeNumberStack,
SelectClauseElementCompiled[] selectionList,
boolean isUsingWildcard,
InsertIntoDesc insertIntoDesc,
ForClauseSpec forClauseSpec,
StreamTypeService typeService,
EventAdapterService eventAdapterService,
StatementResultService statementResultService,
ValueAddEventService valueAddEventService,
SelectExprEventTypeRegistry selectExprEventTypeRegistry,
MethodResolutionService methodResolutionService,
ExprEvaluatorContext exprEvaluatorContext,
VariableService variableService,
TimeProvider timeProvider,
java.lang.String engineURI,
java.lang.String statementId,
java.lang.String statementName,
java.lang.annotation.Annotation[] annotations,
ContextDescriptor contextDescriptor,
ConfigurationInformation configuration,
SelectExprProcessorDeliveryCallback selectExprProcessorCallback,
NamedWindowService namedWindowService)
Returns the processor to use for a given select-clause.
|
static OrderByProcessorFactory |
OrderByProcessorFactoryFactory.getProcessor(java.util.List<SelectClauseExprCompiledSpec> selectionList,
ExprNode[] groupByNodes,
java.util.List<OrderByItem> orderByList,
RowLimitSpec rowLimitSpec,
VariableService variableService,
boolean isSortUsingCollator,
java.lang.String optionalContextName)
Returns processor for order-by clauses.
|
void |
MethodPollingViewable.validate(EngineImportService engineImportService,
StreamTypeService streamTypeService,
MethodResolutionService methodResolutionService,
TimeProvider timeProvider,
VariableService variableService,
ExprEvaluatorContext exprEvaluatorContext,
ConfigurationInformation configSnapshot,
SchedulingService schedulingService,
java.lang.String engineURI,
java.util.Map<java.lang.Integer,java.util.List<ExprNode>> sqlParameters,
EventAdapterService eventAdapterService,
java.lang.String statementName,
java.lang.String statementId,
java.lang.annotation.Annotation[] annotations) |
Constructor and Description |
---|
OrderByProcessorRowLimitFactory(RowLimitSpec rowLimitSpec,
VariableService variableService,
java.lang.String optionalContextName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
DatabasePollingViewable.validate(EngineImportService engineImportService,
StreamTypeService streamTypeService,
MethodResolutionService methodResolutionService,
TimeProvider timeProvider,
VariableService variableService,
ExprEvaluatorContext exprEvaluatorContext,
ConfigurationInformation configSnapshot,
SchedulingService schedulingService,
java.lang.String engineURI,
java.util.Map<java.lang.Integer,java.util.List<ExprNode>> sqlParameters,
EventAdapterService eventAdapterService,
java.lang.String statementName,
java.lang.String statementId,
java.lang.annotation.Annotation[] annotations) |
Modifier and Type | Method and Description |
---|---|
VariableService |
ExprValidationContext.getVariableService() |
Constructor and Description |
---|
ExprValidationContext(StreamTypeService streamTypeService,
MethodResolutionService methodResolutionService,
ViewResourceDelegateUnverified viewResourceDelegate,
TimeProvider timeProvider,
VariableService variableService,
ExprEvaluatorContext exprEvaluatorContext,
EventAdapterService eventAdapterService,
java.lang.String statementName,
java.lang.String statementId,
java.lang.annotation.Annotation[] annotations,
ContextDescriptor contextDescriptor,
boolean disablePropertyExpressionEventCollCache,
boolean allowRollupFunctions) |
Constructor and Description |
---|
NamedWindowServiceImpl(SchedulingService schedulingService,
StatementLockFactory statementLockFactory,
VariableService variableService,
boolean isPrioritized,
ManagedReadWriteLock eventProcessingRWLock,
ExceptionHandlingService exceptionHandlingService,
boolean enableQueryPlanLog,
MetricReportingService metricReportingService)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
static void |
ASTExprHelper.addOptionalSimpleProperty(ExprNode exprNode,
Token token,
VariableService variableService,
StatementSpecRaw spec) |
static OutputLimitSpec |
ASTOutputLimitHelper.buildOutputLimitSpec(CommonTokenStream tokenStream,
EsperEPL2GrammarParser.OutputLimitContext ctx,
java.util.Map<Tree,ExprNode> astExprNodeMap,
VariableService variableService,
java.lang.String engineURI,
TimeProvider timeProvider,
ExprEvaluatorContext exprEvaluatorContext)
Build an output limit spec from the AST node supplied.
|
static ExprNode |
ASTExprHelper.resolvePropertyOrVariableIdentifier(java.lang.String identifier,
VariableService variableService,
StatementSpecRaw spec) |
static ExprTimePeriod |
ASTExprHelper.timePeriodGetExprAllParams(EsperEPL2GrammarParser.TimePeriodContext ctx,
java.util.Map<Tree,ExprNode> astExprNodeMap,
VariableService variableService,
StatementSpecRaw spec) |
Constructor and Description |
---|
EPLTreeWalkerListener(CommonTokenStream tokenStream,
EngineImportService engineImportService,
VariableService variableService,
SchedulingService schedulingService,
SelectClauseStreamSelectorEnum defaultStreamSelector,
java.lang.String engineURI,
ConfigurationInformation configurationInformation,
PatternNodeFactory patternNodeFactory,
ContextManagementService contextManagementService,
java.util.List<java.lang.String> scriptBodies,
ExprDeclaredService exprDeclaredService)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
static PropertyEvaluator |
PropertyEvaluatorFactory.makeEvaluator(PropertyEvalSpec spec,
EventType sourceEventType,
java.lang.String optionalSourceStreamName,
EventAdapterService eventAdapterService,
MethodResolutionService methodResolutionService,
TimeProvider timeProvider,
VariableService variableService,
java.lang.String engineURI,
java.lang.String statementId,
java.lang.String statementName,
java.lang.annotation.Annotation[] annotations,
java.util.Collection<java.lang.Integer> assignedTypeNumberStack,
ConfigurationInformation configuration,
NamedWindowService namedWindowService)
Makes the property evaluator.
|
Modifier and Type | Method and Description |
---|---|
VariableService |
StatementSpecMapContext.getVariableService()
Returns the variable service.
|
Modifier and Type | Method and Description |
---|---|
static StatementSpecRaw |
StatementSpecMapper.map(EPStatementObjectModel sodaStatement,
EngineImportService engineImportService,
VariableService variableService,
ConfigurationInformation configuration,
SchedulingService schedulingService,
java.lang.String engineURI,
PatternNodeFactory patternNodeFactory,
NamedWindowService namedWindowService,
ContextManagementService contextManagementService,
ExprDeclaredService exprDeclaredService)
Maps the SODA object model to a statement specification.
|
Constructor and Description |
---|
StatementSpecMapContext(EngineImportService engineImportService,
VariableService variableService,
ConfigurationInformation configuration,
SchedulingService schedulingService,
java.lang.String engineURI,
PatternNodeFactory patternNodeFactory,
NamedWindowService namedWindowService,
ContextManagementService contextManagementService,
ExprDeclaredService exprDeclaredService,
ContextDescriptor contextDescriptor)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
VariableServiceImpl
Variables service for reading and writing variables, and for setting a version number for the current thread to
consider variables for.
|
Modifier and Type | Method and Description |
---|---|
VariableService |
OnSetVariableViewFactory.getVariableService() |
Modifier and Type | Method and Description |
---|---|
void |
VariableReadWritePackage.writeVariables(VariableService variableService,
EventBean[] eventsPerStream,
java.util.Map<java.lang.String,java.lang.Object> valuesWritten,
ExprEvaluatorContext exprEvaluatorContext)
Write new variable values and commit, evaluating assignment expressions using the given
events per stream.
|
Constructor and Description |
---|
CreateVariableView(java.lang.String statementId,
EventAdapterService eventAdapterService,
VariableService variableService,
java.lang.String variableName,
StatementResultService statementResultService)
Ctor.
|
OnSetVariableViewFactory(java.lang.String statementId,
OnTriggerSetDesc desc,
EventAdapterService eventAdapterService,
VariableService variableService,
StatementResultService statementResultService,
ExprEvaluatorContext exprEvaluatorContext)
Ctor.
|
VariableReadWritePackage(java.util.List<OnTriggerSetAssignment> assignments,
VariableService variableService,
EventAdapterService eventAdapterService)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
static FilterSpecCompiled |
FilterSpecCompiler.buildNoStmtCtx(java.util.List<ExprNode> validatedNodes,
EventType eventType,
java.lang.String eventTypeName,
PropertyEvalSpec optionalPropertyEvalSpec,
java.util.LinkedHashMap<java.lang.String,Pair<EventType,java.lang.String>> taggedEventTypes,
java.util.LinkedHashMap<java.lang.String,Pair<EventType,java.lang.String>> arrayEventTypes,
StreamTypeService streamTypeService,
java.lang.String optionalStreamName,
java.util.Collection<java.lang.Integer> assignedTypeNumberStack,
ExprEvaluatorContext exprEvaluatorContext,
java.lang.String statementId,
java.lang.String statementName,
java.lang.annotation.Annotation[] annotations,
ContextDescriptor contextDescriptor,
MethodResolutionService methodResolutionService,
EventAdapterService eventAdapterService,
TimeProvider timeProvider,
VariableService variableService,
ConfigurationInformation configurationInformation,
NamedWindowService namedWindowService) |
Constructor and Description |
---|
ExprNodeAdapterBaseStmtLock(java.lang.String statementName,
ExprNode exprNode,
ExprEvaluatorContext evaluatorContext,
VariableService variableService) |
ExprNodeAdapterBaseVariables(java.lang.String statementName,
ExprNode exprNode,
ExprEvaluatorContext evaluatorContext,
VariableService variableService) |
ExprNodeAdapterMultiStream(java.lang.String statementName,
ExprNode exprNode,
ExprEvaluatorContext evaluatorContext,
VariableService variableService,
EventBean[] prototype) |
ExprNodeAdapterMultiStreamNoTL(java.lang.String statementName,
ExprNode exprNode,
ExprEvaluatorContext evaluatorContext,
VariableService variableService,
EventBean[] prototype) |
ExprNodeAdapterMultiStreamNoTLStmtLock(java.lang.String statementName,
ExprNode exprNode,
ExprEvaluatorContext evaluatorContext,
VariableService variableService,
EventBean[] prototype) |
ExprNodeAdapterMultiStreamStmtLock(java.lang.String statementName,
ExprNode exprNode,
ExprEvaluatorContext evaluatorContext,
VariableService variableService,
EventBean[] prototype) |
FilterSpecParamExprNode(FilterSpecLookupable lookupable,
FilterOperator filterOperator,
ExprNode exprNode,
java.util.LinkedHashMap<java.lang.String,Pair<EventType,java.lang.String>> taggedEventTypes,
java.util.LinkedHashMap<java.lang.String,Pair<EventType,java.lang.String>> arrayEventTypes,
VariableService variableService,
EventAdapterService eventAdapterService,
ConfigurationInformation configurationInformation,
java.lang.String statementName,
boolean hasSubquery)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
VariableService |
PatternContext.getVariableService()
Returns the variable service.
|
Modifier and Type | Method and Description |
---|---|
void |
ValidatedView.validate(EngineImportService engineImportService,
StreamTypeService streamTypeService,
MethodResolutionService methodResolutionService,
TimeProvider timeProvider,
VariableService variableService,
ExprEvaluatorContext exprEvaluatorContext,
ConfigurationInformation configSnapshot,
SchedulingService schedulingService,
java.lang.String engineURI,
java.util.Map<java.lang.Integer,java.util.List<ExprNode>> sqlParameters,
EventAdapterService eventAdapterService,
java.lang.String statementName,
java.lang.String statementId,
java.lang.annotation.Annotation[] annotations)
Validate the view.
|