Click or drag to resize

ConfigurationCommon Class

Contains settings that apply to both the compile-time and the runtime.
Inheritance Hierarchy
SystemObject
  com.espertech.esper.common.client.configuration.commonConfigurationCommon

Namespace:  com.espertech.esper.common.client.configuration.common
Assembly:  NEsper.Common (in NEsper.Common.dll) Version: 8.0.0.0
Syntax
C#
[SerializableAttribute]
public class ConfigurationCommon

The ConfigurationCommon type exposes the following members.

Constructors
  NameDescription
Public methodConfigurationCommon
Constructs an empty configuration. The auto import values are set by default to System and System.Text.
Top
Properties
  NameDescription
Public propertyAnnotationImports
Returns the annotation imports
Public propertyDatabaseReferences
Returns the database names
Public propertyEventMeta
Returns event representation default settings.
Public propertyEventTypeAutoNameNamespaces
Returns a set of namespaces that event classes reside in.

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

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

Public propertyEventTypeNames
Returns the mapping of event type name to type name.
Public propertyEventTypesAvro
Returns the Avro event types.
Public propertyEventTypesBean
Returns the mapping of event type name to legacy java event type information.
Public propertyEventTypesMapEvents
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.
Public propertyEventTypesNestableMapEvents
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.
Public propertyEventTypesNestableObjectArrayEvents
Returns the object-array event types.
Public propertyEventTypesXMLDOM
Returns the mapping of event type name to XML DOM event type information.
Public propertyExecution
Returns the execution settings.
Public propertyImports
Returns the imports
Public propertyLogging
Returns logging settings applicable to common.
Public propertyMapTypeConfigurations
Returns for each Map event type name the set of supertype event type names (Map types only).
Public propertyMethodInvocationReferences
Returns the method-invocation-names for use in joins
Public propertyObjectArrayTypeConfigurations
Returns the object-array event type configurations.
Public propertyTimeSource
Returns the time source configuration.
Public propertyTransientConfiguration
Returns transient configuration, i.e. information that is passed along as a reference and not as a value
Public propertyVariables
Returns the preconfigured variables
Public propertyVariantStreams
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.
Top
Methods
  NameDescription
Public methodAddAnnotationImportNamespace(Type)
Adds a namespace to the list of automatically-imports use by annotations only.
Public methodAddAnnotationImportNamespace(String, String)
Adds a namespace to the list of automatically-imports use by annotations only.
Public methodAddAnnotationImportType(Type)
Add a type to the imports available for annotations only
Public methodAddAnnotationImportType(String, String)
Add a type name to the imports available for annotations only
Public methodAddDatabaseReference
Add a database reference with a given database name.
Public methodAddEventType(Type)
Add an name for an event type represented by plain-old object events, and the name is the simple class name of the class.
Public methodAddEventType(String, ConfigurationCommonEventTypeXMLDOM)
Add an name for an event type that represents XmlNode events.
Public methodAddEventType(String, Properties)
Add an name for an event type that represents IDictionary events.

Each entry in the type map is the property name and the fully-qualified type name or primitive type name.

Public methodAddEventType(String, IDictionaryTKey, TValue)
Public methodAddEventType(String, String)
Add an name for an event type represented by plain-old object events. Note that when adding multiple names for the same type the names represent an alias to the same event type since event type identity for classes is per class.
Public methodAddEventType(String, Type)
Add an name for an event type represented by plain-old object events. Note that when adding multiple names for the same type the names represent an alias to the same event type since event type identity for types is per type.
Public methodAddEventType(String, IDictionaryTKey, TValue, Boolean)
Public methodAddEventType(String, String, ConfigurationCommonEventTypeBean)
Add an name for an event type that represents object type events. Note that when adding multiple names for the same type the names represent an alias to the same event type since event type identity for types is per type.
Public methodAddEventType(String, String, Object)
Add an event type that represents Object-array (Object[]) events.
Public methodAddEventType(String, Type, ConfigurationCommonEventTypeBean)
Public methodAddEventType(String, String, Object, ConfigurationCommonEventTypeObjectArray)
Add an event type that represents Object-array (Object[]) events.
Public methodAddEventTypeT
Add an name for an event type represented by plain-old object events, and the name is the simple class name of the class.
Public methodAddEventTypeT(String)
Add an name for an event type represented by plain-old object events.
Public methodAddEventTypeAutoName
Adds a namespace of a package that event classes reside in.

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

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

Public methodAddEventTypeAvro
Adds an Avro event type
Public methodAddImportNamespace(Type)
Adds a namespace to the list of automatically-imported classes and packages.
Public methodAddImportNamespace(String, String)
Adds a namespace to the list of automatically-imported classes and packages.
Public methodAddImportType(Type)
Adds a Type to the list of automatically-imported classes.
Public methodAddImportType(String, String)
Adds a type to the list of automatically-imported classes.
Public methodAddMapConfiguration
Add configuration for a map event type.
Public methodAddMapSuperType
Add, for a given Map event type identified by the first parameter, the supertype (by its event type name).

Each Map event type may have any number of supertypes, each supertype must also be of a Map-type event.

Public methodAddMethodRef(String, ConfigurationCommonMethodRef)
Adds a cache configuration for a class providing methods for use in the from-clause.
Public methodAddMethodRef(Type, ConfigurationCommonMethodRef)
Adds a cache configuration for a class providing methods for use in the from-clause.
Public methodAddObjectArrayConfiguration
Add configuration for a object array event type.
Public methodAddObjectArraySuperType
Add, for a given Object-array event type identified by the first parameter, the supertype (by its event type name).

Each Object array event type may have any number of supertypes, each supertype must also be of a Object-array-type event.

Public methodAddVariable(String, String, Object)
Add a global variable.

Use the runtime API to set variable values or EPL statements to change variable values.

Public methodAddVariable(String, Type, Object)
Add a global variable.

Use the runtime API to set variable values or EPL statements to change variable values.

Public methodAddVariable(String, String, Object, Boolean)
Add a global variable, allowing constants.

Use the runtime API to set variable values or EPL statements to change variable values.

Public methodAddVariable(String, Type, Object, Boolean)
Add variable that can be a constant.
Public methodAddVariantStream
Adds a new variant stream. Variant streams allow events of disparate types to be treated the same.
Public methodIsEventTypeExists
Checks if an event type has already been registered for that name.
Public methodIsVariantStreamExists
Returns true if a variant stream by the name has been declared, or false if not.
Public methodRemoveImport
Remove an import.
Public methodRemoveImportNamespace
Remove a namespace import.
Public methodRemoveImportType(Type)
Remove a type import.
Public methodRemoveImportType(String, String)
Remove a type import.
Protected methodReset
Reset to an empty configuration.
Top
Fields
  NameDescription
Public fieldStatic memberANNOTATION_NAMESPACE
Import name of the package that hosts the annotation classes.
Public fieldStatic memberDATAFLOWOPERATOR_NAMESPACE
Import package for data flow operator forges.
Top
See Also