org.jrdf.graph.global.index
Interface ReadableIndex<T>
- All Known Implementing Classes:
- ReadableIndexImpl
public interface ReadableIndex<T>
findMid
Long findMid(T... triple)
throws GraphException
- Throws:
GraphException
findTriplesForMid
ClosableIterator<Long[]> findTriplesForMid(T pid,
T mid)
findEnclosingMoleculeId
Long findEnclosingMoleculeId(Long mid)
throws GraphException
- Throws:
GraphException
findChildIds
ClosableIterator<Long> findChildIds(Long mid)
findHeadTripleMid
Long findHeadTripleMid(Long pid,
Long... triple)
throws GraphException
- Throws:
GraphException
findTriplesForPid
ClosableIterator<Long[]> findTriplesForPid(Long pid)
getMaxMoleculeId
long getMaxMoleculeId()
findMoleculeIDs
ClosableIterator<Long> findMoleculeIDs(Long[] triple)
isSubmoleculeOfParentID
boolean isSubmoleculeOfParentID(Long pid,
Long mid)
getMidPidPairs
ClosableIterator<Long[]> getMidPidPairs(Long... triple)
findTopMoleculeID
Long findTopMoleculeID(Long mid)
throws GraphException
- Throws:
GraphException