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 booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()-
Methods inherited from class org.postgresql.core.BaseQueryKey
getSize
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBaseQueryKey
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseQueryKey
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classBaseQueryKey
-
-