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
SQLExceptionpublic void insert(Number ctx, Number subj, Number pred, Number obj) throws SQLException, InterruptedException
SQLExceptionInterruptedExceptionpublic void committed()
throws SQLException
SQLExceptionpublic void removed(int count)
throws SQLException
SQLExceptionpublic boolean isEmpty()
throws SQLException
SQLExceptionprotected TripleBatch newTripleBatch()
protected PreparedStatement prepareInsertSelect(String sql) throws SQLException
SQLExceptionprotected String buildInsertSelect() throws SQLException
SQLExceptionprotected PreparedStatement prepareInsert(String sql) throws SQLException
SQLExceptionprotected String buildInsert(String tableName, boolean predColumnPresent) throws SQLException
SQLExceptionprotected boolean isPredColumnPresent()
Copyright © 2001-2014 Aduna. All Rights Reserved.