Interface AbstractSqlLikeQueryBuilder.ReturningSelectionVisitor

All Superinterfaces:
ExpressionVisitor, SelectionVisitor
All Known Implementing Classes:
SqlQueryBuilder.DefaultReturningSelectionVisitor
Enclosing class:
AbstractSqlLikeQueryBuilder

protected static interface AbstractSqlLikeQueryBuilder.ReturningSelectionVisitor extends SelectionVisitor
Visitor for handling the columns produced by a dialect-specific UPDATE/DELETE ... RETURNING clause.

Implementations collect the unescaped column names as they are rendered into the SQL and the corresponding DataTypes so that callers can construct the appropriate OUT parameter metadata (for example, when using Oracle's RETURNING INTO mechanism).

Since:
1.0.0
Author:
graemerocher, Denis Stepanov
  • Method Details

    • getUnescapedColumns

      List<String> getUnescapedColumns()
      Returns the list of physical column names as they appear in the SQL, without dialect-specific quoting applied.
      Returns:
      unescaped column names in the order they are rendered
    • getResultColumnTypes

      List<DataType> getResultColumnTypes()
      Returns the data types for the columns produced by the RETURNING clause. The order must match getUnescapedColumns().
      Returns:
      result column data types