Module litebridge.orm
Package org.litebridgedb.orm.api.select
Interface FromClause<DTO,FCT extends FromClauseTerminal<DTO,JC,JCC,JCCT,WCC,WCCT,GBCT,HCC,HCCT,OBC,OBCC>,JC extends JoinClause<DTO,JCC,JCCT>,JCC extends JoinConditionClause<DTO,JCC,JCCT>,JCCT extends JoinConditionClauseTerminal<DTO,JCC,JCCT>,WCC extends WhereConditionClause<DTO,WCC,WCCT,GBCT,HCC,HCCT,OBC,OBCC>,WCCT extends WhereConditionClauseTerminal<DTO,WCC,WCCT,GBCT,HCC,HCCT,OBC,OBCC>,GBCT extends GroupByClauseTerminal<DTO,HCC,HCCT,OBC,OBCC>,HCC extends HavingConditionClause<DTO,HCC,HCCT,OBC,OBCC>,HCCT extends HavingConditionClauseTerminal<DTO,HCC,HCCT,OBC,OBCC>,OBC extends OrderByClause<DTO,OBC,OBCC>,OBCC extends OrderByClauseChain<DTO,OBC,OBCC>>
- Type Parameters:
DTO- the data transfer object (DTO) type that represents the result of the queryFCT- the type of the terminal from clause to transition to the next clause or stageJC- the type of join clause used for specifying table joinsJCC- the type of join condition clause used for providing conditions in joinsJCCT- the terminal type of join condition clause, marking the end of join conditionsWCC- the type of where condition clause used for applying filtersWCCT- the terminal type of where condition clause, marking the end of filter conditionsGBCT- the terminal type of the GROUP BY clause, marking the end of GROUP BY clauseHCC- the type of the HAVING condition clause for further filteringHCCT- the terminal type of the HAVING condition clause, marking the end of HAVING conditionsOBC- the type of order by clause used to define the ordering of resultsOBCC- the type of order by clause chain for chaining multiple orderings
- All Known Implementing Classes:
SqlFromClause
public interface FromClause<DTO,FCT extends FromClauseTerminal<DTO,JC,JCC,JCCT,WCC,WCCT,GBCT,HCC,HCCT,OBC,OBCC>,JC extends JoinClause<DTO,JCC,JCCT>,JCC extends JoinConditionClause<DTO,JCC,JCCT>,JCCT extends JoinConditionClauseTerminal<DTO,JCC,JCCT>,WCC extends WhereConditionClause<DTO,WCC,WCCT,GBCT,HCC,HCCT,OBC,OBCC>,WCCT extends WhereConditionClauseTerminal<DTO,WCC,WCCT,GBCT,HCC,HCCT,OBC,OBCC>,GBCT extends GroupByClauseTerminal<DTO,HCC,HCCT,OBC,OBCC>,HCC extends HavingConditionClause<DTO,HCC,HCCT,OBC,OBCC>,HCCT extends HavingConditionClauseTerminal<DTO,HCC,HCCT,OBC,OBCC>,OBC extends OrderByClause<DTO,OBC,OBCC>,OBCC extends OrderByClauseChain<DTO,OBC,OBCC>>
Starting point for constructing a SQL query by specifying the source table and schema.
This interface is part of a flexible and type-safe fluent API that allows users to construct complex SQL queries in stages.
-
Method Summary
-
Method Details
-
from
Specifies the source table and schema for the SQL query, setting the base table and expressions 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.
- Parameters:
table- the name of the table within the specified schema- Returns:
- an instance of
SqlFromClauseTerminalto allow further query configuration
-