java.lang.Object
org.litebridge.orm.api.select.FromClauseStart
Entry point for the "FROM" clause of a query.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final FromClauseEngineThe from clause engine.protected final SelectNodeThe current query node. -
Constructor Summary
ConstructorsConstructorDescriptionFromClauseStart(SelectNode node, FromClauseEngine fromClauseEngine) Constructs a newFromClauseStart. -
Method Summary
Modifier and TypeMethodDescription<DTO> DtoFromClauseTerminal<DTO> Starts a FROM clause for the given DTO class.<DTO> DtoFromClauseTerminal<DTO> Starts a FROM clause for the given DTO class within the context of another DTO class.Starts a FROM clause for the given SQL table.
-
Field Details
-
node
The current query node. -
fromClauseEngine
The from clause engine.
-
-
Constructor Details
-
FromClauseStart
Constructs a newFromClauseStart.- Parameters:
node- the current query node.fromClauseEngine- the from clause engine.
-
-
Method Details
-
from
Starts a FROM clause for the given DTO class.- Type Parameters:
DTO- the DTO type.- Parameters:
dtoClass- the DTO class.- Returns:
- the DTO from clause terminal.
-
from
Starts a FROM clause for the given DTO class within the context of another DTO class.- Type Parameters:
DTO- the DTO type.- Parameters:
dtoClass- the DTO class.contextDtoClass- the context DTO class.- Returns:
- the DTO from clause terminal.
-
from
Starts a FROM clause for the given SQL table.- Parameters:
table- the table name.- Returns:
- the SQL from clause terminal.
-