public class TransTableManager extends Object
TransactionTable
s.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
SQLException
public void insert(Number ctx, Number subj, Number pred, Number obj) throws SQLException, InterruptedException
SQLException
InterruptedException
public void close() throws SQLException
SQLException
public String findTableName(Number pred) throws SQLException
SQLException
public String getCombinedTableName() throws SQLException
SQLException
public String getTableName(Number pred) throws SQLException
SQLException
public void committed(boolean locked) throws SQLException
SQLException
public void removed(Number pred, int count) throws SQLException
SQLException
public Collection<Number> getPredicateIds()
public boolean isPredColumnPresent(Number id) throws SQLException
SQLException
public ValueTypes getObjTypes(Number pred)
public ValueTypes getSubjTypes(Number pred)
public boolean isEmpty() throws SQLException
SQLException
protected String getZeroBigInt()
protected TransactionTable getTable(Number pred) throws SQLException
SQLException
protected TransactionTable createTransactionTable(TripleTable predicate) throws SQLException
SQLException
protected RdbmsTable createTemporaryTable(Connection conn)
protected TransactionTable createTransactionTable()
protected void createTemporaryTable(RdbmsTable table) throws SQLException
SQLException
Copyright © 2001-2016 Aduna. All Rights Reserved.