public abstract class StoreBase extends SDBConnectionHolder implements Store
| Constructor and Description |
|---|
StoreBase(SDBConnection connection,
StoreDesc desc,
StoreFormatter formatter,
StoreLoader loader,
QueryCompilerFactory compilerF,
SQLBridgeFactory sqlBridgeF,
SQLGenerator sqlGenerator,
TableDescTriples tripleTableDesc,
TableDescQuads quadTableDesc,
TableDescNodes nodeTableDesc) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Stores should be closed explicitly.
|
StoreConfig |
getConfiguration()
Return the configuration of this Store
|
SDBConnection |
getConnection()
Return the connection to the implementing database
|
DatabaseType |
getDatabaseType()
Return the database type of the store
|
LayoutType |
getLayoutType()
Return the layout type of the store
|
StoreLoader |
getLoader()
Return the (bulk) loader
|
TableDescNodes |
getNodeTableDesc()
Location of the nodes in the store (if meaningful)
|
TableDescQuads |
getQuadTableDesc()
Where the named graphs are in is store
|
QueryCompilerFactory |
getQueryCompilerFactory()
Return the producer of processors that turn SPARQL queries into SQL expressions
|
long |
getSize()
Default implementation: get size of Triples table
|
SQLBridgeFactory |
getSQLBridgeFactory()
Factory for SQL bridges for this store
|
SQLGenerator |
getSQLGenerator()
Get the SQL-from-relational algebra generator
|
StoreFormatter |
getTableFormatter()
Return the processor that creates the database tables
|
TableDescTriples |
getTripleTableDesc()
Where the default graph is store
|
boolean |
isClosed()
Has this store been closed?
|
public StoreBase(SDBConnection connection, StoreDesc desc, StoreFormatter formatter, StoreLoader loader, QueryCompilerFactory compilerF, SQLBridgeFactory sqlBridgeF, SQLGenerator sqlGenerator, TableDescTriples tripleTableDesc, TableDescQuads quadTableDesc, TableDescNodes nodeTableDesc)
public SDBConnection getConnection()
StoregetConnection in interface Storepublic QueryCompilerFactory getQueryCompilerFactory()
StoregetQueryCompilerFactory in interface Storepublic SQLBridgeFactory getSQLBridgeFactory()
StoregetSQLBridgeFactory in interface Storepublic SQLGenerator getSQLGenerator()
StoregetSQLGenerator in interface Storepublic StoreFormatter getTableFormatter()
StoregetTableFormatter in interface Storepublic StoreLoader getLoader()
Storepublic StoreConfig getConfiguration()
StoregetConfiguration in interface Storepublic DatabaseType getDatabaseType()
StoregetDatabaseType in interface Storepublic LayoutType getLayoutType()
StoregetLayoutType in interface Storepublic void close()
Storepublic boolean isClosed()
Storepublic long getSize()
public TableDescNodes getNodeTableDesc()
StoregetNodeTableDesc in interface Storepublic TableDescTriples getTripleTableDesc()
StoregetTripleTableDesc in interface Storepublic TableDescQuads getQuadTableDesc()
StoregetQuadTableDesc in interface StoreLicenced under the Apache License, Version 2.0