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 boolean
next
(RowProcessingState rowProcessingState) Advances the "cursor position" and returns a boolean indicating whether there is a row available to read viaJdbcValues.getCurrentRowValue(int)
.boolean
position
(int position, RowProcessingState rowProcessingState) Moves the "cursor position" to the specified positionboolean
previous
(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 boolean
processNext
(RowProcessingState rowProcessingState) protected abstract boolean
processPosition
(int position, RowProcessingState rowProcessingState) protected abstract boolean
processPrevious
(RowProcessingState rowProcessingState) protected abstract boolean
processScroll
(int numberOfRows, RowProcessingState rowProcessingState) boolean
scroll
(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, wait
Methods 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:JdbcValues
Advances the "cursor position" and returns a boolean indicating whether there is a row available to read viaJdbcValues.getCurrentRowValue(int)
.- Specified by:
next
in interfaceJdbcValues
- Returns:
true
if there are results
-
processNext
-
previous
Description copied from interface:JdbcValues
Advances the "cursor position" in reverse and returns a boolean indicating whether there is a row available to read viaJdbcValues.getCurrentRowValue(int)
.- Specified by:
previous
in interfaceJdbcValues
- Returns:
true
if there are results available
-
processPrevious
-
scroll
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 viaJdbcValues.getCurrentRowValue(int)
.- Specified by:
scroll
in interfaceJdbcValues
- 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
-
position
Description copied from interface:JdbcValues
Moves the "cursor position" to the specified position- Specified by:
position
in interfaceJdbcValues
-
processPosition
-