Package com.atlan.util
Class ParallelBatch.ParallelBatchBuilder
java.lang.Object
com.atlan.util.ParallelBatch.ParallelBatchBuilder
- Enclosing class:
- ParallelBatch
-
Method Summary
Modifier and TypeMethodDescriptionbuild()captureFailures(boolean captureFailures) Whether to capture details about any failures (true) or throw exceptions for any failures (false).caseSensitive(boolean caseSensitive) When running withupdateOnly(boolean)as true, whether to consider only exact matches (false) or ignore case (true).client(AtlanClient client) Connectivity to an Atlan tenant.creationHandling(AssetCreationHandling creationHandling) When allowing assets to be created, how to handle those creations (full assets or partial assets).customMetadataHandling(AssetBatch.CustomMetadataHandling customMetadataHandling) How to handle any custom metadata on assets (ignore, replace, or merge).maxSize(int maxSize) Maximum number of assets to submit in each batch.replaceAtlanTags(boolean replaceAtlanTags) Whether to replace Atlan tags (true), or ignore them (false).tableViewAgnostic(boolean tableViewAgnostic) Whether tables and views should be treated interchangeably (an asset in the batch marked as a table will attempt to match a view if not found as a table, and vice versa).toString()track(boolean track) Whether to track the basic information about every asset that is created or updated (true) or only track counts (false).updateOnly(boolean updateOnly) Whether to allow assets to be created (false) or only allow existing assets to be updated (true).
-
Method Details
-
client
Connectivity to an Atlan tenant.- Returns:
this.
-
maxSize
Maximum number of assets to submit in each batch.- Returns:
this.
-
replaceAtlanTags
Whether to replace Atlan tags (true), or ignore them (false).- Returns:
this.
-
customMetadataHandling
public ParallelBatch.ParallelBatchBuilder customMetadataHandling(AssetBatch.CustomMetadataHandling customMetadataHandling) How to handle any custom metadata on assets (ignore, replace, or merge).- Returns:
this.
-
captureFailures
Whether to capture details about any failures (true) or throw exceptions for any failures (false).- Returns:
this.
-
track
Whether to track the basic information about every asset that is created or updated (true) or only track counts (false).- Returns:
this.
-
updateOnly
Whether to allow assets to be created (false) or only allow existing assets to be updated (true).- Returns:
this.
-
caseSensitive
When running withupdateOnly(boolean)as true, whether to consider only exact matches (false) or ignore case (true).- Returns:
this.
-
creationHandling
When allowing assets to be created, how to handle those creations (full assets or partial assets).- Returns:
this.
-
tableViewAgnostic
Whether tables and views should be treated interchangeably (an asset in the batch marked as a table will attempt to match a view if not found as a table, and vice versa).- Returns:
this.
-
build
-
toString
-