com.marklogic.flux.api.AggregateXmlFilesImporter 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 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);
}