com.marklogic.flux.api.RdfFilesImporter 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 RDF data from local, HDFS, and S3 files and write the data as managed triples documents in MarkLogic.
*/
public interface RdfFilesImporter extends Executor {
interface ReadRdfFilesOptions extends ReadFilesOptions {
ReadRdfFilesOptions compressionType(CompressionType compressionType);
ReadRdfFilesOptions partitions(int partitions);
}
interface WriteTriplesDocumentsOptions extends WriteDocumentsOptions {
WriteTriplesDocumentsOptions graph(String graph);
WriteTriplesDocumentsOptions graphOverride(String graphOverride);
}
RdfFilesImporter from(Consumer consumer);
RdfFilesImporter from(String... paths);
RdfFilesImporter to(Consumer consumer);
}