Package org.hibernate.sql.ast.spi
Interface SqlSelection
-
- All Superinterfaces:
SqlAstNode
- All Known Implementing Classes:
ResolvedSqlSelection,ResultSetMappingSqlSelection,SqlSelectionImpl
public interface SqlSelection extends SqlAstNode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccept(SqlAstWalker sqlAstWalker)ExpressiongetExpression()The underlying expression.JdbcMappingContainergetExpressionType()Get the type of the expressiondefault intgetJdbcResultSetIndex()Get the JDBC position (1-based)ValueExtractorgetJdbcValueExtractor()Get the extractor that can be used to extract JDBC values for this selectionintgetValuesArrayPosition()Get the position within the "JDBC values" array (0-based).booleanisVirtual()Whether this is a virtual or a real selection item.SqlSelectionresolve(JdbcValuesMetadata jdbcResultsMetadata, SessionFactoryImplementor sessionFactory)
-
-
-
Method Detail
-
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
void accept(SqlAstWalker sqlAstWalker)
- Specified by:
acceptin interfaceSqlAstNode
-
resolve
SqlSelection resolve(JdbcValuesMetadata jdbcResultsMetadata, SessionFactoryImplementor sessionFactory)
-
-