Interface ResultSetAccess
-
- All Superinterfaces:
JdbcValuesMetadata
- All Known Implementing Classes:
AbstractResultSetAccess
,DeferredResultSetAccess
,DirectResultSetAccess
public interface ResultSetAccess extends JdbcValuesMetadata
Access to a JDBC ResultSet and information about it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default int
getColumnCount()
Number of values in the underlying resultSessionFactoryImplementor
getFactory()
default int
getResultCountEstimate()
The estimate for the amount of results that can be expected for pre-sizing collections.ResultSet
getResultSet()
void
release()
default String
resolveColumnName(int position)
Name of a particular result value by positiondefault int
resolveColumnPosition(String columnName)
Position of a particular result value by namedefault <J> BasicType<J>
resolveType(int position, JavaType<J> explicitJavaType, TypeConfiguration typeConfiguration)
Determine the mapping to use for a particular position in the result-
Methods inherited from interface org.hibernate.sql.results.jdbc.spi.JdbcValuesMetadata
resolveType
-
-
-
-
Method Detail
-
getResultSet
ResultSet getResultSet()
-
getFactory
SessionFactoryImplementor getFactory()
-
release
void release()
-
getResultCountEstimate
default int getResultCountEstimate()
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.- Since:
- 6.6
-
getColumnCount
default int getColumnCount()
Description copied from interface:JdbcValuesMetadata
Number of values in the underlying result- Specified by:
getColumnCount
in interfaceJdbcValuesMetadata
-
resolveColumnPosition
default int resolveColumnPosition(String columnName)
Description copied from interface:JdbcValuesMetadata
Position of a particular result value by name- Specified by:
resolveColumnPosition
in interfaceJdbcValuesMetadata
-
resolveColumnName
default String resolveColumnName(int position)
Description copied from interface:JdbcValuesMetadata
Name of a particular result value by position- Specified by:
resolveColumnName
in interfaceJdbcValuesMetadata
-
resolveType
default <J> BasicType<J> resolveType(int position, JavaType<J> explicitJavaType, TypeConfiguration typeConfiguration)
Description copied from interface:JdbcValuesMetadata
Determine the mapping to use for a particular position in the result- Specified by:
resolveType
in interfaceJdbcValuesMetadata
-
-