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

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

There is a newer version: 1.0.0.ea1
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 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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy