Class 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 Detail

      • columnNames

        public final java.lang.String[] columnNames
      • size

        private int size
    • Constructor Detail

      • QueryWithReturningColumnsKey

        QueryWithReturningColumnsKey​(java.lang.String sql,
                                     boolean isParameterized,
                                     boolean escapeProcessing,
                                     java.lang.String[] columnNames)