class BaseQueryKey extends java.lang.Object implements CanEstimateSize
String sql
as a key.
Simple and Prepared statements that have returning columns use QueryWithReturningColumnsKey
as a cache key.Modifier and Type | Field and Description |
---|---|
boolean |
escapeProcessing |
boolean |
isParameterized |
java.lang.String |
sql |
Constructor and Description |
---|
BaseQueryKey(java.lang.String sql,
boolean isParameterized,
boolean escapeProcessing) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
long |
getSize() |
int |
hashCode() |
java.lang.String |
toString() |
public final java.lang.String sql
public final boolean isParameterized
public final boolean escapeProcessing
BaseQueryKey(java.lang.String sql, boolean isParameterized, boolean escapeProcessing)
public java.lang.String toString()
toString
in class java.lang.Object
public long getSize()
getSize
in interface CanEstimateSize
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object