Class AbstractJdbcValues
java.lang.Object
org.hibernate.sql.results.jdbc.internal.AbstractJdbcValues
- All Implemented Interfaces:
JdbcValues
- Direct Known Subclasses:
JdbcValuesCacheHit,JdbcValuesResultSetImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleannext(RowProcessingState rowProcessingState) Advances the "cursor position" and returns a boolean indicating whether there is a row available to read viaJdbcValues.getCurrentRowValue(int).booleanposition(int position, RowProcessingState rowProcessingState) Moves the "cursor position" to the specified positionbooleanprevious(RowProcessingState rowProcessingState) Advances the "cursor position" in reverse and returns a boolean indicating whether there is a row available to read viaJdbcValues.getCurrentRowValue(int).protected abstract booleanprocessNext(RowProcessingState rowProcessingState) protected abstract booleanprocessPosition(int position, RowProcessingState rowProcessingState) protected abstract booleanprocessPrevious(RowProcessingState rowProcessingState) protected abstract booleanprocessScroll(int numberOfRows, RowProcessingState rowProcessingState) booleanscroll(int numberOfRows, RowProcessingState rowProcessingState) Advances the "cursor position" the indicated number of rows and returns a boolean indicating whether there is a row available to read viaJdbcValues.getCurrentRowValue(int).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.sql.results.jdbc.spi.JdbcValues
afterLast, beforeFirst, finishRowProcessing, finishUp, first, getCurrentRowValue, getPosition, getResultCountEstimate, getValuesMapping, isAfterLast, isBeforeFirst, isFirst, isLast, last, setFetchSize, usesFollowOnLocking
-
Constructor Details
-
AbstractJdbcValues
public AbstractJdbcValues()
-
-
Method Details
-
next
Description copied from interface:JdbcValuesAdvances the "cursor position" and returns a boolean indicating whether there is a row available to read viaJdbcValues.getCurrentRowValue(int).- Specified by:
nextin interfaceJdbcValues- Returns:
trueif there are results
-
processNext
-
previous
Description copied from interface:JdbcValuesAdvances the "cursor position" in reverse and returns a boolean indicating whether there is a row available to read viaJdbcValues.getCurrentRowValue(int).- Specified by:
previousin interfaceJdbcValues- Returns:
trueif there are results available
-
processPrevious
-
scroll
Description copied from interface:JdbcValuesAdvances the "cursor position" the indicated number of rows and returns a boolean indicating whether there is a row available to read viaJdbcValues.getCurrentRowValue(int).- Specified by:
scrollin interfaceJdbcValues- Parameters:
numberOfRows- The number of rows to advance. This can also be negative meaning to move in reverse- Returns:
trueif there are results available
-
processScroll
-
position
Description copied from interface:JdbcValuesMoves the "cursor position" to the specified position- Specified by:
positionin interfaceJdbcValues
-
processPosition
-