Package | Description |
---|---|
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.view |
View infrastructure concerned with view creation and destroy, cloning and hooking views trees into filtering.
|
Modifier and Type | Field and Description |
---|---|
static ViewSpec[] |
ViewSpec.EMPTY_VIEWSPEC_ARRAY |
Modifier and Type | Method and Description |
---|---|
ViewSpec[] |
StreamSpecBase.getViewSpecs()
Returns view definitions to use to construct views to derive data on stream.
|
ViewSpec[] |
StreamSpec.getViewSpecs()
Returns views definitions onto the stream
|
static ViewSpec[] |
ViewSpec.toArray(List<ViewSpec> viewSpecs) |
Modifier and Type | Method and Description |
---|---|
List<ViewSpec> |
CreateWindowDesc.getViewSpecs()
Returns the view specifications.
|
Modifier and Type | Method and Description |
---|---|
static ViewSpec[] |
ViewSpec.toArray(List<ViewSpec> viewSpecs) |
Constructor and Description |
---|
DBStatementStreamSpec(String optionalStreamName,
ViewSpec[] viewSpecs,
String databaseName,
String sqlWithSubsParams,
String metadataSQL)
Ctor.
|
FilterStreamSpecCompiled(FilterSpecCompiled filterSpec,
ViewSpec[] viewSpecs,
String optionalStreamName,
StreamSpecOptions streamSpecOptions)
Ctor.
|
FilterStreamSpecRaw(FilterSpecRaw rawFilterSpec,
ViewSpec[] viewSpecs,
String optionalStreamName,
StreamSpecOptions streamSpecOptions)
Ctor.
|
MethodStreamSpec(String optionalStreamName,
ViewSpec[] viewSpecs,
String ident,
String className,
String methodName,
List<ExprNode> expressions,
String eventTypeName)
Ctor.
|
NamedWindowConsumerStreamSpec(String windowName,
String optionalAsName,
ViewSpec[] viewSpecs,
List<ExprNode> filterExpressions,
StreamSpecOptions streamSpecOptions,
PropertyEvaluator optPropertyEvaluator)
Ctor.
|
PatternStreamSpecCompiled(EvalFactoryNode evalFactoryNode,
LinkedHashMap<String,Pair<EventType,String>> taggedEventTypes,
LinkedHashMap<String,Pair<EventType,String>> arrayEventTypes,
LinkedHashSet<String> allTags,
ViewSpec[] viewSpecs,
String optionalStreamName,
StreamSpecOptions streamSpecOptions,
boolean suppressSameEventMatches,
boolean discardPartialsOnMatch) |
PatternStreamSpecRaw(EvalFactoryNode evalFactoryNode,
ViewSpec[] viewSpecs,
String optionalStreamName,
StreamSpecOptions streamSpecOptions,
boolean suppressSameEventMatches,
boolean discardPartialsOnMatch) |
StreamSpecBase(String optionalStreamName,
ViewSpec[] viewSpecs,
StreamSpecOptions streamSpecOptions)
Ctor.
|
TableQueryStreamSpec(String optionalStreamName,
ViewSpec[] viewSpecs,
StreamSpecOptions streamSpecOptions,
String tableName,
List<ExprNode> filterExpressions) |
Constructor and Description |
---|
CreateWindowDesc(String windowName,
List<ViewSpec> viewSpecs,
StreamSpecOptions streamSpecOptions,
boolean insert,
ExprNode insertFilter,
List<ColumnDesc> columns,
String asEventTypeName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
ViewFactoryChain |
ViewServiceImpl.createFactories(int streamNum,
EventType parentEventType,
ViewSpec[] viewSpecDefinitions,
StreamSpecOptions options,
StatementContext context,
boolean isSubquery,
int subqueryNumber) |
ViewFactoryChain |
ViewService.createFactories(int streamNum,
EventType parentEventType,
ViewSpec[] viewSpecList,
StreamSpecOptions options,
StatementContext context,
boolean isSubquery,
int subqueryNumber)
Returns a chain of view factories that can be used to obtain the final event type,
and that can later be used to actually create the chain of views or reuse existing views.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
ViewServiceHelper.addMergeViews(List<ViewSpec> specifications)
Add merge views for any views in the chain requiring a merge (group view).
|
static List<ViewFactory> |
ViewServiceHelper.instantiateFactories(int streamNum,
List<ViewSpec> viewSpecList,
StatementContext statementContext,
boolean isSubquery,
int subqueryNumber)
Given a list of view specifications obtained from by parsing this method instantiates a list of view factories.
|