Class CachedJdbcValuesMetadata
- java.lang.Object
-
- org.hibernate.sql.results.jdbc.internal.CachedJdbcValuesMetadata
-
- All Implemented Interfaces:
Serializable,JdbcValuesMetadata
public final class CachedJdbcValuesMetadata extends Object implements JdbcValuesMetadata, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CachedJdbcValuesMetadata(String[] columnNames, BasicType<?>[] types)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumnCount()Number of values in the underlying resultStringresolveColumnName(int position)Name of a particular result value by positionintresolveColumnPosition(String columnName)Position of a particular result value by name<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 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.JdbcValuesMetadata
resolveType
-
-
-
-
Method Detail
-
getColumnCount
public int getColumnCount()
Description copied from interface:JdbcValuesMetadataNumber of values in the underlying result- Specified by:
getColumnCountin interfaceJdbcValuesMetadata
-
resolveColumnPosition
public int resolveColumnPosition(String columnName)
Description copied from interface:JdbcValuesMetadataPosition of a particular result value by name- Specified by:
resolveColumnPositionin interfaceJdbcValuesMetadata
-
resolveColumnName
public String resolveColumnName(int position)
Description copied from interface:JdbcValuesMetadataName of a particular result value by position- Specified by:
resolveColumnNamein interfaceJdbcValuesMetadata
-
resolveType
public <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
-
-