Package org.apache.unomi.graphql.utils
Class ConditionBuilder
- java.lang.Object
-
- org.apache.unomi.graphql.utils.ConditionBuilder
-
public class ConditionBuilder extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Condition
build()
static ConditionBuilder
create(ConditionType conditionType)
ConditionBuilder
eq(String value)
ConditionBuilder
gt(String value)
ConditionBuilder
gte(String value)
ConditionBuilder
lt(String value)
ConditionBuilder
lte(String value)
ConditionBuilder
neq(String value)
ConditionBuilder
operator(String comparisonOperator)
ConditionBuilder
parameter(String parameter, Object value)
ConditionBuilder
property(String propertyName)
ConditionBuilder
value(Object propertyValueInteger)
ConditionBuilder
value(String propertyValue)
ConditionBuilder
value(OffsetDateTime propertyValueDate)
ConditionBuilder
values(List<String> propertyValues)
-
-
-
Method Detail
-
create
public static ConditionBuilder create(ConditionType conditionType)
-
property
public ConditionBuilder property(String propertyName)
-
operator
public ConditionBuilder operator(String comparisonOperator)
-
value
public ConditionBuilder value(String propertyValue)
-
value
public ConditionBuilder value(OffsetDateTime propertyValueDate)
-
value
public ConditionBuilder value(Object propertyValueInteger)
-
values
public ConditionBuilder values(List<String> propertyValues)
-
parameter
public ConditionBuilder parameter(String parameter, Object value)
-
eq
public ConditionBuilder eq(String value)
-
neq
public ConditionBuilder neq(String value)
-
lt
public ConditionBuilder lt(String value)
-
lte
public ConditionBuilder lte(String value)
-
gt
public ConditionBuilder gt(String value)
-
gte
public ConditionBuilder gte(String value)
-
build
public Condition build()
-
-