Interface DiscoveryConfig.Builder
- Enclosing interface:
- DiscoveryConfig
public static interface DiscoveryConfig.Builder
The interface for constructing a 
DiscoveryConfig.- 
Method SummaryModifier and TypeMethodDescription@NotNull DiscoveryConfigbuild()Construct a newDiscoveryConfigfrom the state in thisDiscoveryConfig.Builder.@NotNull DiscoveryConfig.Builderendpoint(@NotNull IcebergEndpoint endpoint) Set theIcebergEndpoint.@NotNull DiscoveryConfig.BuilderAn optional user specified namespace.@NotNull DiscoveryConfig.BuilderreferenceDefinition(@NotNull TableDefinition reference) An optional user specified referenceTableDefinition.@NotNull DiscoveryConfig.BuildersnapshotId(@org.jetbrains.annotations.NotNull long snapshotId) Set the snapshot id to use for fetching the Iceberg table.@NotNull DiscoveryConfig.BuildertableIdentifier(@NotNull String tableIdentifier) Set the Iceberg table identifier for discovery.@NotNull DiscoveryConfig.BuilderAn optional user specified table name.
- 
Method Details- 
tableIdentifierSet the Iceberg table identifier for discovery.- Parameters:
- tableIdentifier- the table identifier.
- Returns:
- this DiscoveryConfig.Builder
 
- 
snapshotId@NotNull @NotNull DiscoveryConfig.Builder snapshotId(@NotNull @org.jetbrains.annotations.NotNull long snapshotId) Set the snapshot id to use for fetching the Iceberg table.- Parameters:
- snapshotId- the snapshot id.
- Returns:
- this DiscoveryConfig.Builder
 
- 
endpointSet theIcebergEndpoint. Users may supply aIcebergEndpoint.Namedif the schema is going to be deployed with anendpoint reference.- Parameters:
- endpoint- the endpoint for discovery
- Returns:
- this DiscoveryConfig.Builder
 
- 
namespaceAn optional user specified namespace. If not set, the namespace is derived from theDiscoveryConfig.tableIdentifier().- Parameters:
- namespace- the namespace.
- Returns:
- this DiscoveryConfig.Builder
 
- 
tableNameAn optional user specified table name. If not set, the table name is derived from theDiscoveryConfig.tableIdentifier().- Parameters:
- tableName- the table name.
- Returns:
- this DiscoveryConfig.Builder
 
- 
referenceDefinition@NotNull @NotNull DiscoveryConfig.Builder referenceDefinition(@NotNull @NotNull TableDefinition reference) An optional user specified referenceTableDefinition. Thediscoveryprocess will guarantee that the result is compatible with this definition.- Parameters:
- reference- the reference definition.
- Returns:
- this DiscoveryConfig.Builder
 
- 
buildConstruct a newDiscoveryConfigfrom the state in thisDiscoveryConfig.Builder.- Returns:
- a new DiscoveryConfig
 
 
-