com.marklogic.flux.api.MlcpArchiveFilesImporter 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 archive files written by MLCP and write the documents in each archive to MarkLogic.
*/
public interface MlcpArchiveFilesImporter extends Executor {
interface ReadMlcpArchiveFilesOptions extends ReadFilesOptions {
ReadMlcpArchiveFilesOptions categories(String... categories);
ReadMlcpArchiveFilesOptions encoding(String encoding);
ReadMlcpArchiveFilesOptions partitions(int partitions);
}
MlcpArchiveFilesImporter from(Consumer consumer);
MlcpArchiveFilesImporter from(String... paths);
MlcpArchiveFilesImporter to(Consumer> consumer);
}