public final class SQLSelectStatement:
Immutable structured single-table SELECT statement.
command = selectStatement.render(PostgreSQLDialect())
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | distinctdistinct as Boolean |
No summary. |
| public readonly property | limitlimit as Long |
No summary. |
| public readonly property | offsetoffset as Long |
No summary. |
| public readonly property | orders | No summary. |
| public readonly property | predicatepredicate as SQLExpression |
No summary. |
| public readonly property | projectionsprojections as ArrayList<SQLExpression> |
No summary. |
| public readonly property | schemaNameschemaName as String |
No summary. |
| public readonly property | tableNametableName as String |
No summary. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | SQLSelectStatementSQLSelectStatement(
tableName as String,
schemaName as String,
projections as IList<SQLExpression>,
predicate as SQLExpression,
orders as IList<SQLOrder>,
offset as Long,
limit as Long,
distinct as Boolean
): |
Creates a validated immutable SELECT tree. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | renderrender(dialect as SQLDialect) as SQLCommand: |
Renders one prepared SQL command. |
| public | renderCountrenderCount(dialect as SQLDialect) as SQLCommand: |
Renders an exact count over this statement's complete result window. |
| public | renderExistsrenderExists(dialect as SQLDialect) as SQLCommand: |
Renders a one-row existence probe without materializing projections. |