Class SqlQueryBuilder.DefaultReturningSelectionVisitor

All Implemented Interfaces:
ExpressionVisitor, SelectionVisitor, AbstractSqlLikeQueryBuilder.ReturningSelectionVisitor
Enclosing class:
SqlQueryBuilder

@Internal protected final class SqlQueryBuilder.DefaultReturningSelectionVisitor extends SqlQueryBuilder.SqlSelectionVisitor implements AbstractSqlLikeQueryBuilder.ReturningSelectionVisitor
Default implementation of AbstractSqlLikeQueryBuilder.ReturningSelectionVisitor used by SqlQueryBuilder to render the projection for SQL RETURNING clauses (INSERT/UPDATE/DELETE).

In addition to emitting the selection into the SQL buffer, this visitor collects:

The collected metadata is used by dialects such as Oracle that require RETURNING ... INTO OUT parameters instead of a result set.

This type is not thread-safe and is intended for per-query use only. It is an internal implementation detail and not part of the public API.

Since:
1.0.0
Author:
graemerocher, Denis Stepanov
See Also: