Class AdapterContext


  • public class AdapterContext
    extends Object
    Context information for the VirtualSchemaAdapter.

    Note: this currently only contains the TelemetryClient but may be extended in the future.

    • Constructor Detail

      • AdapterContext

        public AdapterContext​(com.exasol.telemetry.TelemetryClient telemetryClient)
        Create a new AdapterContext.
        Parameters:
        telemetryClient - telemetry client to be used by the adapter for reportin 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 AdapterCallExecutor already reports the following events: createVirtualSchema, dropVirtualSchema, refreshVirtualSchema, setProperties. The adapter must not report these events again
        • Adapters must keep not report high frequency features, e.g. for every pushdown.
        Returns:
        telemetry client