Package com.exasol.adapter
Class AdapterContext
- java.lang.Object
-
- com.exasol.adapter.AdapterContext
-
public class AdapterContext extends Object
Context information for theVirtualSchemaAdapter.Note: this currently only contains the
TelemetryClientbut may be extended in the future.
-
-
Constructor Summary
Constructors Constructor Description AdapterContext(com.exasol.telemetry.TelemetryClient telemetryClient)Create a new AdapterContext.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.exasol.telemetry.TelemetryClientgetTelemetryClient()Get the telemetry client to be used by the adapter for reporting feature usage.
-
-
-
Method Detail
-
getTelemetryClient
public com.exasol.telemetry.TelemetryClient getTelemetryClient()
Get the telemetry client to be used by the adapter for reporting feature usage.Note:
- Class
AdapterCallExecutoralready reports the following events:createVirtualSchema,dropVirtualSchema,refreshVirtualSchema,setProperties. The adapter must not report these events again - Adapters must not report high frequency features, e.g. for every pushdown.
- Returns:
- telemetry client
- Class
-
-