Java org.apache.commons.rdf.api Dataset fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.rdf.api Dataset fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.rdf.api Dataset.

The text is from its open source code.

Method

voidadd(Quad quad)
Add a quad to the dataset, possibly mapping any of the components of the Quad to those supported by this dataset.
voidadd(BlankNodeOrIRI graphName, BlankNodeOrIRI subject, IRI predicate, RDFTerm object)
Add a quad to the dataset, possibly mapping any of the components to those supported by this dataset.
voidclear()
Clear the dataset, removing all quads.
booleancontains(Quad quad)
Check if dataset contains quad.
booleancontains(Optional graphName, BlankNodeOrIRI subject, IRI predicate, RDFTerm object)
Check if dataset contains a pattern of quads.
OptionalgetGraph(BlankNodeOrIRI graphName)
Get a named graph in this dataset.
voidremove(Quad quad)
Remove a concrete quad from the dataset.
longsize()
Number of quads contained by the dataset.
Streamstream()
Get all quads contained by the dataset.

The iteration does not contain any duplicate quads, as determined by the Quad#equals(Object) method for each Quad .