public class StreamRDFCountingBase extends StreamRDFWrapper implements StreamRDF, StreamRDFCounting
Constructor and Description |
---|
StreamRDFCountingBase(StreamRDF other) |
Modifier and Type | Method and Description |
---|---|
long |
count()
Count of triples, quads or tuples
|
long |
countQuads() |
long |
countTriples() |
void |
quad(Quad quad)
Quad emitted
|
void |
triple(Triple triple)
Triple emitted
|
base, finish, prefix, start
public StreamRDFCountingBase(StreamRDF other)
public void triple(Triple triple)
StreamRDF
triple
in interface StreamRDF
triple
in class StreamRDFWrapper
public void quad(Quad quad)
StreamRDF
quad
in interface StreamRDF
quad
in class StreamRDFWrapper
public long count()
StreamRDFCounting
count
in interface StreamRDFCounting
public long countTriples()
countTriples
in interface StreamRDFCounting
public long countQuads()
countQuads
in interface StreamRDFCounting
Licenced under the Apache License, Version 2.0