Package org.hibernate.sql.ast.spi
Interface SqlSelection
- All Superinterfaces:
SqlAstNode
- All Known Implementing Classes:
ResolvedSqlSelection,ResultSetMappingSqlSelection,SqlSelectionImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(SqlAstWalker sqlAstWalker) The underlying expression.Get the type of the expressiondefault intGet the JDBC position (1-based)Get the extractor that can be used to extract JDBC values for this selectionintGet the position within the "JDBC values" array (0-based).booleanWhether this is a virtual or a real selection item.resolve(JdbcValuesMetadata jdbcResultsMetadata, SessionFactoryImplementor sessionFactory)
-
Method Details
-
getJdbcValueExtractor
ValueExtractor getJdbcValueExtractor()Get the extractor that can be used to extract JDBC values for this selection -
getValuesArrayPosition
int getValuesArrayPosition()Get the position within the "JDBC values" array (0-based). Negative indicates this is not a "real" selection -
getJdbcResultSetIndex
default int getJdbcResultSetIndex()Get the JDBC position (1-based) -
getExpression
Expression getExpression()The underlying expression. -
getExpressionType
JdbcMappingContainer getExpressionType()Get the type of the expression -
isVirtual
boolean isVirtual()Whether this is a virtual or a real selection item. Virtual selection items are not rendered into the SQL select clause. -
accept
- Specified by:
acceptin interfaceSqlAstNode
-
resolve
SqlSelection resolve(JdbcValuesMetadata jdbcResultsMetadata, SessionFactoryImplementor sessionFactory)
-