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 JdbcMappingContainergetExpressionType()Get the type of the expressionValueExtractorgetJdbcValueExtractor()Get the extractor that can be used to extract JDBC values for this selectionbooleanisVirtual()Whether this is a virtual or a real selection item.SqlSelectionresolve(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:SqlSelectionGet the extractor that can be used to extract JDBC values for this selection- Specified by:
getJdbcValueExtractorin interfaceSqlSelection- Overrides:
getJdbcValueExtractorin classSqlSelectionImpl
-
getExpressionType
public JdbcMappingContainer 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
-
-