org.openrdf.sail.rdbms.managers
Class TripleTableManager
java.lang.Object
org.openrdf.sail.rdbms.managers.TripleTableManager
public class TripleTableManager
- extends Object
Manages and delegates to the collection of TripleTable.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_TABLES
public static int MAX_TABLES
INDEX_TRIPLES
public static final boolean INDEX_TRIPLES
- See Also:
- Constant Field Values
OTHER_PRED
public Number OTHER_PRED
TripleTableManager
public TripleTableManager(ValueTableFactory factory)
setConnection
public void setConnection(Connection conn)
setIdSequence
public void setIdSequence(IdSequence ids)
setPredicateManager
public void setPredicateManager(PredicateManager predicates)
setBNodeManager
public void setBNodeManager(BNodeManager bnodeTable)
setLiteralManager
public void setLiteralManager(LiteralManager literalTable)
setUriManager
public void setUriManager(UriManager uriTable)
setHashManager
public void setHashManager(HashManager hashes)
getMaxNumberOfTripleTables
public int getMaxNumberOfTripleTables()
setMaxNumberOfTripleTables
public void setMaxNumberOfTripleTables(int max)
isIndexingTriples
public boolean isIndexingTriples()
setIndexingTriples
public void setIndexingTriples(boolean indexingTriples)
initialize
public void initialize()
throws SQLException
- Throws:
SQLException
close
public void close()
throws SQLException
- Throws:
SQLException
createTripleIndexes
public void createTripleIndexes()
throws SQLException
- Throws:
SQLException
dropTripleIndexes
public void dropTripleIndexes()
throws SQLException
- Throws:
SQLException
findTableName
public String findTableName(Number pred)
throws SQLException
- Throws:
SQLException
getExistingTable
public TripleTable getExistingTable(Number pred)
getPredicateIds
public Collection<Number> getPredicateIds()
getPredicateTable
public TripleTable getPredicateTable(Number pred)
throws SQLException
- Throws:
SQLException
getTableName
public String getTableName(Number pred)
throws SQLException
- Throws:
SQLException
removed
public void removed(int count,
boolean locked)
throws SQLException
- Throws:
SQLException
findAllTables
protected Set<String> findAllTables()
throws SQLException
- Throws:
SQLException
findPredicateTables
protected Map<Number,TripleTable> findPredicateTables()
throws SQLException
- Throws:
SQLException
findTablesWithColumn
protected Set<String> findTablesWithColumn(String column)
throws SQLException
- Throws:
SQLException
findTablesWithExactColumn
protected Set<String> findTablesWithExactColumn(String column)
throws SQLException
- Throws:
SQLException
getExpungeCondition
protected String getExpungeCondition()
throws SQLException
- Throws:
SQLException
getNewTableName
protected String getNewTableName(Number pred)
throws SQLException
- Throws:
SQLException
key
protected Number key(String tn)
getTableNamePrefix
protected String getTableNamePrefix(Number pred)
throws SQLException
- Throws:
SQLException
Copyright © 2001-2008 Aduna. All Rights Reserved.