Class SinkStreamingBase<T>

java.lang.Object
org.aksw.commons.util.lifecycle.LifeCycleBase
org.aksw.jena_sparql_api.rx.io.resultset.SinkStreamingBase<T>
All Implemented Interfaces:
AutoCloseable, org.aksw.commons.util.lifecycle.LifeCycle, SinkStreaming<T>, org.apache.jena.atlas.lib.Closeable, org.apache.jena.atlas.lib.Sink<T>
Direct Known Subclasses:
SinkStreamingAdapter, SinkStreamingBinding, SinkStreamingDataset, SinkStreamingJsonArray, SinkStreamingStreamRDF, SinkStreamingWrapper, SPARQLResultExProcessorImpl

public abstract class SinkStreamingBase<T> extends org.aksw.commons.util.lifecycle.LifeCycleBase implements SinkStreaming<T>
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.aksw.commons.util.lifecycle.LifeCycleBase

    org.aksw.commons.util.lifecycle.LifeCycleBase.State
  • Field Summary

    Fields inherited from class org.aksw.commons.util.lifecycle.LifeCycleBase

    state
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    final void
    send(T item)
     
    protected abstract void
    sendActual(T item)
     
    protected void
     

    Methods inherited from class org.aksw.commons.util.lifecycle.LifeCycleBase

    expectStarted, finish, start

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.AutoCloseable

    close

    Methods inherited from interface org.apache.jena.atlas.lib.Closeable

    close

    Methods inherited from interface org.apache.jena.atlas.lib.Sink

    flush

    Methods inherited from interface org.aksw.jena_sparql_api.rx.io.resultset.SinkStreaming

    finish, start
  • Constructor Details

    • SinkStreamingBase

      public SinkStreamingBase()
  • Method Details

    • send

      public final void send(T item)
      Specified by:
      send in interface org.apache.jena.atlas.lib.Sink<T>
    • startActual

      protected void startActual()
      Specified by:
      startActual in class org.aksw.commons.util.lifecycle.LifeCycleBase
    • finishActual

      protected void finishActual()
      Specified by:
      finishActual in class org.aksw.commons.util.lifecycle.LifeCycleBase
    • sendActual

      protected abstract void sendActual(T item)