Class QueryWithReturningColumnsKey

java.lang.Object
org.postgresql.core.BaseQueryKey
org.postgresql.core.QueryWithReturningColumnsKey
All Implemented Interfaces:
CanEstimateSize

class QueryWithReturningColumnsKey extends BaseQueryKey
Cache key for a query that have some returning columns. 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 *

  • Field Details

    • columnNames

      public final String[] columnNames
    • size

      private int size
  • Constructor Details

    • QueryWithReturningColumnsKey

      QueryWithReturningColumnsKey(String sql, boolean isParameterized, boolean escapeProcessing, boolean standardConformingStrings, String[] columnNames)
  • Method Details