public AbstractBigdataSailTestCase getOurDelegate() { if (getDelegate() == null) { String testClass = System.getProperty("testClass"); if (testClass != null) { return super.getOurDelegate(); } setDelegate(new com.bigdata.rdf.sail.TestBigdataSailWithQuads()); } return (AbstractBigdataSailTestCase) super.getDelegate(); }
@Override public Properties getProperties() { Properties properties = super.getProperties(); // Enable inlining properties.setProperty(Options.INLINE_XSD_DATATYPE_LITERALS, "false"); properties.setProperty(Options.INLINE_DATE_TIMES, "false"); properties.setProperty(Options.INLINE_TEXT_LITERALS, "false"); return properties; }
@Override protected void setUp() throws Exception { super.setUp(); firstCause = new AtomicReference<Throwable>(null); executorService = Executors.newFixedThreadPool(3/*nthreads*/); }
@Override protected void tearDown() throws Exception { if (executorService != null) { // interrupt any running tasks. executorService.shutdownNow(); } // clear references so that junit does not hold onto them. executorService = null; firstCause = null; super.tearDown(); }
@Override protected void tearDown() throws Exception { if (executorService != null) { // interrupt any running tasks. executorService.shutdownNow(); } // clear references so that junit does not hold onto them. executorService = null; firstCause = null; super.tearDown(); }
@Override public Properties getProperties() { Properties props = super.getProperties(); props.setProperty(BigdataSail.Options.AXIOMS_CLASS, NoAxioms.class.getName()); props.setProperty(BigdataSail.Options.VOCABULARY_CLASS, NoVocabulary.class.getName()); props.setProperty(BigdataSail.Options.TRUTH_MAINTENANCE, "false"); props.setProperty(BigdataSail.Options.JUSTIFY, "false"); props.setProperty(BigdataSail.Options.TEXT_INDEX, "false"); return props; }
public AbstractBigdataSailTestCase getOurDelegate() { if (getDelegate() == null) { String testClass = System.getProperty("testClass"); if (testClass != null) { return super.getOurDelegate(); } setDelegate(new com.bigdata.rdf.sail.TestBigdataSailWithQuads()); } return (AbstractBigdataSailTestCase) super.getDelegate(); }
@Override protected void setUp() throws Exception { super.setUp(); firstCause = new AtomicReference<Throwable>(null); executorService = Executors.newFixedThreadPool(3/*nthreads*/); }
@Override public Properties getProperties() { Properties properties = super.getProperties(); // Enable inlining properties.setProperty(Options.INLINE_XSD_DATATYPE_LITERALS, "true"); properties.setProperty(Options.INLINE_DATE_TIMES, "true"); properties.setProperty(Options.INLINE_TEXT_LITERALS, "true"); properties.setProperty(Options.MAX_INLINE_TEXT_LENGTH, "1000"); return properties; }
@Override public Properties getProperties() { Properties props = super.getProperties(); props.setProperty(BigdataSail.Options.AXIOMS_CLASS, NoAxioms.class.getName()); props.setProperty(BigdataSail.Options.VOCABULARY_CLASS, NoVocabulary.class.getName()); props.setProperty(BigdataSail.Options.TRUTH_MAINTENANCE, "false"); props.setProperty(BigdataSail.Options.JUSTIFY, "false"); props.setProperty(BigdataSail.Options.TEXT_INDEX, "false"); return props; }
/** * Please set your database properties here, except for your journal file, * please DO NOT SPECIFY A JOURNAL FILE. */ @Override public Properties getProperties() { Properties props = super.getProperties(); /* * For example, here is a set of five properties that turns off * inference, truth maintenance, and the free text index. */ props.setProperty(BigdataSail.Options.AXIOMS_CLASS, NoAxioms.class.getName()); props.setProperty(BigdataSail.Options.VOCABULARY_CLASS, NoVocabulary.class.getName()); props.setProperty(BigdataSail.Options.TRUTH_MAINTENANCE, "false"); props.setProperty(BigdataSail.Options.JUSTIFY, "false"); props.setProperty(BigdataSail.Options.TEXT_INDEX, "false"); return props; }
/** * Please set your database properties here, except for your journal file, * please DO NOT SPECIFY A JOURNAL FILE. */ @Override public Properties getProperties() { Properties props = super.getProperties(); /* * For example, here is a set of five properties that turns off * inference, truth maintenance, and the free text index. */ props.setProperty(BigdataSail.Options.AXIOMS_CLASS, NoAxioms.class.getName()); props.setProperty(BigdataSail.Options.VOCABULARY_CLASS, NoVocabulary.class.getName()); props.setProperty(BigdataSail.Options.TRUTH_MAINTENANCE, "false"); props.setProperty(BigdataSail.Options.JUSTIFY, "false"); props.setProperty(BigdataSail.Options.TEXT_INDEX, "true"); return props; }
/** * Please set your database properties here, except for your journal file, * please DO NOT SPECIFY A JOURNAL FILE. */ @Override public Properties getProperties() { Properties props = super.getProperties(); /* * For example, here is a set of five properties that turns off * inference, truth maintenance, and the free text index. */ props.setProperty(BigdataSail.Options.AXIOMS_CLASS, NoAxioms.class.getName()); props.setProperty(BigdataSail.Options.VOCABULARY_CLASS, NoVocabulary.class.getName()); props.setProperty(BigdataSail.Options.TRUTH_MAINTENANCE, "false"); props.setProperty(BigdataSail.Options.JUSTIFY, "false"); props.setProperty(BigdataSail.Options.TEXT_INDEX, "false"); return props; }
/** * Please set your database properties here, except for your journal file, * please DO NOT SPECIFY A JOURNAL FILE. */ @Override public Properties getProperties() { Properties props = super.getProperties(); /* * For example, here is a set of five properties that turns off * inference, truth maintenance, and the free text index. */ props.setProperty(BigdataSail.Options.AXIOMS_CLASS, NoAxioms.class.getName()); props.setProperty(BigdataSail.Options.VOCABULARY_CLASS, NoVocabulary.class.getName()); props.setProperty(BigdataSail.Options.TRUTH_MAINTENANCE, "false"); props.setProperty(BigdataSail.Options.JUSTIFY, "false"); props.setProperty(BigdataSail.Options.TEXT_INDEX, "false"); return props; }
/** * Please set your database properties here, except for your journal file, * please DO NOT SPECIFY A JOURNAL FILE. */ @Override public Properties getProperties() { Properties props = super.getProperties(); /* * For example, here is a set of five properties that turns off * inference, truth maintenance, and the free text index. */ props.setProperty(BigdataSail.Options.AXIOMS_CLASS, NoAxioms.class.getName()); props.setProperty(BigdataSail.Options.VOCABULARY_CLASS, NoVocabulary.class.getName()); props.setProperty(BigdataSail.Options.TRUTH_MAINTENANCE, "false"); props.setProperty(BigdataSail.Options.JUSTIFY, "false"); props.setProperty(BigdataSail.Options.TEXT_INDEX, "false"); return props; }
@Override public Properties getProperties() { final Properties props = super.getProperties(); /* * For example, here is a set of five properties that turns off * inference, truth maintenance, and the free text index. */ props.setProperty(BigdataSail.Options.AXIOMS_CLASS, NoAxioms.class.getName()); props.setProperty(BigdataSail.Options.VOCABULARY_CLASS, NoVocabulary.class.getName()); props.setProperty(BigdataSail.Options.TRUTH_MAINTENANCE, "false"); props.setProperty(BigdataSail.Options.JUSTIFY, "false"); // transactions are off in the base version of this class. props.setProperty(BigdataSail.Options.ISOLATABLE_INDICES, "false"); // props.setProperty(BigdataSail.Options.CREATE_TEMP_FILE, "true"); // props.setProperty(BigdataSail.Options.BUFFER_MODE, BufferMode.DiskRW // .toString()); // props.setProperty(BigdataSail.Options.EXACT_SIZE, "true"); return props; }
/** * Please set your database properties here, except for your journal file, * please DO NOT SPECIFY A JOURNAL FILE. */ @Override public Properties getProperties() { final Properties props = super.getProperties(); /* * For example, here is a set of five properties that turns off * inference, truth maintenance, and the free text index. */ props.setProperty(BigdataSail.Options.AXIOMS_CLASS, NoAxioms.class.getName()); props.setProperty(BigdataSail.Options.VOCABULARY_CLASS, NoVocabulary.class.getName()); props.setProperty(BigdataSail.Options.TRUTH_MAINTENANCE, "false"); props.setProperty(BigdataSail.Options.JUSTIFY, "false"); // props.setProperty(BigdataSail.Options.INLINE_DATE_TIMES, "true"); // props.setProperty(BigdataSail.Options.ISOLATABLE_INDICES, "true"); // props.setProperty(BigdataSail.Options.EXACT_SIZE, "true"); // props.setProperty(BigdataSail.Options.ALLOW_SESAME_QUERY_EVALUATION, // "false"); props.setProperty(BigdataSail.Options.STATEMENT_IDENTIFIERS, "false"); return props; } /**
/** * Please set your database properties here, except for your journal file, * please DO NOT SPECIFY A JOURNAL FILE. */ @Override public Properties getProperties() { final Properties props = super.getProperties(); /* * For example, here is a set of five properties that turns off * inference, truth maintenance, and the free text index. */ props.setProperty(BigdataSail.Options.AXIOMS_CLASS, NoAxioms.class.getName()); props.setProperty(BigdataSail.Options.VOCABULARY_CLASS, NoVocabulary.class.getName()); props.setProperty(BigdataSail.Options.TRUTH_MAINTENANCE, "false"); props.setProperty(BigdataSail.Options.JUSTIFY, "false"); props.setProperty(BigdataSail.Options.INLINE_DATE_TIMES, "true"); props.setProperty(BigdataSail.Options.ISOLATABLE_INDICES, "true"); props.setProperty(BigdataSail.Options.EXACT_SIZE, "true"); // props.setProperty(BigdataSail.Options.ALLOW_SESAME_QUERY_EVALUATION, // "false"); props.setProperty(BigdataSail.Options.STATEMENT_IDENTIFIERS, "false"); return props; }
/** * Please set your database properties here, except for your journal file, * please DO NOT SPECIFY A JOURNAL FILE. */ @Override public Properties getProperties() { final Properties props = super.getProperties(); /* * For example, here is a set of five properties that turns off * inference, truth maintenance, and the free text index. */ props.setProperty(BigdataSail.Options.AXIOMS_CLASS, NoAxioms.class.getName()); props.setProperty(BigdataSail.Options.VOCABULARY_CLASS, NoVocabulary.class.getName()); props.setProperty(BigdataSail.Options.TRUTH_MAINTENANCE, "false"); props.setProperty(BigdataSail.Options.JUSTIFY, "false"); props.setProperty(BigdataSail.Options.INLINE_DATE_TIMES, "true"); props.setProperty(BigdataSail.Options.ISOLATABLE_INDICES, "true"); props.setProperty(BigdataSail.Options.EXACT_SIZE, "true"); // props.setProperty(BigdataSail.Options.ALLOW_SESAME_QUERY_EVALUATION, // "false"); props.setProperty(BigdataSail.Options.STATEMENT_IDENTIFIERS, "false"); return props; }
public Properties getProperties() { final Properties props = super.getProperties();