Package org.apache.beam.sdk.io.iceberg
Class TableMetadataDriver.Builder
java.lang.Object
org.apache.beam.sdk.io.iceberg.TableMetadataDriver.Builder
- Enclosing class:
TableMetadataDriver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()abstract TableMetadataDriver.BuildersetCatalogConfig(IcebergCatalogConfig catalogConfig) abstract TableMetadataDriver.BuildersetDynamicDestinations(DynamicDestinations dynamicDestinations) abstract TableMetadataDriver.BuildersetMaximumCacheSize(@Nullable Integer maximumCacheSize) abstract TableMetadataDriver.BuildersetPollingBuckets(@Nullable Integer pollingBuckets) Sets the number of parallel buckets (worker tasks) used to query the Iceberg catalog.abstract TableMetadataDriver.BuildersetRefreshInterval(@Nullable Duration refreshInterval)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setCatalogConfig
-
setDynamicDestinations
public abstract TableMetadataDriver.Builder setDynamicDestinations(DynamicDestinations dynamicDestinations) -
setMaximumCacheSize
-
setRefreshInterval
-
setPollingBuckets
Sets the number of parallel buckets (worker tasks) used to query the Iceberg catalog.Defaults to
TableMetadataDriver.DEFAULT_POLLING_BUCKETS(1), which serializes all catalog lookups to avoid overwhelming catalog metastores (e.g. Hive Metastore, REST catalog). For pipelines writing to a large number of distinct dynamic tables (e.g. hundreds of tables per window), consider increasing this value (e.g. 5–10) to parallelize catalog lookups while still bounding load. -
build
-