Class ResultStreamerFromDomain<D,C>
java.lang.Object
org.aksw.jenax.arq.util.tuple.resultset.ResultStreamerFromDomain<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 ResultStreamerFromDomain<D,C>
extends Object
implements ResultStreamer<D,C,org.apache.jena.atlas.lib.tuple.Tuple<C>>
Implementation backed by a supplier of streams of domain objects such as
Quads.
Can convert to tuple and component representation (if applicable).
Domain objects can only be converted to component representation if they are logical 1-tuples.- 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 TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
domainStreamer
-
domainAccessor
-
-
Constructor Details
-
ResultStreamerFromDomain
-
-
Method Details
-
streamAsDomainObject
- 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>>
-