java.lang.Object
org.springframework.data.relational.core.sql.Subselect
org.springframework.data.relational.core.sql.InlineQuery
All Implemented Interfaces:
Segment, TableLike, Visitable

public class InlineQuery extends Subselect implements TableLike
Represents a inline query within a SQL statement. Typically, used in FROM or JOIN clauses.

Renders to: (>SELECT<) AS >ALIAS< in a from or join clause, and to >ALIAS< when used in an expression.

Note that this does not implement Aliased because the Alias is not optional but required and therefore more like a name although the SQL term is "alias".

Since:
2.3
Author:
Jens Schauder