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

net.sansa_stack.hadoop.output.jena.base.OutputFormatStreamRdfTriple Maven / Gradle / Ivy

The newest version!
package net.sansa_stack.hadoop.output.jena.base;

import org.apache.jena.graph.Triple;
import org.apache.jena.riot.RDFFormat;
import org.apache.jena.riot.system.StreamRDF;

public class OutputFormatStreamRdfTriple
    extends OutputFormatStreamRdfBase
{
    @Override
    protected void sendRecordToStreamRdf(StreamRDF streamRdf, Triple record) {
        streamRdf.triple(record);
    }

    @Override
    protected RDFFormat getDefaultRdfFormat() {
        return RDFFormat.NTRIPLES;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy