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

com.marklogic.flux.api.AggregateXmlFilesImporter 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 aggregate XML files from local, HDFS, and S3 locations with each row being written to MarkLogic.
 */
public interface AggregateXmlFilesImporter extends Executor {

    interface ReadXmlFilesOptions extends ReadFilesOptions {
        ReadXmlFilesOptions element(String element);

        ReadXmlFilesOptions namespace(String namespace);

        ReadXmlFilesOptions uriElement(String uriElement);

        ReadXmlFilesOptions uriNamespace(String uriNamespace);

        ReadXmlFilesOptions compressionType(CompressionType compressionType);

        ReadXmlFilesOptions encoding(String encoding);

        ReadXmlFilesOptions partitions(int partitions);
    }

    AggregateXmlFilesImporter from(Consumer consumer);

    AggregateXmlFilesImporter from(String... paths);

    AggregateXmlFilesImporter to(Consumer> consumer);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy