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
SQLException
public void close() throws SQLException
SQLException
public void createTripleIndexes() throws SQLException
SQLException
public void dropTripleIndexes() throws SQLException
SQLException
public String findTableName(Number pred) throws SQLException
SQLException
public TripleTable getExistingTable(Number pred)
public Collection<Number> getPredicateIds()
public TripleTable getPredicateTable(Number pred) throws SQLException
SQLException
public String getTableName(Number pred) throws SQLException
SQLException
public void removed(int count, boolean locked) throws SQLException
SQLException
protected Set<String> findAllTables() throws SQLException
SQLException
protected Map<Number,TripleTable> findPredicateTables() throws SQLException
SQLException
protected Set<String> findTablesWithColumn(String column) throws SQLException
SQLException
protected Set<String> findTablesWithExactColumn(String column) throws SQLException
SQLException
protected String getExpungeCondition() throws SQLException
SQLException
protected String getNewTableName(Number pred) throws SQLException
SQLException
protected String getTableNamePrefix(Number pred) throws SQLException
SQLException
Copyright © 2001-2016 Aduna. All Rights Reserved.