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.
 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,ConfigurationVariable> getVariables()
          Returns the variables by name as key and type plus initialization value as value
 

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

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