public class SQLBrokerTicketQueryFactory extends BaseQueryFactory
logIndexes, logQueries, logQueryResults, logQueryResultSize, logUpdates, logWarnings, validateResults| Constructor and Description |
|---|
SQLBrokerTicketQueryFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String stmt,
Connection conn) |
int |
fillAndExecutePreparedInsertStatements(List pstmts,
List stmts,
int bid) |
List |
getDropTableStatements() |
List |
getInsertStatements(int bid)
Generate the list of insert statements required to create
BrokerPrms.numTicketsPerBroker tickets for the broker with the given
broker id. |
List |
getPreparedInsertStatements() |
List |
getTableStatements() |
getLogQueries, init, setLogQueriespublic List getTableStatements()
public List getDropTableStatements()
public List getInsertStatements(int bid)
BrokerPrms.numTicketsPerBroker tickets for the broker with the given
broker id.bid - the unique broker idpublic List getPreparedInsertStatements()
public int fillAndExecutePreparedInsertStatements(List pstmts, List stmts, int bid) throws SQLException
SQLExceptionpublic void execute(String stmt, Connection conn) throws SQLException
SQLExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.