protected void doLoad(AbstractTripleStore store, String resource, final boolean parallel) throws Exception { doLoad(store, resource, parallel, new StatementBufferFactory<BigdataStatement>(store)); }
private VocabBuilder() { parserOptions = new RDFParserOptions(); parserOptions.setStopAtFirstError(false); parserOptions.setVerifyData(false); }
/** * Test with the "sample data.rdf" data set. */ public void test_loadAndVerify_sampleData() throws Exception { final String resource = "/com/bigdata/rdf/rio/sample data.rdf"; doLoadAndVerifyTest( resource, getProperties() ); }
/** * Uses a modest (40k statements) file (BSBM PC 100). */ public void test_loadAndVerify_bsbm_pc100() throws Exception { final String file = "/data/bsbm/dataset_pc100.nt"; doLoadAndVerifyTest( file, parallel ); }
@Override protected void sample() { setValue(getElapsedMillis()); } });
@Override protected void sample() { setValue(getStatementCount()); } });
/** * Note: do not invoke this directly. It does not know how to set the * resource identifier on the statement buffer impl. */ public IStatementBuffer<S> newStatementBuffer() { return newStatementBuffer(null/* resource */); }
private VocabBuilder() { parserOptions = new RDFParserOptions(); parserOptions.setStopAtFirstError(false); parserOptions.setVerifyData(false); }
protected void doLoad(AbstractTripleStore store, String resource, final boolean parallel) throws Exception { doLoad(store, resource, parallel, new StatementBufferFactory<BigdataStatement>(store)); }
/** * Test with the "small.rdf" data set. */ public void test_loadAndVerify_small() throws Exception { final String resource = "/com/bigdata/rdf/rio/small.rdf"; doLoadAndVerifyTest(resource, getProperties()); }
/** * Test with the "little.ttl" data set. */ public void test_loadAndVerify_little_ttl() throws Exception { final String resource = "/com/bigdata/rdf/rio/little.ttl"; doLoadAndVerifyTest(resource, parallel); }
@Override protected void sample() { setValue(getElapsedMillis()); } });
@Override protected void sample() { setValue(getStatementCount()); } });
protected void doLoad(AbstractTripleStore store, String resource, final boolean parallel) throws Exception { doLoad(store, resource, parallel, new StatementBufferFactory<BigdataStatement>(store)); }
/** * Test with the "smallWithBlobs.rdf" data set. */ public void test_loadAndVerify_smallWithBlobs() throws Exception { final String resource = "/com/bigdata/rdf/rio/smallWithBlobs.rdf"; doLoadAndVerifyTest(resource, getProperties()); }
/** * Test with the "small.rdf" data set. * * @throws Exception */ public void test_loadAndVerify_small() throws Exception { final String resource = "/com/bigdata/rdf/rio/small.rdf"; doLoadAndVerifyTest(resource, parallel); }
/** * LUBM U(1) */ public void test_loadAndVerify_U1() throws Exception { final String file = "src/test/resources/data/lehigh/U1/"; doLoadAndVerifyTest(file, parallel); }
/** * Uses a modest (40k statements) file (BSBM PC 100). */ public void test_loadAndVerify_bsbm_pc100() throws Exception { final String file = "/data/bsbm/dataset_pc100.nt"; doLoadAndVerifyTest( file, parallel ); }