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