Interface SqlSelection

All Superinterfaces:
SqlAstNode
All Known Implementing Classes:
ResolvedSqlSelection, ResultSetMappingSqlSelection, SqlSelectionImpl

public interface SqlSelection extends SqlAstNode
  • 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

      void accept(SqlAstWalker sqlAstWalker)
      Specified by:
      accept in interface SqlAstNode
    • resolve

      SqlSelection resolve(JdbcValuesMetadata jdbcResultsMetadata, SessionFactoryImplementor sessionFactory)