Class ResolvedSqlSelection
java.lang.Object
org.hibernate.sql.results.internal.SqlSelectionImpl
org.hibernate.sql.results.internal.ResolvedSqlSelection
- All Implemented Interfaces:
SqlExpressionAccess,SqlSelection,SqlAstNode
-
Constructor Summary
ConstructorsConstructorDescriptionResolvedSqlSelection(int jdbcPosition, int valuesArrayPosition, Expression sqlExpression, BasicType<Object> resolvedType) ResolvedSqlSelection(int valuesArrayPosition, Expression sqlExpression, BasicType<Object> resolvedType) -
Method Summary
Modifier and TypeMethodDescriptionGet the type of the expressionbooleanWhether this is a virtual or a real selection item.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 Details
-
ResolvedSqlSelection
public ResolvedSqlSelection(int valuesArrayPosition, Expression sqlExpression, BasicType<Object> resolvedType) -
ResolvedSqlSelection
public ResolvedSqlSelection(int jdbcPosition, int valuesArrayPosition, Expression sqlExpression, BasicType<Object> resolvedType)
-
-
Method Details
-
getExpressionType
Description copied from interface:SqlSelectionGet the type of the expression- Specified by:
getExpressionTypein interfaceSqlSelection- Overrides:
getExpressionTypein classSqlSelectionImpl
-
isVirtual
public boolean isVirtual()Description copied from interface:SqlSelectionWhether this is a virtual or a real selection item. Virtual selection items are not rendered into the SQL select clause.- Specified by:
isVirtualin interfaceSqlSelection- Overrides:
isVirtualin classSqlSelectionImpl
-
resolve
public SqlSelection resolve(JdbcValuesMetadata jdbcResultsMetadata, SessionFactoryImplementor sessionFactory) - Specified by:
resolvein interfaceSqlSelection- Overrides:
resolvein classSqlSelectionImpl
-