class QueryWithReturningColumnsKey extends BaseQueryKey
columnNames should contain non-quoted column names.
The parser will quote them automatically.
There's a special case of columnNames == new String[]{"*"} that means all columns
should be returned. Parser is aware of that and does not quote *
| Modifier and Type | Field and Description |
|---|---|
java.lang.String[] |
columnNames |
private int |
size |
escapeProcessing, isParameterized, sql| Constructor and Description |
|---|
QueryWithReturningColumnsKey(java.lang.String sql,
boolean isParameterized,
boolean escapeProcessing,
java.lang.String[] columnNames) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
long |
getSize() |
int |
hashCode() |
java.lang.String |
toString() |
QueryWithReturningColumnsKey(java.lang.String sql,
boolean isParameterized,
boolean escapeProcessing,
java.lang.String[] columnNames)
public long getSize()
getSize in interface CanEstimateSizegetSize in class BaseQueryKeypublic java.lang.String toString()
toString in class BaseQueryKeypublic boolean equals(java.lang.Object o)
equals in class BaseQueryKeypublic int hashCode()
hashCode in class BaseQueryKey