org.jrdf.graph.local.mem
Class ReadableGraphImpl
java.lang.Object
org.jrdf.graph.local.mem.ReadableGraphImpl
- All Implemented Interfaces:
- ReadableGraph
public class ReadableGraphImpl
- extends Object
- implements ReadableGraph
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadableGraphImpl
public ReadableGraphImpl(LongIndex[] newLongIndexes,
Localizer newLocalizer,
IteratorFactory newIteratorFactory)
contains
public boolean contains(SubjectNode subject,
PredicateNode predicate,
ObjectNode object)
- Specified by:
contains
in interface ReadableGraph
find
public ClosableIterator<Triple> find(SubjectNode subject,
PredicateNode predicate,
ObjectNode object)
- Specified by:
find
in interface ReadableGraph
findUniquePredicates
public ClosableIterator<PredicateNode> findUniquePredicates(Resource resource)
throws GraphException
- Specified by:
findUniquePredicates
in interface ReadableGraph
- Throws:
GraphException
findUniquePredicates
public ClosableIterator<PredicateNode> findUniquePredicates()
- Specified by:
findUniquePredicates
in interface ReadableGraph
getSize
public long getSize()
- Specified by:
getSize
in interface ReadableGraph