java.lang.Object
org.litebridgedb.orm.api.select.model.ConditionSpec
Specification for a condition in a database query.
This is used in a SQL query WHERE clause, JOIN clause, etc.
A condition consists of a column, an operator, and an optional value. The operator dictates how the column will be compared to the provided value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLhs()@Nullable ObjectgetValue()voidvoidsetLhs(ExpressionSpec lhs) voidsetOperator(Operator operator) voidtoCondition(SelectExpressionMapper selectExpressionMapper, Collection<Table> selectedTables)
-
Constructor Details
-
ConditionSpec
public ConditionSpec()
-
-
Method Details
-
getLhs
-
setLhs
-
setLhs
-
getOperator
-
setOperator
-
getValue
-
setValue
-
toCondition
public Condition toCondition(SelectExpressionMapper selectExpressionMapper, Collection<Table> selectedTables)
-