java.lang.Object
org.apache.jena.riot.lang.CollectorStreamBase<org.apache.jena.graph.Triple>
org.apache.jena.riot.lang.CollectorStreamTriples
- All Implemented Interfaces:
StreamRDF
public class CollectorStreamTriples
extends CollectorStreamBase<org.apache.jena.graph.Triple>
implements StreamRDF
Collector stream for triples.
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.jena.riot.lang.CollectorStreamBase
base, finish, getBaseIri, getPrefixes, prefix, quad
-
Constructor Details
-
CollectorStreamTriples
public CollectorStreamTriples()
-
-
Method Details
-
start
public void start()Description copied from interface:StreamRDF
Start processing- Specified by:
start
in interfaceStreamRDF
- Overrides:
start
in classCollectorStreamBase<org.apache.jena.graph.Triple>
-
triple
public void triple(org.apache.jena.graph.Triple triple) Description copied from interface:StreamRDF
Triple emitted- Specified by:
triple
in interfaceStreamRDF
- Overrides:
triple
in classCollectorStreamBase<org.apache.jena.graph.Triple>
-
getCollected
- Specified by:
getCollected
in classCollectorStreamBase<org.apache.jena.graph.Triple>
- Returns:
- The collection received by this instance.
-