Module litebridge.orm
Class DtoConditionClauseStart<DTO>
java.lang.Object
org.litebridge.orm.api.condition.AbstractConditionClauseStart<DTO>
org.litebridge.orm.api.dto.condition.DtoConditionClauseStart<DTO>
- Type Parameters:
DTO- the type of the DTO
Start of a DTO-based condition clause.
-
Field Summary
Fields inherited from class org.litebridge.orm.api.condition.AbstractConditionClauseStart
fromClauseEngine -
Constructor Summary
ConstructorsConstructorDescriptionDtoConditionClauseStart(OrmTable ormTable, FromClauseEngine fromClauseEngine, @Nullable QueryNode node) Creates a new DTO condition clause start. -
Method Summary
Modifier and TypeMethodDescriptionStarts a WHERE clause with a column name.where(ExpressionSpec expression) Starts a WHERE clause with an expression.
-
Constructor Details
-
DtoConditionClauseStart
public DtoConditionClauseStart(OrmTable ormTable, FromClauseEngine fromClauseEngine, @Nullable QueryNode node) Creates a new DTO condition clause start.- Parameters:
ormTable- the ORM table metadatafromClauseEngine- the from clause enginenode- the current query node
-
-
Method Details
-
where
Description copied from class:AbstractConditionClauseStartStarts a WHERE clause with a column name.- Specified by:
wherein classAbstractConditionClauseStart<DTO>- Parameters:
field- The column name.- Returns:
- A new
AbstractCbConditionClauseinstance.
-
where
Description copied from class:AbstractConditionClauseStartStarts a WHERE clause with an expression.- Specified by:
wherein classAbstractConditionClauseStart<DTO>- Parameters:
expression- The expression specification.- Returns:
- A new
AbstractCbConditionClauseinstance.
-