Package | Description |
---|---|
com.espertech.esper.core.service |
Implementation of client package interfaces, glue code
|
com.espertech.esper.epl.annotation |
Classes for EPL annotation processing.
|
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.core.eval |
Select expression evaluators.
|
com.espertech.esper.epl.db |
Database SQL polling views and caches
|
com.espertech.esper.epl.parse |
Parsers and AST tree walkers and helper classes transforming AST into business objects
|
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.event |
This package defines the internal event APIs.
|
com.espertech.esper.event.bean |
JavaBean and legacy Java underlying event classes are here.
|
com.espertech.esper.util |
Utility classes that center around Java type handling, printing, reflection, debugging
|
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 |
---|---|
EngineImportService |
EPServicesContext.getEngineImportService()
Returns the import and class name resolution service.
|
EngineImportService |
EPServiceProviderSPI.getEngineImportService()
Returns engine imports.
|
EngineImportService |
EPServiceProviderImpl.getEngineImportService() |
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.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.annotation.Annotation[] |
AnnotationUtil.compileAnnotations(java.util.List<AnnotationDesc> annotationSpec,
EngineImportService engineImportService,
java.lang.String eplStatement)
Compile annotation objects from descriptors.
|
Modifier and Type | Class and Description |
---|---|
class |
EngineImportServiceImpl
Implementation for engine-level imports.
|
Modifier and Type | Method and Description |
---|---|
EngineImportService |
MethodResolutionServiceImpl.getEngineImportService() |
EngineImportService |
MethodResolutionService.getEngineImportService() |
Modifier and Type | Method and Description |
---|---|
static HistoricalEventViewable |
MethodPollingViewableFactory.createPollMethodView(int streamNumber,
MethodStreamSpec methodStreamSpec,
EventAdapterService eventAdapterService,
EPStatementAgentInstanceHandle epStatementAgentInstanceHandle,
MethodResolutionService methodResolutionService,
EngineImportService engineImportService,
SchedulingService schedulingService,
ScheduleBucket scheduleBucket,
ExprEvaluatorContext exprEvaluatorContext)
Creates a method-invocation polling view for use as a stream that calls a method, or pulls results from cache.
|
static SelectExprProcessor |
SelectExprInsertEventBeanFactory.getInsertUnderlyingJoinWildcard(EventAdapterService eventAdapterService,
EventType eventType,
java.lang.String[] streamNames,
EventType[] streamTypes,
EngineImportService engineImportService) |
static SelectExprProcessor |
SelectExprInsertEventBeanFactory.getInsertUnderlyingNonJoin(EventAdapterService eventAdapterService,
EventType eventType,
boolean isUsingWildcard,
StreamTypeService typeService,
ExprEvaluator[] expressionNodes,
java.lang.String[] columnNames,
java.lang.Object[] expressionReturnTypes,
EngineImportService engineImportService,
InsertIntoDesc insertIntoDesc,
java.lang.String[] columnNamesAsProvided) |
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 |
---|
MethodResolutionServiceImpl(EngineImportService engineImportService,
TimeProvider timeProvider)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
static SelectExprProcessor |
EvalSelectStreamWUndRecastObjectArrayFactory.make(EventType[] eventTypes,
SelectExprContext selectExprContext,
int streamNumber,
EventType targetType,
ExprNode[] exprNodes,
EngineImportService engineImportService) |
static SelectExprProcessor |
EvalSelectStreamWUndRecastMapFactory.make(EventType[] eventTypes,
SelectExprContext selectExprContext,
int streamNumber,
EventType targetType,
ExprNode[] exprNodes,
EngineImportService engineImportService) |
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 |
---|---|
static void |
ASTLibFunctionHelper.handleLibFunc(CommonTokenStream tokenStream,
EsperEPL2GrammarParser.LibFunctionContext ctx,
ConfigurationInformation configurationInformation,
EngineImportService engineImportService,
java.util.Map<Tree,ExprNode> astExprNodeMap,
LazyAllocatedMap<ConfigurationPlugInAggregationMultiFunction,PlugInAggregationMultiFunctionFactory> plugInAggregations,
java.lang.String engineURI,
ExpressionDeclDesc expressionDeclarations,
ExprDeclaredService exprDeclaredService,
java.util.List<ExpressionScriptProvided> scriptExpressions,
ContextDescriptor contextDescriptor) |
static ExprNode |
ASTAggregationHelper.tryResolveAsAggregation(EngineImportService engineImportService,
boolean distinct,
java.lang.String functionName,
LazyAllocatedMap<ConfigurationPlugInAggregationMultiFunction,PlugInAggregationMultiFunctionFactory> plugInAggregations,
java.lang.String engineURI) |
static AnnotationDesc |
ASTAnnotationHelper.walk(EsperEPL2GrammarParser.AnnotationEnumContext ctx,
EngineImportService engineImportService)
Walk an annotation root name or child node (nested annotations).
|
static CreateDataFlowDesc |
ASTGraphHelper.walkCreateDataFlow(EsperEPL2GrammarParser.CreateDataflowContext ctx,
java.util.Map<Tree,java.lang.Object> astGraphNodeMap,
EngineImportService engineImportService) |
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 |
---|---|
EngineImportService |
StatementSpecMapContext.getEngineImportService()
Returns the engine import 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 | Method and Description |
---|---|
void |
VariableServiceImpl.createNewVariable(java.lang.String optionalContextName,
java.lang.String variableName,
java.lang.String variableType,
boolean constant,
boolean array,
java.lang.Object value,
EngineImportService engineImportService) |
void |
VariableService.createNewVariable(java.lang.String optionalContextName,
java.lang.String variableName,
java.lang.String type,
boolean constant,
boolean array,
java.lang.Object value,
EngineImportService engineImportService)
Creates a new variable.
|
Modifier and Type | Method and Description |
---|---|
static java.util.LinkedHashMap<java.lang.String,java.lang.Object> |
EventTypeUtility.buildType(java.util.List<ColumnDesc> columns,
EventAdapterService eventAdapterService,
java.util.Set<java.lang.String> copyFrom,
EngineImportService engineImportService) |
static EventType |
EventTypeUtility.createNonVariantType(boolean isAnonymous,
CreateSchemaDesc spec,
java.lang.annotation.Annotation[] annotations,
ConfigurationInformation configSnapshot,
EventAdapterService eventAdapterService,
EngineImportService engineImportService) |
static EventBeanManufacturer |
EventAdapterServiceHelper.getManufacturer(EventAdapterService eventAdapterService,
EventType eventType,
WriteablePropertyDescriptor[] properties,
EngineImportService engineImportService,
boolean allowAnyType)
Returns a factory for creating and populating event object instances for the given type.
|
EventBeanManufacturer |
EventAdapterServiceImpl.getManufacturer(EventType eventType,
WriteablePropertyDescriptor[] properties,
EngineImportService engineImportService,
boolean allowAnyType) |
EventBeanManufacturer |
EventAdapterService.getManufacturer(EventType eventType,
WriteablePropertyDescriptor[] properties,
EngineImportService engineImportService,
boolean allowAnyType)
Returns a factory for creating and populating event object instances for the given type.
|
Modifier and Type | Method and Description |
---|---|
static BeanInstantiator |
BeanInstantiatorFactory.makeInstantiator(BeanEventType beanEventType,
EngineImportService engineImportService) |
Constructor and Description |
---|
EventBeanManufacturerBean(BeanEventType beanEventType,
EventAdapterService service,
WriteablePropertyDescriptor[] properties,
EngineImportService engineImportService)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
PopulateUtil.instantiatePopulateObject(java.util.Map<java.lang.String,java.lang.Object> objectProperties,
java.lang.Class topClass,
EngineImportService engineImportService) |
static java.lang.Object |
JsonUtil.parsePopulate(java.lang.String json,
java.lang.Class topClass,
EngineImportService engineImportService) |
static void |
PopulateUtil.populateObject(java.lang.String operatorName,
int operatorNum,
java.lang.String dataFlowName,
java.util.Map<java.lang.String,java.lang.Object> objectProperties,
java.lang.Object top,
EngineImportService engineImportService,
EPDataFlowOperatorParameterProvider optionalParameterProvider,
java.util.Map<java.lang.String,java.lang.Object> optionalParameterURIs) |
static java.lang.Object |
JavaClassHelper.resolveIdentAsEnumConst(java.lang.String constant,
MethodResolutionService methodResolutionService,
EngineImportService engineImportService)
Resolve a string constant as a possible enumeration value, returning null if not resolved.
|
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.
|