All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.marklogic.flux.api.MlcpArchiveFilesImporter Maven / Gradle / Ivy

There is a newer version: 1.1.3
Show newest version
/*
 * 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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy