public class StoreBase1 extends SDBConnectionHolder implements Store
Constructor and Description |
---|
StoreBase1(SDBConnection connection,
StoreDesc desc,
StoreFormatter formatter,
TupleLoaderSimple loader,
QueryCompilerFactory compilerF,
SQLBridgeFactory sqlBridgeF,
SQLGenerator sqlGenerator,
TableDescTriples tripleTable) |
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
|
long |
getSize(Node node)
Irrelevant for layout1
|
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 StoreBase1(SDBConnection connection, StoreDesc desc, StoreFormatter formatter, TupleLoaderSimple loader, QueryCompilerFactory compilerF, SQLBridgeFactory sqlBridgeF, SQLGenerator sqlGenerator, TableDescTriples tripleTable)
public SDBConnection getConnection()
Store
getConnection
in interface Store
public QueryCompilerFactory getQueryCompilerFactory()
Store
getQueryCompilerFactory
in interface Store
public SQLBridgeFactory getSQLBridgeFactory()
Store
getSQLBridgeFactory
in interface Store
public SQLGenerator getSQLGenerator()
Store
getSQLGenerator
in interface Store
public StoreFormatter getTableFormatter()
Store
getTableFormatter
in interface Store
public StoreLoader getLoader()
Store
public StoreConfig getConfiguration()
Store
getConfiguration
in interface Store
public DatabaseType getDatabaseType()
Store
getDatabaseType
in interface Store
public LayoutType getLayoutType()
Store
getLayoutType
in interface Store
public void close()
Store
public boolean isClosed()
Store
public long getSize()
public long getSize(Node node)
public TableDescNodes getNodeTableDesc()
Store
getNodeTableDesc
in interface Store
public TableDescTriples getTripleTableDesc()
Store
getTripleTableDesc
in interface Store
public TableDescQuads getQuadTableDesc()
Store
getQuadTableDesc
in interface Store
Licenced under the Apache License, Version 2.0