Class ResolvedSqlSelection
- java.lang.Object
-
- org.hibernate.sql.results.internal.SqlSelectionImpl
-
- org.hibernate.sql.results.internal.ResolvedSqlSelection
-
- All Implemented Interfaces:
SqlExpressionAccess
,SqlSelection
,SqlAstNode
public class ResolvedSqlSelection extends SqlSelectionImpl
-
-
Constructor Summary
Constructors Constructor Description ResolvedSqlSelection(int jdbcPosition, int valuesArrayPosition, Expression sqlExpression, BasicType<Object> resolvedType)
ResolvedSqlSelection(int valuesArrayPosition, Expression sqlExpression, BasicType<Object> resolvedType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JdbcMappingContainer
getExpressionType()
Get the type of the expressionValueExtractor
getJdbcValueExtractor()
Get the extractor that can be used to extract JDBC values for this selectionboolean
isVirtual()
Whether this is a virtual or a real selection item.SqlSelection
resolve(JdbcValuesMetadata jdbcResultsMetadata, SessionFactoryImplementor sessionFactory)
-
Methods inherited from class org.hibernate.sql.results.internal.SqlSelectionImpl
accept, equals, getExpression, getJdbcResultSetIndex, getSqlExpression, getValuesArrayPosition, hashCode
-
-
-
-
Constructor Detail
-
ResolvedSqlSelection
public ResolvedSqlSelection(int valuesArrayPosition, Expression sqlExpression, BasicType<Object> resolvedType)
-
ResolvedSqlSelection
public ResolvedSqlSelection(int jdbcPosition, int valuesArrayPosition, Expression sqlExpression, BasicType<Object> resolvedType)
-
-
Method Detail
-
getJdbcValueExtractor
public ValueExtractor getJdbcValueExtractor()
Description copied from interface:SqlSelection
Get the extractor that can be used to extract JDBC values for this selection- Specified by:
getJdbcValueExtractor
in interfaceSqlSelection
- Overrides:
getJdbcValueExtractor
in classSqlSelectionImpl
-
getExpressionType
public JdbcMappingContainer getExpressionType()
Description copied from interface:SqlSelection
Get the type of the expression- Specified by:
getExpressionType
in interfaceSqlSelection
- Overrides:
getExpressionType
in classSqlSelectionImpl
-
isVirtual
public boolean isVirtual()
Description copied from interface:SqlSelection
Whether this is a virtual or a real selection item. Virtual selection items are not rendered into the SQL select clause.- Specified by:
isVirtual
in interfaceSqlSelection
- Overrides:
isVirtual
in classSqlSelectionImpl
-
resolve
public SqlSelection resolve(JdbcValuesMetadata jdbcResultsMetadata, SessionFactoryImplementor sessionFactory)
- Specified by:
resolve
in interfaceSqlSelection
- Overrides:
resolve
in classSqlSelectionImpl
-
-