Class ResultStreamerFromComponent<D,C>

java.lang.Object
org.aksw.jenax.arq.util.tuple.resultset.ResultStreamerFromComponent<D,C>
Type Parameters:
D - The domain type such as Quad
C - The component type such as Node
All Implemented Interfaces:
ResultStreamer<D,C,org.apache.jena.atlas.lib.tuple.Tuple<C>>

public class ResultStreamerFromComponent<D,C> extends Object implements ResultStreamer<D,C,org.apache.jena.atlas.lib.tuple.Tuple<C>>
Implementation backed by a supplier of streams of components such as Nodes. Can convert to domain and tuple representation (if applicable).
Author:
Claus Stadler 11/09/2020
  • Field Details

    • componentStreamer

      protected Supplier<Stream<C>> componentStreamer
    • domainAccessor

      protected org.aksw.commons.tuple.bridge.TupleBridge<D,C> domainAccessor
  • Constructor Details

    • ResultStreamerFromComponent

      public ResultStreamerFromComponent(Supplier<Stream<C>> componentStreamer, org.aksw.commons.tuple.bridge.TupleBridge<D,C> domainAccessor)
  • Method Details