Class SinkStreamingQuads

java.lang.Object
org.aksw.jena_sparql_api.rx.io.resultset.SinkStreamingQuads

public class SinkStreamingQuads extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static SinkStreaming<org.apache.jena.sparql.core.Quad>
    createSinkQuads(org.apache.jena.riot.RDFFormat format, OutputStream out, org.apache.jena.shared.PrefixMapping pm, long prefixAnalysis, Supplier<org.apache.jena.query.Dataset> datasetSupp)
    Create a sink that for line based format streams directly to the output stream or collects quads in memory and emits them all at once in the given format when flushing the sink.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SinkStreamingQuads

      public SinkStreamingQuads()
  • Method Details

    • createSinkQuads

      public static SinkStreaming<org.apache.jena.sparql.core.Quad> createSinkQuads(org.apache.jena.riot.RDFFormat format, OutputStream out, org.apache.jena.shared.PrefixMapping pm, long prefixAnalysis, Supplier<org.apache.jena.query.Dataset> datasetSupp)
      Create a sink that for line based format streams directly to the output stream or collects quads in memory and emits them all at once in the given format when flushing the sink.
      Parameters:
      r -
      format -
      out -
      prefixAnalysisEventCount - Defer output until this number of triple/quad events have been reached and optimize prefixes for the seen data in that window. Negative values cause deferring until all events have been seen which effectively disables streaming. A value of zero immediately prints out the prefixes
      dataset - The dataset implementation to use for non-streaming data. Allows for use of insert-order preserving dataset implementations.
      Returns: