org.jrdf.graph.local
Interface ReadableGraph

All Known Subinterfaces:
ReadWriteGraph
All Known Implementing Classes:
ReadableGraphImpl, ReadWriteGraphImpl

public interface ReadableGraph


Method Summary
 boolean contains(SubjectNode subject, PredicateNode predicate, ObjectNode object)
           
 ClosableIterator<Triple> find(SubjectNode subject, PredicateNode predicate, ObjectNode object)
           
 ClosableIterator<PredicateNode> findUniquePredicates()
           
 ClosableIterator<PredicateNode> findUniquePredicates(Resource resource)
           
 long getSize()
           
 

Method Detail

contains

boolean contains(SubjectNode subject,
                 PredicateNode predicate,
                 ObjectNode object)

find

ClosableIterator<Triple> find(SubjectNode subject,
                              PredicateNode predicate,
                              ObjectNode object)

getSize

long getSize()

findUniquePredicates

ClosableIterator<PredicateNode> findUniquePredicates(Resource resource)
                                                     throws GraphException
Throws:
GraphException

findUniquePredicates

ClosableIterator<PredicateNode> findUniquePredicates()