java.lang.Object
org.apache.jena.riot.system.StreamRDFReject
org.apache.jena.riot.system.StreamRDFApply
- All Implemented Interfaces:
StreamRDF
Apply a function to every triple and quad.
-
Constructor Summary
ConstructorDescriptionStreamRDFApply
(Consumer<org.apache.jena.graph.Triple> tripleAction, Consumer<Quad> quadAction) -
Method Summary
Methods inherited from class org.apache.jena.riot.system.StreamRDFReject
base, finish, prefix, start
-
Constructor Details
-
StreamRDFApply
-
-
Method Details
-
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 classStreamRDFReject
-
quad
Description copied from interface:StreamRDF
Quad emitted- Specified by:
quad
in interfaceStreamRDF
- Overrides:
quad
in classStreamRDFReject
-