1 6 7 package com.hp.hpl.jena.graph.impl; 8 9 import com.hp.hpl.jena.graph.*; 10 import com.hp.hpl.jena.util.iterator.ExtendedIterator; 11 12 16 public interface TripleStore 17 { 18 21 public abstract void close(); 22 23 26 public abstract void add( Triple t ); 27 28 31 public abstract void delete( Triple t ); 32 33 36 public abstract int size(); 37 38 41 public abstract boolean isEmpty(); 42 43 46 public abstract boolean contains( Triple t ); 47 48 51 public ExtendedIterator listSubjects(); 52 53 56 public ExtendedIterator listPredicates(); 57 58 61 public ExtendedIterator listObjects(); 62 63 67 public abstract ExtendedIterator find( TripleMatch tm ); 68 69 72 public abstract void clear(); 73 } 74 75 | Popular Tags |