Interface JDBCConnectorSource.Builder

  • Method Details

    • name

      The name of the data source.

      Parameters:
      name - The name of the data source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionName

      JDBCConnectorSource.Builder connectionName(String connectionName)

      The name of the connection that is associated with the connector.

      Parameters:
      connectionName - The name of the connection that is associated with the connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectorName

      JDBCConnectorSource.Builder connectorName(String connectorName)

      The name of a connector that assists with accessing the data store in Glue Studio.

      Parameters:
      connectorName - The name of a connector that assists with accessing the data store in Glue Studio.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionType

      JDBCConnectorSource.Builder connectionType(String connectionType)

      The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data store.

      Parameters:
      connectionType - The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalOptions

      JDBCConnectorSource.Builder additionalOptions(JDBCConnectorOptions additionalOptions)

      Additional connection options for the connector.

      Parameters:
      additionalOptions - Additional connection options for the connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalOptions

      default JDBCConnectorSource.Builder additionalOptions(Consumer<JDBCConnectorOptions.Builder> additionalOptions)

      Additional connection options for the connector.

      This is a convenience method that creates an instance of the JDBCConnectorOptions.Builder avoiding the need to create one manually via JDBCConnectorOptions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to additionalOptions(JDBCConnectorOptions).

      Parameters:
      additionalOptions - a consumer that will call methods on JDBCConnectorOptions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • connectionTable

      JDBCConnectorSource.Builder connectionTable(String connectionTable)

      The name of the table in the data source.

      Parameters:
      connectionTable - The name of the table in the data source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • query

      The table or SQL query to get the data from. You can specify either ConnectionTable or query, but not both.

      Parameters:
      query - The table or SQL query to get the data from. You can specify either ConnectionTable or query, but not both.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputSchemas

      JDBCConnectorSource.Builder outputSchemas(Collection<GlueSchema> outputSchemas)

      Specifies the data schema for the custom JDBC source.

      Parameters:
      outputSchemas - Specifies the data schema for the custom JDBC source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputSchemas

      JDBCConnectorSource.Builder outputSchemas(GlueSchema... outputSchemas)

      Specifies the data schema for the custom JDBC source.

      Parameters:
      outputSchemas - Specifies the data schema for the custom JDBC source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputSchemas

      JDBCConnectorSource.Builder outputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)

      Specifies the data schema for the custom JDBC source.

      This is a convenience method that creates an instance of the GlueSchema.Builder avoiding the need to create one manually via GlueSchema.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to outputSchemas(List<GlueSchema>).

      Parameters:
      outputSchemas - a consumer that will call methods on GlueSchema.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: