Package com.exasol.adapter.dialects
Class JDBCAdapterContext
- java.lang.Object
-
- com.exasol.adapter.dialects.JDBCAdapterContext
-
public final class JDBCAdapterContext extends Object
Context object that bundles services and metadata required by a JDBC adapter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJDBCAdapterContext.BuilderBuilder forJDBCAdapterContextinstances.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JDBCAdapterContext.Builderbuilder()Create a builder for aJDBCAdapterContext.ConnectionFactorygetConnectionFactory()Get the connection factory used by the adapter.com.exasol.ExaMetadatagetExaMetadata()Get the Exasol metadata of the current adapter call.com.exasol.adapter.AdapterPropertiesgetProperties()Get the adapter properties.com.exasol.telemetry.TelemetryClientgetTelemetryClient()Get the telemetry client used for emitting telemetry events.
-
-
-
Method Detail
-
builder
public static JDBCAdapterContext.Builder builder()
Create a builder for aJDBCAdapterContext.- Returns:
- new context builder
-
getConnectionFactory
public ConnectionFactory getConnectionFactory()
Get the connection factory used by the adapter.- Returns:
- connection factory
-
getProperties
public com.exasol.adapter.AdapterProperties getProperties()
Get the adapter properties.- Returns:
- adapter properties
-
getExaMetadata
public com.exasol.ExaMetadata getExaMetadata()
Get the Exasol metadata of the current adapter call.- Returns:
- Exasol metadata
-
getTelemetryClient
public com.exasol.telemetry.TelemetryClient getTelemetryClient()
Get the telemetry client used for emitting telemetry events.- Returns:
- telemetry client
-
-