public class TempTableHelper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
TempTableHelper.CleanupCallback |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PARAMETER_QUERY |
static java.lang.String |
PARAMETER_TMP_TABLE |
Constructor and Description |
---|
TempTableHelper(int id) |
Modifier and Type | Method and Description |
---|---|
void |
addCustomCleanup(java.lang.String tableAlias,
TempTableHelper.CleanupCallback callback) |
void |
cleanup()
Deprecated.
|
void |
cleanup(int uptoRev) |
java.util.Collection<java.lang.String> |
getTableAliases() |
java.lang.String |
getTableName(ConnectionPoolConfig cpc,
java.lang.String tableAlias) |
java.lang.String |
getTableName(java.lang.String tableAlias)
Returns the table for an existing table alias.
|
java.lang.String |
getTableName(java.lang.String tableAlias,
int forRev) |
int |
getWriteRev() |
java.lang.String |
processQuery(java.lang.String query) |
java.lang.String |
processQuery(java.lang.String query,
int forRev) |
void |
setParameterValues(Report report,
ParameterSet parameters,
TempTableResult tempTableResult) |
int |
writeOperationCompleted() |
public static final java.lang.String PARAMETER_TMP_TABLE
public static final java.lang.String PARAMETER_QUERY
public java.lang.String getTableName(java.lang.String tableAlias)
getTableName(ConnectionPoolConfig, String)
tableAlias
- public java.lang.String getTableName(java.lang.String tableAlias, int forRev)
public java.lang.String getTableName(ConnectionPoolConfig cpc, java.lang.String tableAlias)
public java.util.Collection<java.lang.String> getTableAliases()
public void addCustomCleanup(java.lang.String tableAlias, TempTableHelper.CleanupCallback callback)
@Deprecated public void cleanup()
public void cleanup(int uptoRev)
public java.lang.String processQuery(java.lang.String query)
public void setParameterValues(Report report, ParameterSet parameters, TempTableResult tempTableResult)
public java.lang.String processQuery(java.lang.String query, int forRev)
public int writeOperationCompleted()
public int getWriteRev()