public class TransactionTable extends Object
Constructor and Description |
---|
TransactionTable() |
Modifier and Type | Method and Description |
---|---|
protected String |
buildInsert(String tableName,
boolean predColumnPresent) |
protected String |
buildInsertSelect() |
void |
close() |
void |
committed() |
int |
getBatchSize() |
TripleTable |
getTripleTable() |
void |
insert(Number ctx,
Number subj,
Number pred,
Number obj) |
boolean |
isEmpty() |
protected boolean |
isPredColumnPresent() |
protected TripleBatch |
newTripleBatch() |
protected PreparedStatement |
prepareInsert(String sql) |
protected PreparedStatement |
prepareInsertSelect(String sql) |
void |
removed(int count) |
void |
setBatchSize(int size) |
void |
setConnection(Connection conn) |
void |
setIdSequence(IdSequence ids) |
void |
setQueue(BlockingQueue<Batch> queue) |
void |
setSailChangedEvent(DefaultSailChangedEvent sailChangedEvent) |
void |
setTemporaryTable(RdbmsTable table) |
void |
setTripleTable(TripleTable statements) |
String |
toString() |
public void setIdSequence(IdSequence ids)
public void setQueue(BlockingQueue<Batch> queue)
public void setTemporaryTable(RdbmsTable table)
public void setConnection(Connection conn)
public TripleTable getTripleTable()
public void setTripleTable(TripleTable statements)
public void setSailChangedEvent(DefaultSailChangedEvent sailChangedEvent)
public int getBatchSize()
public void setBatchSize(int size)
public void close() throws SQLException
SQLException
public void insert(Number ctx, Number subj, Number pred, Number obj) throws SQLException, InterruptedException
SQLException
InterruptedException
public void committed() throws SQLException
SQLException
public void removed(int count) throws SQLException
SQLException
public boolean isEmpty() throws SQLException
SQLException
protected TripleBatch newTripleBatch()
protected PreparedStatement prepareInsertSelect(String sql) throws SQLException
SQLException
protected String buildInsertSelect() throws SQLException
SQLException
protected PreparedStatement prepareInsert(String sql) throws SQLException
SQLException
protected String buildInsert(String tableName, boolean predColumnPresent) throws SQLException
SQLException
protected boolean isPredColumnPresent()
Copyright © 2001-2016 Aduna. All Rights Reserved.