RyaAccumuloSailFactory implements SailFactory { @Override public SailImplConfig getConfig() { return new RyaAccumuloSailConfig(); }  @Override SailImplConfig getConfig(); @Override Sail getSail(final SailImplConfig config); @Override String getSailType(); static final String SAIL_TYPE; }
@Ignore @Test public void testCreateAccumuloSail() throws Exception { SailRepositoryFactory f = new SailRepositoryFactory(); Repository r = f.getRepository(getConfig()); r.initialize(); RepositoryConnection rc = r.getConnection(); rc.close(); }
@Ignore @Test public void testAddStatement() throws Exception { SailRepositoryFactory f = new SailRepositoryFactory(); Repository r = f.getRepository(getConfig()); r.initialize(); RepositoryConnection rc = r.getConnection(); ValueFactory vf = rc.getValueFactory(); Statement s = vf.createStatement(vf.createIRI("u:a"), vf.createIRI("u:b"), vf.createIRI("u:c")); assertFalse(rc.hasStatement(s, false)); rc.add(s); Assert.assertTrue(rc.hasStatement(s, false)); rc.close(); }