public class KiWiStore
extends org.openrdf.sail.helpers.NotifyingSailBase
Constructor and Description |
---|
KiWiStore(KiWiConfiguration configuration) |
KiWiStore(KiWiPersistence persistence,
String defaultContext,
String inferredContext) |
KiWiStore(String name,
String jdbcUrl,
String db_user,
String db_password,
KiWiDialect dialect,
String defaultContext,
String inferredContext)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkConsistency() |
void |
closeValueFactory()
In case there is a value factory managed by this repository directly, close it (and the underlying database
connection)
|
void |
garbageCollect()
Manually call the garbage collector for the triple store.
|
protected KiWiSailConnection |
getConnectionInternal()
Returns a store-specific SailConnection object.
|
String |
getDefaultContext()
The default context to use when no explicit context is given in createStatement.
|
String |
getInferredContext()
The context to use for storing all inferred triples.
|
KiWiPersistence |
getPersistence()
Return a reference to the persistence object used by this KiWiStore.
|
org.openrdf.model.ValueFactory |
getValueFactory()
Gets a ValueFactory object that can be used to create URI-, blank node-,
literal- and statement objects.
|
protected void |
initializeInternal()
Do store-specific operations to initialize the store.
|
boolean |
isDropTablesOnShutdown()
Drop databases when shutdown is called.
|
boolean |
isInitialized() |
boolean |
isWritable()
Checks whether this Sail object is writable, i.e.
|
void |
setDropTablesOnShutdown(boolean dropTablesOnShutdown)
Drop databases when shutdown is called.
|
protected void |
shutDownInternal()
Do store-specific operations to ensure proper shutdown of the store.
|
addSailChangedListener, getConnection, notifySailChanged, removeSailChangedListener
connectionClosed, debugEnabled, getDataDir, initialize, setDataDir, shutDown, toString
public KiWiStore(KiWiPersistence persistence, String defaultContext, String inferredContext)
@Deprecated public KiWiStore(String name, String jdbcUrl, String db_user, String db_password, KiWiDialect dialect, String defaultContext, String inferredContext)
public KiWiStore(KiWiConfiguration configuration)
protected void initializeInternal() throws org.openrdf.sail.SailException
initializeInternal
in class org.openrdf.sail.helpers.SailBase
org.openrdf.sail.SailException
public boolean isInitialized()
isInitialized
in class org.openrdf.sail.helpers.SailBase
public String getDefaultContext()
public String getInferredContext()
public KiWiPersistence getPersistence()
public boolean isDropTablesOnShutdown()
public void setDropTablesOnShutdown(boolean dropTablesOnShutdown)
protected KiWiSailConnection getConnectionInternal() throws org.openrdf.sail.SailException
getConnectionInternal
in class org.openrdf.sail.helpers.NotifyingSailBase
org.openrdf.sail.SailException
protected void shutDownInternal() throws org.openrdf.sail.SailException
shutDownInternal
in class org.openrdf.sail.helpers.SailBase
org.openrdf.sail.SailException
public void closeValueFactory()
public boolean isWritable() throws org.openrdf.sail.SailException
org.openrdf.sail.SailException
public org.openrdf.model.ValueFactory getValueFactory()
public void garbageCollect() throws org.openrdf.sail.SailException
org.openrdf.sail.SailException
public boolean checkConsistency() throws org.openrdf.sail.SailException
org.openrdf.sail.SailException
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.