com.espertech.esper.client
Interface ConfigurationInformation

All Known Implementing Classes:
Configuration

public interface ConfigurationInformation

Provides configurations for an engine instance.


Method Summary
 java.util.Map<java.lang.String,ConfigurationDBRef> getDatabaseReferences()
          Returns a map of string database names to database configuration options.
 ConfigurationEngineDefaults getEngineDefaults()
          Returns engine default settings.
 java.lang.String getEPServicesContextFactoryClassName()
          Returns the service context factory class name
 java.util.Set<java.lang.String> getEventTypeAutoNamePackages()
          Returns a set of Java package names that Java event classes reside in.
 java.util.Map<java.lang.String,java.lang.String> getEventTypeNames()
          Returns the mapping of event type name to Java class name.
 java.util.Map<java.lang.String,ConfigurationEventTypeLegacy> getEventTypesLegacy()
          Returns the mapping of event type name to legacy java event type information.
 java.util.Map<java.lang.String,java.util.Properties> getEventTypesMapEvents()
          Returns a map keyed by event type name, and values being the definition for the Map event type of the property names and types that make up the event.
 java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> getEventTypesNestableMapEvents()
          Returns a map keyed by event type 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.
 java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> getEventTypesNestableObjectArrayEvents()
          Returns the object-array event types.
 java.util.Map<java.lang.String,ConfigurationEventTypeXMLDOM> getEventTypesXMLDOM()
          Returns the mapping of event type name to XML DOM event type information.
 java.util.List<java.lang.String> getImports()
          Returns the class and package imports.
 java.util.Map<java.lang.String,ConfigurationEventTypeMap> getMapTypeConfigurations()
          Returns for each Map event type name the set of supertype event type names (Map types only).
 java.util.Map<java.lang.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.
 java.util.Map<java.lang.String,ConfigurationEventTypeObjectArray> getObjectArrayTypeConfigurations()
          Returns the object-array event type configurations.
 java.util.List<ConfigurationPlugInAggregationFunction> getPlugInAggregationFunctions()
          Returns a list of configured plug-in aggregation functions.
 java.util.List<ConfigurationPlugInAggregationMultiFunction> getPlugInAggregationMultiFunctions()
          Returns a list of configured plug-in multi-function aggregation functions.
 java.util.Map<java.net.URI,ConfigurationPlugInEventRepresentation> getPlugInEventRepresentation()
          Returns a map of plug-in event representation URI and their event representation class and initializer.
 java.net.URI[] getPlugInEventTypeResolutionURIs()
          Returns the URIs that point to plug-in event representations that are given a chance to dynamically resolve an event type name to an event type, when a new (unseen) event type name occurs in a new EPL statement.
 java.util.Map<java.lang.String,ConfigurationPlugInEventType> getPlugInEventTypes()
          Returns a map of event type name of those event types that will be supplied by a plug-in event representation, and their configuration.
 java.util.List<ConfigurationPluginLoader> getPluginLoaders()
          Returns a list of configured plugin loaders.
 java.util.List<ConfigurationPlugInPatternObject> getPlugInPatternObjects()
          Returns a list of configured plug-ins for pattern observers and guards.
 java.util.List<ConfigurationPlugInSingleRowFunction> getPlugInSingleRowFunctions()
          Returns a list of configured plug-in single-row functions.
 java.util.List<ConfigurationPlugInView> getPlugInViews()
          Returns a list of configured plug-in views.
 java.util.List<ConfigurationPlugInVirtualDataWindow> getPlugInVirtualDataWindows()
          Returns a list of configured plug-in virtual data windows.
 java.util.Map<java.lang.String,ConfigurationRevisionEventType> getRevisionEventTypes()
          Returns a map of revision event type name and revision event type configuration.
 java.util.Map<java.lang.String,ConfigurationVariable> getVariables()
          Returns the global variables by name as key and type plus initialization value as value
 java.util.Map<java.lang.String,ConfigurationVariantStream> getVariantStreams()
          Returns a map of variant stream name and variant configuration information.
 

Method Detail

getEPServicesContextFactoryClassName

java.lang.String getEPServicesContextFactoryClassName()
Returns the service context factory class name

Returns:
class name

getEventTypeNames

java.util.Map<java.lang.String,java.lang.String> getEventTypeNames()
Returns the mapping of event type name to Java class name.

Returns:
event type names for Java class names

getEventTypesMapEvents

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

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

getEventTypesNestableMapEvents

java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> getEventTypesNestableMapEvents()
Returns a map keyed by event type 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 name and definition of event properties

getEventTypesXMLDOM

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

Returns:
event type name mapping to XML DOM configs

getEventTypesLegacy

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

Returns:
event type name mapping to legacy java class configs

getImports

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

Returns:
imported names

getDatabaseReferences

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

Returns:
map of database configurations

getPlugInViews

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

Returns:
list of plug-in view configs

getPlugInVirtualDataWindows

java.util.List<ConfigurationPlugInVirtualDataWindow> getPlugInVirtualDataWindows()
Returns a list of configured plug-in virtual data windows.

Returns:
list of plug-in virtual data windows

getPluginLoaders

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

Returns:
adapter loaders

getPlugInAggregationFunctions

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

Returns:
list of configured aggregations

getPlugInAggregationMultiFunctions

java.util.List<ConfigurationPlugInAggregationMultiFunction> getPlugInAggregationMultiFunctions()
Returns a list of configured plug-in multi-function aggregation functions.

Returns:
list of configured multi-function aggregations

getPlugInSingleRowFunctions

java.util.List<ConfigurationPlugInSingleRowFunction> getPlugInSingleRowFunctions()
Returns a list of configured plug-in single-row functions.

Returns:
list of configured single-row functions

getPlugInPatternObjects

java.util.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

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

Returns:
map of variable name and variable configuration

getMethodInvocationReferences

java.util.Map<java.lang.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

getEventTypeAutoNamePackages

java.util.Set<java.lang.String> getEventTypeAutoNamePackages()
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 name 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 name

getPlugInEventRepresentation

java.util.Map<java.net.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

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

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

getPlugInEventTypeResolutionURIs

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

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

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 name

getRevisionEventTypes

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

Returns:
map of name and revision event type config

getVariantStreams

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

Returns:
map of name and variant stream config

getMapTypeConfigurations

java.util.Map<java.lang.String,ConfigurationEventTypeMap> getMapTypeConfigurations()
Returns for each Map event type name the set of supertype event type names (Map types only).

Returns:
map of name to set of supertype names

getObjectArrayTypeConfigurations

java.util.Map<java.lang.String,ConfigurationEventTypeObjectArray> getObjectArrayTypeConfigurations()
Returns the object-array event type configurations.

Returns:
type configs

getEventTypesNestableObjectArrayEvents

java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> getEventTypesNestableObjectArrayEvents()
Returns the object-array event types.

Returns:
object-array event types

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com