public class TransTableManager extends Object
TransactionTables.| Modifier and Type | Field and Description |
|---|---|
static int |
BATCH_SIZE |
static boolean |
TEMPORARY_TABLE_USED |
| Constructor and Description |
|---|
TransTableManager() |
public static int BATCH_SIZE
public static final boolean TEMPORARY_TABLE_USED
public void setConnection(Connection conn)
public void setTemporaryTableFactory(TableFactory factory)
public void setStatementsTable(TripleTableManager predicateTableManager)
public void setFromDummyTable(String fromDummy)
public void setBatchQueue(BlockingQueue<Batch> queue)
public void setSailChangedEvent(DefaultSailChangedEvent sailChangedEvent)
public void setIdSequence(IdSequence ids)
public int getBatchSize()
public void initialize()
throws SQLException
SQLExceptionpublic void insert(Number ctx, Number subj, Number pred, Number obj) throws SQLException, InterruptedException
SQLExceptionInterruptedExceptionpublic void close()
throws SQLException
SQLExceptionpublic String findTableName(Number pred) throws SQLException
SQLExceptionpublic String getCombinedTableName() throws SQLException
SQLExceptionpublic String getTableName(Number pred) throws SQLException
SQLExceptionpublic void committed(boolean locked)
throws SQLException
SQLExceptionpublic void removed(Number pred, int count) throws SQLException
SQLExceptionpublic Collection<Number> getPredicateIds()
public boolean isPredColumnPresent(Number id) throws SQLException
SQLExceptionpublic ValueTypes getObjTypes(Number pred)
public ValueTypes getSubjTypes(Number pred)
public boolean isEmpty()
throws SQLException
SQLExceptionprotected String getZeroBigInt()
protected TransactionTable getTable(Number pred) throws SQLException
SQLExceptionprotected TransactionTable createTransactionTable(TripleTable predicate) throws SQLException
SQLExceptionprotected RdbmsTable createTemporaryTable(Connection conn)
protected TransactionTable createTransactionTable()
protected void createTemporaryTable(RdbmsTable table) throws SQLException
SQLExceptionCopyright © 2001-2014 Aduna. All Rights Reserved.