Class ResultStreamerFromTuple<D,C>
java.lang.Object
org.aksw.jenax.arq.util.tuple.resultset.ResultStreamerFromTuple<D,C>
- Type Parameters:
D- The domain type such as QuadC- The component type such as Node
- All Implemented Interfaces:
ResultStreamer<D,C, org.apache.jena.atlas.lib.tuple.Tuple<C>>
public class ResultStreamerFromTuple<D,C>
extends Object
implements ResultStreamer<D,C,org.apache.jena.atlas.lib.tuple.Tuple<C>>
Implementation backed by a supplier of streams of
Tuples.
Can convert to domain and component representation (if applicable).- Author:
- Claus Stadler 11/09/2020
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aksw.jenax.arq.util.tuple.resultset.ResultStreamer
ResultStreamer.BackingType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intThe dimension of the tuples returned by the tuple streamer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOnly works if the accessor can create domain objects with a single component
-
Field Details
-
tupleDimension
protected int tupleDimensionThe dimension of the tuples returned by the tuple streamer -
tupleStreamer
-
domainAccessor
-
-
Constructor Details
-
ResultStreamerFromTuple
-
-
Method Details
-
streamAsDomainObject
Only works if the accessor can create domain objects with a single component- Specified by:
streamAsDomainObjectin interfaceResultStreamer<D,C, org.apache.jena.atlas.lib.tuple.Tuple<C>>
-
streamAsComponent
- Specified by:
streamAsComponentin interfaceResultStreamer<D,C, org.apache.jena.atlas.lib.tuple.Tuple<C>>
-
streamAsTuple
- Specified by:
streamAsTuplein interfaceResultStreamer<D,C, org.apache.jena.atlas.lib.tuple.Tuple<C>>
-
getBackingType
- Specified by:
getBackingTypein interfaceResultStreamer<D,C, org.apache.jena.atlas.lib.tuple.Tuple<C>>
-