@Override public void setUpComparisonTest(final Properties properties) throws Exception { journal = new Journal(properties); }
static private Journal getTemporaryJournal() { final Properties properties = new Properties(); properties.setProperty(com.bigdata.journal.Options.BUFFER_MODE, BufferMode.Transient.toString()); properties.setProperty(com.bigdata.journal.Options.INITIAL_EXTENT, "" + (Bytes.megabyte32 * 1)); return new Journal(properties); }
protected IRawStore getStore() { final Properties properties = getProperties(); properties.setProperty(Options.CREATE_TEMP_FILE, "true"); properties.setProperty(Options.DELETE_ON_EXIT, "true"); properties.setProperty(Options.BUFFER_MODE, BufferMode.DiskWORM .toString()); properties.setProperty(Options.WRITE_CACHE_ENABLED, "" + writeCacheEnabled); return new Journal(properties);//.getBufferStrategy(); }
@Override protected Journal getStore() { final Properties properties = getProperties(); properties.setProperty(Options.CREATE_TEMP_FILE, "true"); properties.setProperty(Options.DELETE_ON_EXIT, "true"); properties.setProperty(Options.BUFFER_MODE, BufferMode.DiskWORM .toString()); properties.setProperty(Options.WRITE_CACHE_ENABLED, "" + writeCacheEnabled); return new Journal(properties);//.getBufferStrategy(); }
@Override protected IRawStore getStore() { final Properties properties = getProperties(); properties.setProperty(Options.CREATE_TEMP_FILE, "true"); properties.setProperty(Options.DELETE_ON_EXIT, "true"); properties.setProperty(Options.BUFFER_MODE, BufferMode.DiskRW.toString()); properties.setProperty(Options.WRITE_CACHE_ENABLED, "" + writeCacheEnabled); return new Journal(properties);//.getBufferStrategy(); }
@Override protected IRawStore getStore() { final Properties properties = getProperties(); properties.setProperty(Options.CREATE_TEMP_FILE, "true"); properties.setProperty(Options.DELETE_ON_EXIT, "true"); properties.setProperty(Options.BUFFER_MODE, BufferMode.DiskRW.toString()); properties.setProperty(Options.WRITE_CACHE_ENABLED, "" + writeCacheEnabled); return new Journal(properties);//.getBufferStrategy(); }
@Override protected IRawStore getStore() { final Properties properties = getProperties(); properties.setProperty(Options.DELETE_ON_EXIT,"true"); properties.setProperty(Options.CREATE_TEMP_FILE,"true"); properties.setProperty(Options.BUFFER_MODE, BufferMode.Direct .toString()); return new Journal(properties);//.getBufferStrategy(); }
protected IRawStore getStore() { Properties properties = getProperties(); properties.setProperty(Options.DELETE_ON_EXIT,"true"); properties.setProperty(Options.CREATE_TEMP_FILE,"true"); properties.setProperty(Options.BUFFER_MODE, BufferMode.Mapped .toString()); return new Journal(properties);//.getBufferStrategy(); }
protected IRawStore getStore() { Properties properties = getProperties(); properties.setProperty(Options.DELETE_ON_EXIT,"true"); properties.setProperty(Options.CREATE_TEMP_FILE,"true"); properties.setProperty(Options.BUFFER_MODE, BufferMode.Mapped .toString()); return new Journal(properties);//.getBufferStrategy(); }
public void setUp() throws IOException { System.err.println("------------------\n"); deleteFile(); journal = new Journal( getProperties() ); }
@Override public void setUp() throws Exception { jnl = new Journal(getProperties()); queryEngine = new QueryEngine(jnl); queryEngine.init(); }
public void setUp() throws Exception { jnl = new Journal(getProperties()); queryEngine = new QueryEngine(jnl); queryEngine.init(); }
@Override public void setUp() throws Exception { super.setUp(); jnl = new Journal(getProperties()); loadData(jnl); }
@Override protected void setUp() throws Exception { jnl = new Journal(getProperties()); loadData(jnl); queryEngine = new QueryEngine(jnl); queryEngine.init(); }
@Override public void setUp() throws Exception { jnl = new Journal(getProperties()); loadData(jnl); queryEngine = new QueryEngine(jnl); queryEngine.init(); }
@Override public void setUp() throws Exception { jnl = new Journal(getProperties()); loadData(jnl); queryEngine = new QueryEngine(jnl); queryEngine.init(); }
protected AbstractTripleStore getStore(final Properties properties) { final String namespace = "kb"; // create/re-open journal. final Journal journal = new Journal(properties); final LocalTripleStore lts = new LocalTripleStore(journal, namespace, ITx.UNISOLATED, properties); lts.create(); return lts; }
protected AbstractTripleStore getStore(final Properties properties) { final String namespace = "kb"; // create/re-open journal. final Journal journal = new Journal(properties); final LocalTripleStore lts = new LocalTripleStore(journal, namespace, ITx.UNISOLATED, properties); lts.create(); return lts; }
protected AbstractTripleStore getStore(final Properties properties) { final String namespace = "kb"; // create/re-open journal. final Journal journal = new Journal(properties); final LocalTripleStore lts = new LocalTripleStore(journal, namespace, ITx.UNISOLATED, properties); lts.create(); return lts; }
protected AbstractTripleStore getStore(final Properties properties) { final String namespace = "kb"; // create/re-open journal. final Journal journal = new Journal(properties); final LocalTripleStore lts = new LocalTripleStore(journal, namespace, ITx.UNISOLATED, properties); lts.create(); return lts; }