Interface JdbcTarget.Builder

All Superinterfaces:
Buildable, CopyableBuilder<JdbcTarget.Builder,JdbcTarget>, SdkBuilder<JdbcTarget.Builder,JdbcTarget>, SdkPojo
Enclosing class:
JdbcTarget

public static interface JdbcTarget.Builder extends SdkPojo, CopyableBuilder<JdbcTarget.Builder,JdbcTarget>
  • Method Details

    • connectionName

      JdbcTarget.Builder connectionName(String connectionName)

      The name of the connection to use to connect to the JDBC target.

      Parameters:
      connectionName - The name of the connection to use to connect to the JDBC target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • path

      The path of the JDBC target.

      Parameters:
      path - The path of the JDBC target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • exclusions

      JdbcTarget.Builder exclusions(Collection<String> exclusions)

      A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.

      Parameters:
      exclusions - A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • exclusions

      JdbcTarget.Builder exclusions(String... exclusions)

      A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.

      Parameters:
      exclusions - A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enableAdditionalMetadataWithStrings

      JdbcTarget.Builder enableAdditionalMetadataWithStrings(Collection<String> enableAdditionalMetadata)

      Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table responses. RAWTYPES provides the native-level datatype. COMMENTS provides comments associated with a column or table in the database.

      If you do not need additional metadata, keep the field empty.

      Parameters:
      enableAdditionalMetadata - Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table responses. RAWTYPES provides the native-level datatype. COMMENTS provides comments associated with a column or table in the database.

      If you do not need additional metadata, keep the field empty.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enableAdditionalMetadataWithStrings

      JdbcTarget.Builder enableAdditionalMetadataWithStrings(String... enableAdditionalMetadata)

      Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table responses. RAWTYPES provides the native-level datatype. COMMENTS provides comments associated with a column or table in the database.

      If you do not need additional metadata, keep the field empty.

      Parameters:
      enableAdditionalMetadata - Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table responses. RAWTYPES provides the native-level datatype. COMMENTS provides comments associated with a column or table in the database.

      If you do not need additional metadata, keep the field empty.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enableAdditionalMetadata

      JdbcTarget.Builder enableAdditionalMetadata(Collection<JdbcMetadataEntry> enableAdditionalMetadata)

      Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table responses. RAWTYPES provides the native-level datatype. COMMENTS provides comments associated with a column or table in the database.

      If you do not need additional metadata, keep the field empty.

      Parameters:
      enableAdditionalMetadata - Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table responses. RAWTYPES provides the native-level datatype. COMMENTS provides comments associated with a column or table in the database.

      If you do not need additional metadata, keep the field empty.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enableAdditionalMetadata

      JdbcTarget.Builder enableAdditionalMetadata(JdbcMetadataEntry... enableAdditionalMetadata)

      Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table responses. RAWTYPES provides the native-level datatype. COMMENTS provides comments associated with a column or table in the database.

      If you do not need additional metadata, keep the field empty.

      Parameters:
      enableAdditionalMetadata - Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table responses. RAWTYPES provides the native-level datatype. COMMENTS provides comments associated with a column or table in the database.

      If you do not need additional metadata, keep the field empty.

      Returns:
      Returns a reference to this object so that method calls can be chained together.