Interface NessieExporter.Builder
- Enclosing class:
NessieExporter
public static interface NessieExporter.Builder
-
Method Summary
Modifier and TypeMethodDescriptionaddGenericObjectResolvers(URL element) build()commitBatchSize(int commitBatchSize) Optional, specify the number of commit log entries to be written at once, defaults to 20.commitLogic(org.projectnessie.versioned.storage.common.logic.CommitLogic commitLogic) contentsBatchSize(int batchSize) contentsFromBranch(String branchName) expectedCommitCount(int expectedCommitCount) The expected number of commits in the Nessie repository, default is 1000000.exportFileSupplier(ExportFileSupplier exportFileSupplier) exportVersion(int exportVersion) fullScan(boolean fullScan) indexesLogic(org.projectnessie.versioned.storage.common.logic.IndexesLogic indexesLogic) maxFileSize(long maxFileSize) Maximum size of a file containing commits or named references.objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Optional, specify a customObjectMapper.outputBufferSize(int outputBufferSize) Optional, specify a different buffer size than the default value of 32768.persist(org.projectnessie.versioned.storage.common.persist.Persist persist) Specify thePersistto use.progressListener(ProgressListener progressListener) referenceLogic(org.projectnessie.versioned.storage.common.logic.ReferenceLogic referenceLogic) repositoryLogic(org.projectnessie.versioned.storage.common.logic.RepositoryLogic repositoryLogic) storeWorker(org.projectnessie.versioned.StoreWorker storeWorker) Optional, specify a customStoreWorker.versionStore(org.projectnessie.versioned.VersionStore store)
-
Method Details
-
persist
@CanIgnoreReturnValue NessieExporter.Builder persist(org.projectnessie.versioned.storage.common.persist.Persist persist) Specify thePersistto use. -
commitLogic
@CanIgnoreReturnValue NessieExporter.Builder commitLogic(org.projectnessie.versioned.storage.common.logic.CommitLogic commitLogic) -
referenceLogic
@CanIgnoreReturnValue NessieExporter.Builder referenceLogic(org.projectnessie.versioned.storage.common.logic.ReferenceLogic referenceLogic) -
repositoryLogic
@CanIgnoreReturnValue NessieExporter.Builder repositoryLogic(org.projectnessie.versioned.storage.common.logic.RepositoryLogic repositoryLogic) -
indexesLogic
@CanIgnoreReturnValue NessieExporter.Builder indexesLogic(org.projectnessie.versioned.storage.common.logic.IndexesLogic indexesLogic) -
versionStore
@CanIgnoreReturnValue NessieExporter.Builder versionStore(org.projectnessie.versioned.VersionStore store) -
objectMapper
@CanIgnoreReturnValue NessieExporter.Builder objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Optional, specify a customObjectMapper. -
storeWorker
@CanIgnoreReturnValue NessieExporter.Builder storeWorker(org.projectnessie.versioned.StoreWorker storeWorker) Optional, specify a customStoreWorker. -
outputBufferSize
Optional, specify a different buffer size than the default value of 32768. -
maxFileSize
Maximum size of a file containing commits or named references. Default is to write everything into a single file. -
expectedCommitCount
The expected number of commits in the Nessie repository, default is 1000000. -
progressListener
-
exportFileSupplier
@CanIgnoreReturnValue NessieExporter.Builder exportFileSupplier(ExportFileSupplier exportFileSupplier) -
fullScan
-
contentsFromBranch
-
contentsBatchSize
-
commitBatchSize
Optional, specify the number of commit log entries to be written at once, defaults to 20. -
exportVersion
-
addGenericObjectResolvers
-
build
NessieExporter build()
-