/** * Create or open a database instance configured using the specified * properties. * * @see Options */ public BigdataSail(final Properties properties) { this(properties.getProperty(Options.NAMESPACE,Options.DEFAULT_NAMESPACE), new Journal(properties)); closeOnShutdown = true; if(!exists()) { // Create iff it does not exist (backward compatibility, simple constructor mode). try { create(properties); } catch (InterruptedException | ExecutionException e) { throw new RuntimeException(e); } } }
/** * Create or open a database instance configured using the specified * properties. * * @see Options */ public BigdataSail(final Properties properties) { this(properties.getProperty(Options.NAMESPACE,Options.DEFAULT_NAMESPACE), new Journal(properties)); closeOnShutdown = true; if(!exists()) { // Create iff it does not exist (backward compatibility, simple constructor mode). try { create(properties); } catch (InterruptedException | ExecutionException e) { throw new RuntimeException(e); } } }
try { sail.initialize(); sail.create(properties); if(log.isInfoEnabled()) log.info("Created tripleStore: " + namespace);
try { sail.initialize(); sail.create(properties); if(log.isInfoEnabled()) log.info("Created tripleStore: " + namespace);
tempSail.create(new Properties());
tempSail.create(new Properties());