Class JdbcConnection

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.sql.Connection, java.sql.Wrapper, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.jdbc.CalciteConnection, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.linq4j.QueryProvider

    public class JdbcConnection
    extends CalciteConnectionWrapper
    Beam JDBC Connection.

    Implements and delegates to CalciteConnection, adds Beam-specific helper methods. BeamCalciteSchemas keep reference to this connection. Pipeline options are stored here.

    • Method Detail

      • setPipelineOptionsMap

        public void setPipelineOptionsMap​(java.util.Map<java.lang.String,​java.lang.String> pipelineOptionsMap)
        Only called from the BeamCalciteSchema. This is needed to enable the `SET pipelineOption = blah` syntax
      • setPipelineOptions

        public void setPipelineOptions​(org.apache.beam.sdk.options.PipelineOptions pipelineOptions)
      • getPipelineOptions

        public @Nullable org.apache.beam.sdk.options.PipelineOptions getPipelineOptions()
      • getCurrentSchemaPlus

        public org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.SchemaPlus getCurrentSchemaPlus()
        Calcite-created SchemaPlus wrapper for the current schema.