- All Known Subinterfaces:
QueryMapper.MapperNotCondition
- Enclosing interface:
QueryMapper
public static interface QueryMapper.MapperNameCondition
Represents a condition based on a column name.
-
Method Summary
Modifier and TypeMethodDescriptionbetween(T valueA, T valueB) Creates a condition where the specified column name is between the provided values.eq(T value) Creates a condition where the specified column name equals the provided value.gt(T value) Creates a condition where the specified column name is greater than the provided value.gte(T value) Creates a condition where the specified column name is greater than or equal to the provided value.Creates a condition where the specified column name is in the provided iterable values.Creates a condition where the specified column name is like the provided value.lt(T value) Creates a condition where the specified column name is less than the provided value.lte(T value) Creates a condition where the specified column name is less than or equal to the provided value.not()Creates a NOT condition for the specified column name.
-
Method Details
-
eq
Creates a condition where the specified column name equals the provided value.- Type Parameters:
T- the type- Parameters:
value- the value for the condition- Returns:
- the
QueryMapper.MapperWhere - Throws:
NullPointerException- when value is null
-
like
Creates a condition where the specified column name is like the provided value.- Parameters:
value- the value for the condition- Returns:
- the
QueryMapper.MapperWhere - Throws:
NullPointerException- when value is null
-
gt
Creates a condition where the specified column name is greater than the provided value.- Type Parameters:
T- the type- Parameters:
value- the value for the condition- Returns:
- the
QueryMapper.MapperWhere - Throws:
NullPointerException- when value is null
-
gte
Creates a condition where the specified column name is greater than or equal to the provided value.- Type Parameters:
T- the type- Parameters:
value- the value for the condition- Returns:
- the
QueryMapper.MapperWhere - Throws:
NullPointerException- when value is null
-
lt
Creates a condition where the specified column name is less than the provided value.- Type Parameters:
T- the type- Parameters:
value- the value for the condition- Returns:
- the
QueryMapper.MapperWhere - Throws:
NullPointerException- when value is null
-
lte
Creates a condition where the specified column name is less than or equal to the provided value.- Type Parameters:
T- the type- Parameters:
value- the value for the condition- Returns:
- the
QueryMapper.MapperWhere - Throws:
NullPointerException- when value is null
-
between
Creates a condition where the specified column name is between the provided values.- Type Parameters:
T- the type- Parameters:
valueA- the lower bound of the rangevalueB- the upper bound of the range- Returns:
- the
QueryMapper.MapperWhere - Throws:
NullPointerException- when either valueA or valueB is null
-
in
Creates a condition where the specified column name is in the provided iterable values.- Type Parameters:
T- the type- Parameters:
values- the values for the condition- Returns:
- the
QueryMapper.MapperWhere - Throws:
NullPointerException- when values is null
-
not
Creates a NOT condition for the specified column name.- Returns:
QueryMapper.MapperNotCondition
-