Class JdbcValuesCacheHit

    • Constructor Detail

      • JdbcValuesCacheHit

        public JdbcValuesCacheHit​(List<?> cachedResults,
                                  JdbcValuesMapping resolvedMapping)
    • Method Detail

      • getPosition

        public int getPosition()
      • usesFollowOnLocking

        public boolean usesFollowOnLocking()
      • getCurrentRowValue

        public Object getCurrentRowValue​(int valueIndex)
        Description copied from interface: JdbcValues
        Get the JDBC value at the given index for the row currently positioned at within this source.
        Returns:
        The current row's JDBC values, or null if the position is beyond the end of the available results.
      • finishRowProcessing

        public void finishRowProcessing​(RowProcessingState rowProcessingState,
                                        boolean wasAdded)
      • setFetchSize

        public void setFetchSize​(int fetchSize)
      • getResultCountEstimate

        public int getResultCountEstimate()
        Description copied from interface: JdbcValues
        The estimate for the amount of results that can be expected for pre-sizing collections. May return zero or negative values if the count can not be reasonably estimated.