public final class Filters extends Object
| Modifier and Type | Method and Description |
|---|---|
static BinaryLogicFilter |
and(Filter<?> left,
Filter<?> right)
Creates a new
BinaryLogicFilter. |
static ComparisonFilter |
between(String property,
String lower,
String upper)
Creates a new
PropertyIsBetween filter. |
static ComparisonFilter |
eq(String property,
String value)
Creates a new
PropertyIsEqualTo filter. |
static ComparisonFilter |
ge(String property,
String value)
Creates a new
PropertyIsGreaterThanOrEqualTo filter. |
static ComparisonFilter |
gt(String property,
String value)
Creates a new
PropertyIsGreaterThan filter. |
static ComparisonFilter |
isNil(String property)
Creates a new
PropertyIsNil filter. |
static ComparisonFilter |
isNull(String property)
Creates a new
PropertyIsNull filter. |
static ComparisonFilter |
le(String property,
String value)
Creates a new
PropertyIsLessThanOrEqualTo filter. |
static ComparisonFilter |
like(String property,
String value)
Creates a new
PropertyIsLike filter. |
static ComparisonFilter |
lt(String property,
String value)
Creates a new
PropertyIsLessThan filter. |
static ComparisonFilter |
ne(String property,
String value)
Creates a new
PropertyIsNotEqualTo filter. |
static UnaryLogicFilter |
not(Filter<?> filter)
Creates a new
BinaryLogicFilter. |
static BinaryLogicFilter |
or(Filter<?> left,
Filter<?> right)
Creates a new
BinaryLogicFilter. |
public static ComparisonFilter ge(String property, String value)
PropertyIsGreaterThanOrEqualTo filter.property - the propertyvalue - the valuepublic static ComparisonFilter le(String property, String value)
PropertyIsLessThanOrEqualTo filter.property - the propertyvalue - the valuepublic static ComparisonFilter eq(String property, String value)
PropertyIsEqualTo filter.property - the propertyvalue - the valuepublic static ComparisonFilter gt(String property, String value)
PropertyIsGreaterThan filter.property - the propertyvalue - the valuepublic static ComparisonFilter lt(String property, String value)
PropertyIsLessThan filter.property - the propertyvalue - the valuepublic static ComparisonFilter like(String property, String value)
PropertyIsLike filter.property - the propertyvalue - the valuepublic static ComparisonFilter isNil(String property)
PropertyIsNil filter.property - the propertypublic static ComparisonFilter isNull(String property)
PropertyIsNull filter.property - the propertypublic static ComparisonFilter ne(String property, String value)
PropertyIsNotEqualTo filter.property - the propertyvalue - the valuepublic static ComparisonFilter between(String property, String lower, String upper)
PropertyIsBetween filter.property - the propertylower - the lower boundaryupper - the upper boundarypublic static BinaryLogicFilter and(Filter<?> left, Filter<?> right)
BinaryLogicFilter.left - the left operandright - the right operandpublic static BinaryLogicFilter or(Filter<?> left, Filter<?> right)
BinaryLogicFilter.left - the left operandright - the right operandpublic static UnaryLogicFilter not(Filter<?> filter)
BinaryLogicFilter.filter - the negated filterCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.