Interface RowReader<R>

All Known Implementing Classes:
StandardRowReader

public interface RowReader<R>
Coordinates the process of reading a single result values row
  • Method Details

    • getDomainResultResultJavaType

      Class<R> getDomainResultResultJavaType()
      The type actually returned from this reader's readRow(org.hibernate.sql.results.jdbc.spi.RowProcessingState) call, accounting for any transformers.

      May be null to indicate that no transformation is applied.

      Ultimately intended for use in comparing values that are being de-duplicated

    • getResultJavaTypes

      List<@Nullable JavaType<?>> getResultJavaTypes()
      The individual JavaType for each DomainResult
    • getInitializerCount

      int getInitializerCount()
    • startLoading

      void startLoading(RowProcessingState processingState)
      Called before reading the first row.
    • readRow

      R readRow(RowProcessingState processingState)
      The actual coordination of reading a row
    • finishUp

      void finishUp(RowProcessingState processingState)
      Called at the end of processing all rows
    • resolveSingleResultEntityKey

      @Nullable EntityKey resolveSingleResultEntityKey(RowProcessingState rowProcessingState)
    • hasCollectionInitializers

      boolean hasCollectionInitializers()