Package org.postgresql.core
Class CallableQueryKey
- java.lang.Object
-
- org.postgresql.core.BaseQueryKey
-
- org.postgresql.core.CallableQueryKey
-
- All Implemented Interfaces:
CanEstimateSize
class CallableQueryKey extends BaseQueryKey
Serves as a cache key forCallableStatement
. Callable statements require some special parsing before use (due to JDBC{?= call...}
syntax, thus a special cache key class is used to trigger proper parsing for callable statements.
-
-
Field Summary
-
Fields inherited from class org.postgresql.core.BaseQueryKey
escapeProcessing, isParameterized, sql
-
-
Constructor Summary
Constructors Constructor Description CallableQueryKey(java.lang.String sql)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class org.postgresql.core.BaseQueryKey
getSize
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classBaseQueryKey
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBaseQueryKey
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classBaseQueryKey
-
-