Interface DiscoveryConfig


@Immutable public interface DiscoveryConfig
A container for the configuration parameters of an Iceberg discovery.
  • Method Details

    • tableIdentifier

      @NotNull @NotNull String tableIdentifier()
      Returns:
      The Iceberg Table identifier.
    • snapshotId

      @NotNull @NotNull OptionalLong snapshotId()
      The Snapshot ID to use when discovering the table from the catalog.
      Returns:
      the snapshot id.
    • endpoint

      @NotNull @NotNull IcebergEndpoint endpoint()
      Returns:
      The endpoint for discovery.
    • namespace

      @NotNull @NotNull Optional<String> namespace()
      Optional; When supplied, this will be the namespace provided back in the DiscoveryResult
      Returns:
      the user supplied namespace.
    • tableName

      @NotNull @NotNull Optional<String> tableName()
      Optional; When supplied, this will be the table name provided back in the DiscoveryResult.
      Returns:
      the user supplied table name
    • referenceDefinition

      @NotNull @NotNull Optional<TableDefinition> referenceDefinition()
      Optional; A reference TableDefinition that the discovered table must be compatible with.
      Returns:
      the user supplied reference TableDefinition
    • builder

      @NotNull static @NotNull DiscoveryConfig.Builder builder()
      Returns:
      a new DiscoveryConfig.Builder