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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy