public class TripleTableManager extends Object
TripleTable.| Modifier and Type | Field and Description |
|---|---|
static boolean |
INDEX_TRIPLES |
static int |
MAX_TABLES |
Number |
OTHER_PRED |
| Constructor and Description |
|---|
TripleTableManager(ValueTableFactory factory) |
public static int MAX_TABLES
public static final boolean INDEX_TRIPLES
public Number OTHER_PRED
public TripleTableManager(ValueTableFactory factory)
public void setConnection(Connection conn)
public void setIdSequence(IdSequence ids)
public void setPredicateManager(PredicateManager predicates)
public void setBNodeManager(BNodeManager bnodeTable)
public void setLiteralManager(LiteralManager literalTable)
public void setUriManager(UriManager uriTable)
public void setHashManager(HashManager hashes)
public int getMaxNumberOfTripleTables()
public void setMaxNumberOfTripleTables(int max)
public boolean isIndexingTriples()
public void setIndexingTriples(boolean indexingTriples)
public void initialize()
throws SQLException
SQLExceptionpublic void close()
throws SQLException
SQLExceptionpublic void createTripleIndexes()
throws SQLException
SQLExceptionpublic void dropTripleIndexes()
throws SQLException
SQLExceptionpublic String findTableName(Number pred) throws SQLException
SQLExceptionpublic TripleTable getExistingTable(Number pred)
public Collection<Number> getPredicateIds()
public TripleTable getPredicateTable(Number pred) throws SQLException
SQLExceptionpublic String getTableName(Number pred) throws SQLException
SQLExceptionpublic void removed(int count,
boolean locked)
throws SQLException
SQLExceptionprotected Set<String> findAllTables() throws SQLException
SQLExceptionprotected Map<Number,TripleTable> findPredicateTables() throws SQLException
SQLExceptionprotected Set<String> findTablesWithColumn(String column) throws SQLException
SQLExceptionprotected Set<String> findTablesWithExactColumn(String column) throws SQLException
SQLExceptionprotected String getExpungeCondition() throws SQLException
SQLExceptionprotected String getNewTableName(Number pred) throws SQLException
SQLExceptionprotected String getTableNamePrefix(Number pred) throws SQLException
SQLExceptionCopyright © 2001-2014 Aduna. All Rights Reserved.