Package org.geotools.filter.text.commons
Class FilterToTextUtil
- Object
-
- FilterToTextUtil
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringBuilder
asStringBuilder(Object extraData)
Process the possibly user supplied extraData parameter into a StringBuilder.static Object
buildBBOX(BBOX filter, Object extraData)
static Object
buildBetween(PropertyIsBetween filter, Object extraData)
static Object
buildBinaryLogicalOperator(String operator, FilterVisitor visitor, BinaryLogicOperator filter, Object extraData)
builds: left predicate AND right predicatestatic Object
buildBinarySpatialOperator(String spatialOperator, BinarySpatialOperator filter, Object extraData)
static Object
buildBinarySpatialOperator(String spatialOperator, BinarySpatialOperator filter, Object extraData, ExpressionToText visitor)
static Object
buildBinaryTemporalOperator(String temporalOperator, BinaryTemporalOperator filter, Object extraData)
static Object
buildComparison(BinaryComparisonOperator filter, Object extraData, String operator)
Builds a comparison predicate inserting the operato1 or operator2 taking into account the PropertyName position in the comparison filter.static Object
buildDistanceBufferOperation(String geoOperation, DistanceBufferOperator filter, Object extraData)
static Object
buildDistanceBufferOperation(String geoOperation, DistanceBufferOperator filter, Object extraData, ExpressionToText visitor)
static Object
buildDuring(During during, Object extraData)
static Object
buildDWithin(DWithin filter, Object extraData)
static Object
buildDWithin(DWithin filter, Object extraData, ExpressionToText visitor)
static Object
buildExclude(Object extraData)
static Object
buildInclude(Object extraData)
static Object
buildIsLike(PropertyIsLike filter, Object extraData)
static Object
buildIsNull(PropertyIsNull filter, Object extraData)
static Object
buildNot(FilterVisitor filterToCQL, Not filter, Object extraData)
-
-
-
Method Detail
-
asStringBuilder
public static StringBuilder asStringBuilder(Object extraData)
Process the possibly user supplied extraData parameter into a StringBuilder.
-
buildBinaryLogicalOperator
public static Object buildBinaryLogicalOperator(String operator, FilterVisitor visitor, BinaryLogicOperator filter, Object extraData)
builds: left predicate AND right predicate
-
buildBetween
public static Object buildBetween(PropertyIsBetween filter, Object extraData)
-
buildNot
public static Object buildNot(FilterVisitor filterToCQL, Not filter, Object extraData)
-
buildComparison
public static Object buildComparison(BinaryComparisonOperator filter, Object extraData, String operator)
Builds a comparison predicate inserting the operato1 or operator2 taking into account the PropertyName position in the comparison filter.- Parameters:
operator
- an operator- Returns:
- SringBuffer
-
buildIsLike
public static Object buildIsLike(PropertyIsLike filter, Object extraData)
-
buildIsNull
public static Object buildIsNull(PropertyIsNull filter, Object extraData)
-
buildDistanceBufferOperation
public static Object buildDistanceBufferOperation(String geoOperation, DistanceBufferOperator filter, Object extraData)
-
buildDistanceBufferOperation
public static Object buildDistanceBufferOperation(String geoOperation, DistanceBufferOperator filter, Object extraData, ExpressionToText visitor)
-
buildDWithin
public static Object buildDWithin(DWithin filter, Object extraData, ExpressionToText visitor)
-
buildBinarySpatialOperator
public static Object buildBinarySpatialOperator(String spatialOperator, BinarySpatialOperator filter, Object extraData)
-
buildBinarySpatialOperator
public static Object buildBinarySpatialOperator(String spatialOperator, BinarySpatialOperator filter, Object extraData, ExpressionToText visitor)
-
buildBinaryTemporalOperator
public static Object buildBinaryTemporalOperator(String temporalOperator, BinaryTemporalOperator filter, Object extraData)
-
-