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 intgetColumnCount()Number of values in the underlying resultSessionFactoryImplementorgetFactory()default intgetResultCountEstimate()The estimate for the amount of results that can be expected for pre-sizing collections.ResultSetgetResultSet()voidrelease()default StringresolveColumnName(int position)Name of a particular result value by positiondefault intresolveColumnPosition(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:JdbcValuesMetadataNumber of values in the underlying result- Specified by:
getColumnCountin interfaceJdbcValuesMetadata
-
resolveColumnPosition
default int resolveColumnPosition(String columnName)
Description copied from interface:JdbcValuesMetadataPosition of a particular result value by name- Specified by:
resolveColumnPositionin interfaceJdbcValuesMetadata
-
resolveColumnName
default String resolveColumnName(int position)
Description copied from interface:JdbcValuesMetadataName of a particular result value by position- Specified by:
resolveColumnNamein interfaceJdbcValuesMetadata
-
resolveType
default <J> BasicType<J> resolveType(int position, JavaType<J> explicitJavaType, TypeConfiguration typeConfiguration)
Description copied from interface:JdbcValuesMetadataDetermine the mapping to use for a particular position in the result- Specified by:
resolveTypein interfaceJdbcValuesMetadata
-
-