Class AbstractJdbcValues

java.lang.Object
org.hibernate.sql.results.jdbc.internal.AbstractJdbcValues
All Implemented Interfaces:
JdbcValues
Direct Known Subclasses:
JdbcValuesCacheHit, JdbcValuesResultSetImpl

public abstract class AbstractJdbcValues extends Object implements JdbcValues
  • Constructor Details

    • AbstractJdbcValues

      public AbstractJdbcValues()
  • Method Details

    • next

      public final boolean next(RowProcessingState rowProcessingState)
      Description copied from interface: JdbcValues
      Advances the "cursor position" and returns a boolean indicating whether there is a row available to read via JdbcValues.getCurrentRowValue(int).
      Specified by:
      next in interface JdbcValues
      Returns:
      true if there are results
    • processNext

      protected abstract boolean processNext(RowProcessingState rowProcessingState)
    • previous

      public boolean previous(RowProcessingState rowProcessingState)
      Description copied from interface: JdbcValues
      Advances the "cursor position" in reverse and returns a boolean indicating whether there is a row available to read via JdbcValues.getCurrentRowValue(int).
      Specified by:
      previous in interface JdbcValues
      Returns:
      true if there are results available
    • processPrevious

      protected abstract boolean processPrevious(RowProcessingState rowProcessingState)
    • scroll

      public boolean scroll(int numberOfRows, RowProcessingState rowProcessingState)
      Description copied from interface: JdbcValues
      Advances the "cursor position" the indicated number of rows and returns a boolean indicating whether there is a row available to read via JdbcValues.getCurrentRowValue(int).
      Specified by:
      scroll in interface JdbcValues
      Parameters:
      numberOfRows - The number of rows to advance. This can also be negative meaning to move in reverse
      Returns:
      true if there are results available
    • processScroll

      protected abstract boolean processScroll(int numberOfRows, RowProcessingState rowProcessingState)
    • position

      public boolean position(int position, RowProcessingState rowProcessingState)
      Description copied from interface: JdbcValues
      Moves the "cursor position" to the specified position
      Specified by:
      position in interface JdbcValues
    • processPosition

      protected abstract boolean processPosition(int position, RowProcessingState rowProcessingState)