Package com.apicatalog.rdf
Interface RdfDataset
-
- All Known Implementing Classes:
MutableRdfDataset
@Deprecated public interface RdfDatasetDeprecated.since 1.7.0 - use an alternative RDF primitives library.This class is deprecated as of version 1.7.0.Please use Titanium RDF Primitives or any other third-party library to materialize RDF primitives.
- See Also:
- Titanium RDF Primitives
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description RdfDatasetadd(RdfNQuad nquad)Deprecated.AddN-Quadto the dataset.RdfDatasetadd(RdfTriple triple)Deprecated.Add a triple to default graph.RdfGraphgetDefaultGraph()Deprecated.java.util.Optional<RdfGraph>getGraph(RdfResource graphName)Deprecated.java.util.Set<RdfResource>getGraphNames()Deprecated.intsize()Deprecated.Get the size of the dataset.java.util.List<RdfNQuad>toList()Deprecated.
-
-
-
Method Detail
-
getDefaultGraph
RdfGraph getDefaultGraph()
Deprecated.
-
add
RdfDataset add(RdfNQuad nquad)
Deprecated.AddN-Quadto the dataset.- Parameters:
nquad- to add- Returns:
- the same
RdfDatasetinstance
-
add
RdfDataset add(RdfTriple triple)
Deprecated.Add a triple to default graph.- Parameters:
triple- to add- Returns:
- the same
RdfDatasetinstance
-
toList
java.util.List<RdfNQuad> toList()
Deprecated.
-
getGraphNames
java.util.Set<RdfResource> getGraphNames()
Deprecated.
-
getGraph
java.util.Optional<RdfGraph> getGraph(RdfResource graphName)
Deprecated.
-
size
int size()
Deprecated.Get the size of the dataset.- Returns:
- total number of
N-Quadsin the dataset
-
-