Package org.eclipse.net4j.db.dml.fluent
Interface SQLSelectProjectionStep
public interface SQLSelectProjectionStep
A SELECT whose projection is complete and whose source clause is still being assembled.
- Since:
- 4.15
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptiondistinct()Marks the projection as DISTINCT before a source is selected.default SQLSelectFromStepfrom(IDBTable.Provider first, IDBTable.Provider... others) Adds provider-supplied tables in order, resolving each provider immediately.Adds one or more comma-separated table occurrences.from(SQLTableRef first, SQLTableRef... others) Adds one or more comma-separated table occurrences.
-
Method Details
-
distinct
SQLSelectProjectionStep distinct()Marks the projection as DISTINCT before a source is selected.- Returns:
- the next valid fluent stage
-
from
Adds one or more comma-separated table occurrences. This stage permits repeated additions until a JOIN is started.- Parameters:
first- the first table occurrence in the FROM clauseothers- additional table occurrences appended in comma-separated order- Returns:
- the next valid fluent stage
-
from
Adds provider-supplied tables in order, resolving each provider immediately.- Parameters:
first- the first table providerothers- additional table providers- Returns:
- the next valid fluent stage
- Throws:
NullPointerException- if any provider or supplied table isnull
-
from
Adds one or more comma-separated table occurrences. This stage permits repeated additions until a JOIN is started.- Parameters:
first- the first table occurrence in the FROM clauseothers- additional table occurrences appended in comma-separated order- Returns:
- the next valid fluent stage
-