java.lang.Object
org.litebridgedb.orm.api.sql.SqlFromClause
- All Implemented Interfaces:
org.litebridgedb.orm.api.select.FromClause<Row,SqlFromClauseTerminal, SqlJoinClause, SqlJoinConditionClause, SqlJoinConditionClauseTerminal, SqlWhereConditionClause, SqlWhereConditionClauseTerminal, SqlOrderByClause, SqlOrderByClauseChain>
public final class SqlFromClause
extends Object
implements org.litebridgedb.orm.api.select.FromClause<Row,SqlFromClauseTerminal,SqlJoinClause,SqlJoinConditionClause,SqlJoinConditionClauseTerminal,SqlWhereConditionClause,SqlWhereConditionClauseTerminal,SqlOrderByClause,SqlOrderByClauseChain>
-
Constructor Summary
ConstructorsConstructorDescriptionSqlFromClause(Aliased[] columns, SqlSelectSpec selectSpec, TableRegistry tableRegistry, SqlSelector delegate) -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the source table and schema for the SQL query, setting the base table and columns used in the query construction.
-
Constructor Details
-
SqlFromClause
public SqlFromClause(Aliased[] columns, SqlSelectSpec selectSpec, TableRegistry tableRegistry, SqlSelector delegate)
-
-
Method Details
-
from
Description copied from interface:org.litebridgedb.orm.api.select.FromClauseSpecifies the source table and schema for the SQL query, setting the base table and columns used in the query construction.If the table is not already registered, it is created and associated with an empty schema and given table name.
- Specified by:
fromin interfaceorg.litebridgedb.orm.api.select.FromClause<Row,SqlFromClauseTerminal, SqlJoinClause, SqlJoinConditionClause, SqlJoinConditionClauseTerminal, SqlWhereConditionClause, SqlWhereConditionClauseTerminal, SqlOrderByClause, SqlOrderByClauseChain> - Parameters:
table- the name of the table within the specified schema- Returns:
- an instance of
SqlFromClauseTerminalto allow further query configuration
-