public class CachedStatement
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
BATCH_SIZE
The size above which queries are split into multiple queries, each of
this size.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlias()
Get the query's alias
|
int |
getArity()
Returns the arity of the statement
|
java.lang.String |
getColumn()
Get the column used to relate driving queries and elaborators
|
java.lang.String |
getName()
Get the query's name
|
java.lang.String |
getOrigQuery()
Get the original query string
|
java.lang.String |
getQuery()
Get the query string
|
void |
modifyQuery(java.lang.String replaceToken,
java.util.List<java.lang.String> valueList,
QuerySanitizer querySanitizer)
Modify the sql statement by replacing the specified token with the
specified list of String values.
|
DataResult<?> |
restartQuery()
Restart the latest query
|
public static final int BATCH_SIZE
public int getArity()
public java.lang.String getAlias()
public java.lang.String getName()
public java.lang.String getQuery()
public java.lang.String getOrigQuery()
public java.lang.String getColumn()
public void modifyQuery(java.lang.String replaceToken, java.util.List<java.lang.String> valueList, QuerySanitizer querySanitizer)
replaceToken
- The text in the sql statement to be replaced.valueList
- The list of String values to be quoted and concatenated
together in a comma-separated list that replaces the replaceToken.querySanitizer
- An optional sanitizer used to check each value.public DataResult<?> restartQuery()