@Test public void Remove() { MiniConnection conn = new MiniRepository().openConnection(); conn.addStatements(new STMT(new BID(), RDF.type, RDFS.Resource)); assertTrue(conn.exists(null, null, null, null, false)); conn.remove(null, null, null, null); assertFalse(conn.exists(null, null, null, null, false)); }
@Override public void remove(ID subject, UID predicate, NODE object, UID context) { repository.remove(subject, predicate, object, context); }
MiniConnection implements RDFConnection { @Override public void remove(ID subject, UID predicate, NODE object, UID context) { repository.remove(subject, predicate, object, context); } }
MiniConnection implements RDFConnection { @Override public void remove(ID subject, UID predicate, NODE object, UID context) { repository.remove(subject, predicate, object, context); } MiniConnection(MiniRepository repository); }
MiniConnection implements RDFConnection { @Override public void remove(ID subject, UID predicate, NODE object, UID context) { repository.remove(subject, predicate, object, context); } MiniConnection(MiniRepository repository); void addStatements(STMT... stmts); @Override RDFBeanTransaction beginTransaction(boolean readOnly, int txTimeout, int isolationLevel); @Override void clear(); @Override void close(); @Override BID createBNode(); @Override Q createUpdate(UpdateLanguage<D, Q> updateLanguage, D definition); @SuppressWarnings("unchecked") @Override Q createQuery(QueryLanguage<D, Q> queryLanguage, D definition); @Override boolean exists(ID subject, UID predicate, NODE object, UID context, boolean includeInferred); @Override CloseableIterator<STMT> findStatements(ID subject, UID predicate,
            NODE object, UID context, boolean includeInferred); @Override long getNextLocalId(); MiniRepository getRepository(); @Override void remove(ID subject, UID predicate, NODE object, UID context); @Override void update(Collection<STMT> removedStatements, Collection<STMT> addedStatements); @Override QueryOptions getQueryOptions(); @Override InferenceOptions getInferenceOptions(); }
MiniConnection implements RDFConnection { @Override public void remove(ID subject, UID predicate, NODE object, UID context) { repository.remove(subject, predicate, object, context); } MiniConnection(MiniRepository repository); void addStatements(STMT... stmts); @Override RDFBeanTransaction beginTransaction(boolean readOnly, int txTimeout, int isolationLevel); @Override void clear(); @Override void close(); @Override BID createBNode(); @Override Q createUpdate(UpdateLanguage<D, Q> updateLanguage, D definition); @SuppressWarnings("unchecked") @Override Q createQuery(QueryLanguage<D, Q> queryLanguage, D definition); @Override boolean exists(ID subject, UID predicate, NODE object, UID context, boolean includeInferred); @Override CloseableIterator<STMT> findStatements(ID subject, UID predicate,
            NODE object, UID context, boolean includeInferred); @Override long getNextLocalId(); MiniRepository getRepository(); @Override void remove(ID subject, UID predicate, NODE object, UID context); @Override void update(Collection<STMT> removedStatements, Collection<STMT> addedStatements); @Override QueryOptions getQueryOptions(); @Override InferenceOptions getInferenceOptions();  }