By default test executes the test parsing Comparison Predicate using the CQL compiler.
The subclass could use this as default and add more test cases with different language.
725726727728729730731732733734735
case JJTPERIOD_WITH_DURATION_DATE_NODE: filter = this.builder.buildBeforePeriod(); break; default: throw new CQLException( "unexpeted date time expression in temporal predicate.", node.getToken(), this.source); } return filter;
753754755756757758759760761762763
case JJTPERIOD_WITH_DURATION_DATE_NODE: filter = this.builder.buildDuringPeriod(); break; default: throw new CQLException( "unexpeted period expression in temporal predicate.", node .getToken(), this.source); } return filter;
787788789790791792793794795796797
case JJTPERIOD_WITH_DATE_DURATION_NODE: filter = this.builder.buildAfterPeriod(); break; default: throw new CQLException( "unexpeted date time expression in temporal predicate.", node.getToken(), this.source); } return filter;
825826827828829830831832
case JJTCOMPARISONPREDICATE_LTE_NODE: return this.builder.buildLessOrEqual(); default: throw new CQLException("unexpeted filter type."); } }
82838485868788899091
return polygon; }catch(Exception e){ throw new CQLException(e.getMessage(), result.getToken(), getStatemet()); } }
5354555657585960
Point point = getGeometryFactory().createPoint(coordinate); return point; } catch (ClassCastException e) { throw new CQLException(e.getMessage(), token, getStatemet()); } }