com.espertech.esper.client
Interface ConfigurationInformation

All Known Implementing Classes:
Configuration

public interface ConfigurationInformation

Provides configurations for an engine instance.


Method Summary
 Map<String,ConfigurationDBRef> getDatabaseReferences()
          Returns a map of string database names to database configuration options.
 ConfigurationEngineDefaults getEngineDefaults()
          Returns engine default settings.
 String getEPServicesContextFactoryClassName()
          Returns the service context factory class name
 Map<String,String> getEventTypeAliases()
          Returns the mapping of event type alias to Java class name.
 Set<String> getEventTypeAutoAliasPackages()
          Returns a set of Java package names that Java event classes reside in.
 Map<String,ConfigurationEventTypeLegacy> getEventTypesLegacy()
          Returns the mapping of event type alias to legacy java event type information.
 Map<String,Properties> getEventTypesMapEvents()
          Returns a map keyed by event type alias name, and values being the definition for the event type of the property names and types that make up the event.
 Map<String,Map<String,Object>> getEventTypesNestableMapEvents()
          Returns a map keyed by event type alias name, and values being the definition for the event type of the property names and types that make up the event, for nestable, strongly-typed Map-based event representations.
 Map<String,ConfigurationEventTypeXMLDOM> getEventTypesXMLDOM()
          Returns the mapping of event type alias to XML DOM event type information.
 List<String> getImports()
          Returns the class and package imports.
 Map<String,ConfigurationMethodRef> getMethodInvocationReferences()
          Returns a map of class name and cache configurations, for use in method invocations in the from-clause of methods provided by the class.
 List<ConfigurationPlugInAggregationFunction> getPlugInAggregationFunctions()
          Returns a list of configured plug-in aggregation functions.
 Map<URI,ConfigurationPlugInEventRepresentation> getPlugInEventRepresentation()
          Returns a map of plug-in event representation URI and their event representation class and initializer.
 URI[] getPlugInEventTypeAliasResolutionURIs()
          Returns the URIs that point to plug-in event representations that are given a chance to dynamically resolve an event type alias to an event type, when a new (unseen) event type alias occurs in a new EPL statement.
 Map<String,ConfigurationPlugInEventType> getPlugInEventTypes()
          Returns a map of event type alias of those event types that will be supplied by a plug-in event representation, and their configuration.
 List<ConfigurationPluginLoader> getPluginLoaders()
          Returns a list of configured plugin loaders.
 List<ConfigurationPlugInPatternObject> getPlugInPatternObjects()
          Returns a list of configured plug-ins for pattern observers and guards.
 List<ConfigurationPlugInView> getPlugInViews()
          Returns a list of configured plug-in views.
 Map<String,ConfigurationRevisionEventType> getRevisionEventTypes()
          Returns a map of revision event type alias and revision event type configuration.
 Map<String,ConfigurationVariable> getVariables()
          Returns the variables by name as key and type plus initialization value as value
 Map<String,ConfigurationVariantStream> getVariantStreams()
          Returns a map of variant stream alias and variant configuration information.
 

Method Detail

getEPServicesContextFactoryClassName

String getEPServicesContextFactoryClassName()
Returns the service context factory class name

Returns:
class name

getEventTypeAliases

Map<String,String> getEventTypeAliases()
Returns the mapping of event type alias to Java class name.

Returns:
event type aliases for Java class names

getEventTypesMapEvents

Map<String,Properties> getEventTypesMapEvents()
Returns a map keyed by event type alias name, and values being the definition for the event type of the property names and types that make up the event.

Returns:
map of event type alias name and definition of event properties

getEventTypesNestableMapEvents

Map<String,Map<String,Object>> getEventTypesNestableMapEvents()
Returns a map keyed by event type alias name, and values being the definition for the event type of the property names and types that make up the event, for nestable, strongly-typed Map-based event representations.

Returns:
map of event type alias name and definition of event properties

getEventTypesXMLDOM

Map<String,ConfigurationEventTypeXMLDOM> getEventTypesXMLDOM()
Returns the mapping of event type alias to XML DOM event type information.

Returns:
event type aliases mapping to XML DOM configs

getEventTypesLegacy

Map<String,ConfigurationEventTypeLegacy> getEventTypesLegacy()
Returns the mapping of event type alias to legacy java event type information.

Returns:
event type aliases mapping to legacy java class configs

getImports

List<String> getImports()
Returns the class and package imports.

Returns:
imported names

getDatabaseReferences

Map<String,ConfigurationDBRef> getDatabaseReferences()
Returns a map of string database names to database configuration options.

Returns:
map of database configurations

getPlugInViews

List<ConfigurationPlugInView> getPlugInViews()
Returns a list of configured plug-in views.

Returns:
list of plug-in view configs

getPluginLoaders

List<ConfigurationPluginLoader> getPluginLoaders()
Returns a list of configured plugin loaders.

Returns:
adapter loaders

getPlugInAggregationFunctions

List<ConfigurationPlugInAggregationFunction> getPlugInAggregationFunctions()
Returns a list of configured plug-in aggregation functions.

Returns:
list of configured aggregations

getPlugInPatternObjects

List<ConfigurationPlugInPatternObject> getPlugInPatternObjects()
Returns a list of configured plug-ins for pattern observers and guards.

Returns:
list of pattern plug-ins

getEngineDefaults

ConfigurationEngineDefaults getEngineDefaults()
Returns engine default settings.

Returns:
engine defaults

getVariables

Map<String,ConfigurationVariable> getVariables()
Returns the variables by name as key and type plus initialization value as value

Returns:
map of variable name and variable configuration

getMethodInvocationReferences

Map<String,ConfigurationMethodRef> getMethodInvocationReferences()
Returns a map of class name and cache configurations, for use in method invocations in the from-clause of methods provided by the class.

Returns:
map of fully-qualified or simple class name and cache configuration

getEventTypeAutoAliasPackages

Set<String> getEventTypeAutoAliasPackages()
Returns a set of Java package names that Java event classes reside in.

This setting allows an application to place all it's events into one or more Java packages and then declare these packages via this method. The engine attempts to resolve an event type alias to a Java class residing in each declared package.

For example, in the statement "select * from MyEvent" the engine attempts to load class "javaPackageName.MyEvent" and if successful, uses that class as the event type.

Returns:
set of Java package names to look for events types when encountering a new event type alias

getPlugInEventRepresentation

Map<URI,ConfigurationPlugInEventRepresentation> getPlugInEventRepresentation()
Returns a map of plug-in event representation URI and their event representation class and initializer.

Returns:
map of URI keys and event representation configuration

getPlugInEventTypes

Map<String,ConfigurationPlugInEventType> getPlugInEventTypes()
Returns a map of event type alias of those event types that will be supplied by a plug-in event representation, and their configuration.

Returns:
map of alias to plug-in event type config

getPlugInEventTypeAliasResolutionURIs

URI[] getPlugInEventTypeAliasResolutionURIs()
Returns the URIs that point to plug-in event representations that are given a chance to dynamically resolve an event type alias to an event type, when a new (unseen) event type alias occurs in a new EPL statement.

The order of the URIs matters as event representations are asked in turn, to accept the alias.

URIs can be child URIs of plug-in event representations and can add additional parameters or fragments for use by the event representation.

Returns:
URIs for resolving an event type alias

getRevisionEventTypes

Map<String,ConfigurationRevisionEventType> getRevisionEventTypes()
Returns a map of revision event type alias and revision event type configuration. Revision event types handle updates (new versions) for past events.

Returns:
map of alias and revision event type config

getVariantStreams

Map<String,ConfigurationVariantStream> getVariantStreams()
Returns a map of variant stream alias and variant configuration information. Variant streams allows handling events of all sorts of different event types the same way.

Returns:
map of alias and variant stream config

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com