Top Methods
org.hibernate.sql.ast.spi

public Interface SqlSelection

extends SqlAstNode
Known Direct Implementers
org.hibernate.sql.results.internal.SqlSelectionImpl, org.hibernate.query.results.ResultSetMappingSqlSelection
Imports
org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.metamodel.mapping.JdbcMappingContainer, org.hibernate.sql.ast.tree.SqlAstNode, org.hibernate.sql.ast.tree.expression.Expression, org.hibernate.sql.results.jdbc.spi.JdbcValuesMetadata, .RowProcessingState, org.hibernate.sql.ast.SqlAstWalker, org.hibernate.type.descriptor.ValueExtractor

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
public Expression
getExpression()

The underlying expression.

public JdbcMappingContainer
getExpressionType()

Get the type of the expression

public default int
getJdbcResultSetIndex()

Get the JDBC position (1-based)

public ValueExtractor<X>
getJdbcValueExtractor()

Get the extractor that can be used to extract JDBC values for this selection

public int
getValuesArrayPosition()

Get the position within the "JDBC values" array (0-based).

public boolean
isVirtual()

Whether this is a virtual or a real selection item.

public SqlSelection
resolve(JdbcValuesMetadata jdbcResultsMetadata, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.

Method Detail

acceptback to summary
public void accept(SqlAstWalker sqlAstWalker)

Redeclares org.hibernate.sql.ast.tree.SqlAstNode.accept.

getExpressionback to summary
public Expression getExpression()

The underlying expression.

getExpressionTypeback to summary
public JdbcMappingContainer getExpressionType()

Get the type of the expression

getJdbcResultSetIndexback to summary
public default int getJdbcResultSetIndex()

Get the JDBC position (1-based)

getJdbcValueExtractorback to summary
public ValueExtractor<X> getJdbcValueExtractor()

Get the extractor that can be used to extract JDBC values for this selection

getValuesArrayPositionback to summary
public int getValuesArrayPosition()

Get the position within the "JDBC values" array (0-based). Negative indicates this is not a "real" selection

isVirtualback to summary
public boolean isVirtual()

Whether this is a virtual or a real selection item. Virtual selection items are not rendered into the SQL select clause.

resolveback to summary
public SqlSelection resolve(JdbcValuesMetadata jdbcResultsMetadata, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.