Click or drag to resize

ConfigurationCommonDBRef Class

Container for database configuration information, such as options around getting a database connection and options to control the lifecycle of connections and set connection parameters.
Inheritance Hierarchy
SystemObject
  com.espertech.esper.common.client.configuration.commonConfigurationCommonDBRef

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 ConfigurationCommonDBRef

The ConfigurationCommonDBRef type exposes the following members.

Constructors
  NameDescription
Public methodConfigurationCommonDBRef
Ctor.
Top
Properties
  NameDescription
Public propertyColumnChangeCase
Returns enum value determining how the runtimechanges case on output column names returned from statement or statement result set metadata.
Public propertyConnectionAutoCommit
Sets the auto-commit connection settings for new connections to this database.
Public propertyConnectionCatalog
Sets the catalog name for new connections created for this database.
Public propertyConnectionFactoryDesc
Returns the descriptor controlling connection creation settings.
Public propertyConnectionLifecycleEnum
Returns the setting to control whether a new connection is obtained for each lookup, or connections are retained between lookups.
Public propertyConnectionReadOnly
Sets the read-only flag on new connections created for this database.
Public propertyConnectionSettings
Returns the connection settings for this database.
Public propertyConnectionTransactionIsolation
Sets the transaction isolation level on new connections created for this database.
Public propertyDataCacheDesc
Return a query result data cache descriptor.
Public propertyDataTypesMapping
Returns the mapping of types that the runtime must perform when receiving output columns of that sql types.
Public propertyMetadataOrigin
Sets and indicator how the runtime should retrieve metadata about the columns that a given SQL query returns.

The runtime requires to retrieve result column names and types in order to build a resulting event type and perform expression type checking.

Public propertyMetadataRetrievalEnum
Returns an enumeration indicating how the runtime retrieves metadata about the columns that a given SQL query returns.

The runtime requires to retrieve result column names and types in order to build a resulting event type and perform expression type checking.

Top
Methods
  NameDescription
Public methodAddTypeBinding
Adds the SQL types binding.
Public methodSetDatabaseDriver(DriverConnectionFactoryDesc)
Sets the database driver.
Public methodSetDatabaseDriver(String, Properties)
Sets the database driver.
Public methodSetDatabaseDriver(String, String, Properties)
Sets the database driver.
Public methodSetDataSourceConnection
Sets the connection factory to use to obtain a connection.
Public methodSetDataSourceFactory
Set the connection factory to use a factory class.
Public methodSetExpiryTimeCache(Double, Double)
Configures an expiry-time cache of the given maximum age in seconds and purge interval in seconds.

Specifies the cache reference type to be weak references. Weak reference cache entries become eligible for garbage collection and are removed from cache when the garbage collection requires so.

Public methodSetExpiryTimeCache(Double, Double, CacheReferenceType)
Configures an expiry-time cache of the given maximum age in seconds and purge interval in seconds. Also allows setting the reference type indicating whether garbage collection may remove entries from cache.
Public methodSetLRUCache
Configures a LRU cache of the given size for the database.
Top
See Also