public void testBooleanValueExpression() throws Exception(Code)
Test boolean value expressions.
<boolean value expression > ::=
<boolean term >
| <boolean value expression > OR <boolean term >
<boolean term > ::=
<boolean factor >
| <boolean term > AND <boolean factor>
testBracketRoundtripFilter
public void testBracketRoundtripFilter() throws Exception(Code)
testCharacterStringLiteral
public void testCharacterStringLiteral() throws Exception(Code)
public void testRoutineInvocationGeoOp() throws Exception(Code)
Test Geo Operations.
<routine invocation > ::=
<geoop name > <georoutine argument list >[*]
| <relgeoop name > <relgeoop argument list >
| <routine name > <argument list >
<geoop name > ::=
EQUAL | DISJOINT | INTERSECT | TOUCH | CROSS | [*]
WITHIN | CONTAINS |OVERLAP | RELATE [*]
That rule is extended with bbox for convenience.
<bbox argument list >::=
"(" <attribute > "," <min X > "," <min Y > "," <max X > "," <max Y >["," <srs >] ")"
<min X > ::= <signed numerical literal >
<min Y > ::= <signed numerical literal >
<max X > ::= <signed numerical literal >
<max Y > ::= <signed numerical literal >
<srs > ::=
TODO Note: RELATE is not supported (implementation in GeoTools is
required)
testRoutineInvocationRelGeoOp
public void testRoutineInvocationRelGeoOp() throws Exception(Code)
Test RelGeo Operations [*]
<routine invocation > ::=
<geoop name > <georoutine argument list >
| <relgeoop name > <relgeoop argument list > [*]
| <routine name > <argument list >
<relgeoop name > ::=
DWITHIN | BEYOND [*]
testTemporalPredicateAfter
public void testTemporalPredicateAfter() throws Exception(Code)
Test temporal predicate. This tests AFTER or during rule[*]
<temporal predicate >::=
<attribute_name > BEFORE <date-time expression >
| <attribute_name > BEFORE OR DURING <period >
| <attribute_name > DURING <period >
| <attribute_name > DURING OR AFTER <period >
| <B> <attribute_name > AFTER <date-time expression >[*]</B>
<date-time expression > ::= <date-time > | <period >
<period > ::=
<date-time > "/" <date-time >[*]
| <date-time > "/" <duration > [*]
| <duration > "/" <date-time > [*]
testTemporalPredicateBefore
public void testTemporalPredicateBefore() throws Exception(Code)
Test temporal predicate. This test BEFORE rule [*]
<temporal predicate >::=
<attribute_name > <b>BEFORE</b> <date-time expression > [*]
| <attribute_name > BEFORE OR DURING <period >
| <attribute_name > DURING <period >
| <attribute_name > DURING OR AFTER <period >
| <attribute_name > AFTER <date-time expression >
<date-time expression > ::= <date-time > | <period >[*]
<period > ::=
<date-time > "/" <date-time >[*]
| <date-time > "/" <duration > [*]
| <duration > "/" <date-time > [*]
testTemporalPredicateBeforeOrDuring
public void testTemporalPredicateBeforeOrDuring() throws Exception(Code)
Test temporal predicate. This tests BEFORE or DURING rule[*]
<temporal predicate >::=
<attribute_name > BEFORE <date-time expression >
| <b> <attribute_name > BEFORE OR DURING <period >[*]</b>
| <attribute_name > DURING <period >
| <attribute_name > DURING OR AFTER <period >
| <attribute_name > AFTER <date-time expression >
<date-time expression > ::= <date-time > | <period >
<period > ::=
<date-time > "/" <date-time >[*]
| <date-time > "/" <duration >[*]
| <duration > "/" <date-time >[*]
testTemporalPredicateDuring
public void testTemporalPredicateDuring() throws Exception(Code)
Test temporal predicate. This tests DURING rule[*]
<temporal predicate >::=
<attribute_name > BEFORE <date-time expression >
| <b> <attribute_name > BEFORE OR DURING <period ></b>
| <attribute_name > DURING <period >[*]
| <attribute_name > DURING OR AFTER <period >
| <attribute_name > AFTER <date-time expression >
<date-time expression > ::= <date-time > | <period >
<period > ::=
<date-time > "/" <date-time >[*]
| <date-time > "/" <duration >[*]
| <duration > "/" <date-time >[*]
testTemporalPredicateDuringOrAfter
public void testTemporalPredicateDuringOrAfter() throws Exception(Code)
Test temporal predicate. This tests DURING OR AFTER rule[*]
<temporal predicate >::=
<attribute_name > BEFORE <date-time expression >
| <b> <attribute_name > BEFORE OR DURING <period ></b>
| <attribute_name > DURING <period >
| <attribute_name > DURING OR AFTER <period >[*]
| <attribute_name > AFTER <date-time expression >
<date-time expression > ::= <date-time > | <period >
<period > ::=
<date-time > "/" <date-time >[*]
| <date-time > "/" <duration >[*]
| <duration > "/" <date-time >[*]
<text predicate > ::=
<attribute name > [ NOT ] LIKE <character pattern >
For example:
attribute like '%contains_this%'
attribute like 'begins_with_this%'
attribute like '%ends_with_this'
attribute like 'd_ve' will match 'dave' or 'dove'
attribute not like '%will_not_contain_this%'
attribute not like 'will_not_begin_with_this%'
attribute not like '%will_not_end_with_this'