Interface SQLSelectFromStep

All Superinterfaces:
SQLBuildStep, SQLSelectBuildStep, SQLSelectSourceStep

public interface SQLSelectFromStep extends SQLSelectSourceStep
A SELECT source stage that permits adding more comma-separated tables before any JOIN. If JOINs follow multiple FROM sources, the compiler groups those sources as a CROSS JOIN expression before applying the subsequent joins from left to right.
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 Details

    • from

      SQLSelectFromStep from(IDBTable first, IDBTable... others)
      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 clause
      others - additional table occurrences appended in comma-separated order
      Returns:
      the next valid fluent stage
    • from

      default SQLSelectFromStep from(IDBTable.Provider first, IDBTable.Provider... others)
      Appends provider-supplied tables in order, resolving each provider immediately.
      Parameters:
      first - the first table provider
      others - additional table providers
      Returns:
      this source stage
      Throws:
      NullPointerException - if any provider or supplied table is null
    • from

      SQLSelectFromStep from(SQLTableRef first, SQLTableRef... others)
      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 clause
      others - additional table occurrences appended in comma-separated order
      Returns:
      the next valid fluent stage