This cql clause is an extension for convenience. <between predicate > ::= <attribute name > [ NOT ] BETWEEN <literal& #62; AND < literal >
545556575859606162
} ICompiler compiler; if(language == Language.ECQL){ compiler = new ECQLCompiler(predicate, ff); }else{ compiler = new CQLCompiler(predicate, ff); } return compiler; }
287288289290291292293294
PropertyIsLike f = filterFactory.like(expr, pattern.toString(), WC_MULTI, WC_SINGLE, ESCAPE, matchCase); return f; } catch (IllegalFilterException ife) { throw new CQLException("Exception building LikeFilter: " + ife.getMessage(), this.cqlSource); } }
306307308309310311312313
PropertyIsNull filter = filterFactory.isNull(property); return filter; } catch (CQLException e) { throw new CQLException("Exception building Null Predicate", this.cqlSource); } }
333334335336337338339340
PropertyIsBetween filter = filterFactory.between(expr, inf, sup); return filter; } catch (IllegalFilterException ife) { throw new CQLException("Exception building CompareFilter: "+ ife.getMessage(), this.cqlSource); } }
393394395396397398399400401
String strDate = extractDate(cqlDate); String strTimeZone = extractTimeZone(cqlDate); return asLiteralTemporal(strDate, null, strTimeZone); } catch (java.text.ParseException e) { throw new CQLException("Unsupported date time format: " + e.getMessage(), this.cqlSource); } }
413414415416417418419420421422
String timeZoneOffset = extractTimeZone(cqlDateTime); return asLiteralTemporal(strDate, strTime, timeZoneOffset); } catch (java.text.ParseException e) { throw new CQLException("Unsupported date time format: " + e.getMessage(), this.cqlSource); } }
609610611612613614615616
identifier.append(part); return identifier.toString(); } catch (CQLException e) { throw new CQLException("Fail builing identifier: " + e.getMessage(), this.cqlSource); } }
710711712713714715716717
try { tolerance = this.resultStack.popLiteral(); return tolerance; } catch (NumberFormatException e) { throw new CQLException("Unsupported number format",this.cqlSource); } }
1141114211431144114511461147114811491150
Literal literal = filterFactory.literal(g); return literal; } catch (com.vividsolutions.jts.io.ParseException e) { throw new CQLException(e.getMessage(), geometry, e, this.cqlSource); } catch (Exception e) { throw new CQLException("Error building WKT Geometry: " + e.getMessage(),geometry, e, this.cqlSource); } }
13181319132013211322132313241325132613271328132913301331
Function function = null; try{ function = filterFactory.function(functionName, args); if (function == null) { throw new CQLException("Function not found.", this.cqlSource); } } catch (Exception ex){ throw new CQLException("Function not found.", this.cqlSource); } return function; }