java.lang.Object
org.apache.jena.graph.impl.WrappedGraph
org.apache.jena.shared.RandomOrderGraph
- All Implemented Interfaces:
Graph,GraphWithPerform
Wraps a graph and randomizes the order of find results.
-
Field Summary
Fields inherited from interface org.apache.jena.graph.Graph
emptyGraph -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.jena.graph.impl.WrappedGraph
add, clear, close, contains, contains, delete, dependsOn, getEventManager, getPrefixMapping, getTransactionHandler, getWrapped, isClosed, isEmpty, isIsomorphicWith, performAdd, performDelete, remove, size
-
Constructor Details
-
RandomOrderGraph
- Parameters:
base-
-
RandomOrderGraph
- Parameters:
base-
-
-
Method Details
-
createDefaultGraph
-
createDefaultModel
-
find
Description copied from interface:GraphReturns an iterator over all the Triples that match the triple pattern.- Specified by:
findin interfaceGraph- Overrides:
findin classWrappedGraph- Parameters:
triple- a Triple encoding the pattern to look for- Returns:
- an iterator of all triples in this graph that match m
-
find
Description copied from interface:GraphReturns an iterator over Triples matching a pattern.- Specified by:
findin interfaceGraph- Overrides:
findin classWrappedGraph- Returns:
- an iterator of triples in this graph matching the pattern.
-
getCapabilities
Description copied from interface:Graphreturns this Graph's capabilities- Specified by:
getCapabilitiesin interfaceGraph- Overrides:
getCapabilitiesin classWrappedGraph
-