Package org.apache.jena.riot.system
Class StreamRDFCountingBase
- java.lang.Object
-
- org.apache.jena.riot.system.StreamRDFWrapper
-
- org.apache.jena.riot.system.StreamRDFCountingBase
-
- All Implemented Interfaces:
StreamRDFCounting,StreamRDF
public class StreamRDFCountingBase extends StreamRDFWrapper implements StreamRDF, StreamRDFCounting
Wrap another StreamRDF and provide counts of items
-
-
Constructor Summary
Constructors Constructor Description StreamRDFCountingBase(StreamRDF other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcount()Count of triples, quads or tupleslongcountQuads()longcountTriples()voidquad(Quad quad)Quad emittedvoidtriple(Triple triple)Triple emitted-
Methods inherited from class org.apache.jena.riot.system.StreamRDFWrapper
base, finish, prefix, start
-
-
-
-
Constructor Detail
-
StreamRDFCountingBase
public StreamRDFCountingBase(StreamRDF other)
-
-
Method Detail
-
triple
public void triple(Triple triple)
Description copied from interface:StreamRDFTriple emitted- Specified by:
triplein interfaceStreamRDF- Overrides:
triplein classStreamRDFWrapper
-
quad
public void quad(Quad quad)
Description copied from interface:StreamRDFQuad emitted- Specified by:
quadin interfaceStreamRDF- Overrides:
quadin classStreamRDFWrapper
-
count
public long count()
Description copied from interface:StreamRDFCountingCount of triples, quads or tuples- Specified by:
countin interfaceStreamRDFCounting
-
countTriples
public long countTriples()
- Specified by:
countTriplesin interfaceStreamRDFCounting
-
countQuads
public long countQuads()
- Specified by:
countQuadsin interfaceStreamRDFCounting
-
-