com.marklogic.flux.api.ArchiveFilesImporter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flux-api Show documentation
Show all versions of flux-api Show documentation
Flux API for data movement with MarkLogic
/*
* Copyright © 2024 MarkLogic Corporation. All Rights Reserved.
*/
package com.marklogic.flux.api;
import java.util.function.Consumer;
/**
* Read local, HDFS, and S3 Flux archive files and write the documents in each archive to MarkLogic.
*/
public interface ArchiveFilesImporter extends Executor {
interface ReadArchiveFilesOptions extends ReadFilesOptions {
ReadArchiveFilesOptions categories(String... categories);
ReadArchiveFilesOptions partitions(int partitions);
ReadArchiveFilesOptions encoding(String encoding);
}
ArchiveFilesImporter from(Consumer consumer);
ArchiveFilesImporter from(String... paths);
ArchiveFilesImporter to(Consumer> consumer);
}