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 expressionboolean
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, getJdbcValueExtractor, getSqlExpression, getValuesArrayPosition, hashCode, needsResolve
-
-
-
-
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
-
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
-
-