Class BaseQueryKey

java.lang.Object
org.postgresql.core.BaseQueryKey
All Implemented Interfaces:
CanEstimateSize
Direct Known Subclasses:
CallableQueryKey, QueryWithReturningColumnsKey

class BaseQueryKey extends Object implements CanEstimateSize
This class is used as a cache key for simple statements that have no "returning columns". Prepared statements that have no returning columns use just String sql as a key. Simple and Prepared statements that have returning columns use QueryWithReturningColumnsKey as a cache key.
  • Field Details

    • sql

      public final String sql
    • isParameterized

      public final boolean isParameterized
    • escapeProcessing

      public final boolean escapeProcessing
  • Constructor Details

    • BaseQueryKey

      BaseQueryKey(String sql, boolean isParameterized, boolean escapeProcessing)
  • Method Details