Methods
(static) and(filters) → {string}
Returns a CQL expression for the AND operator.
Parameters:
Name | Type | Description |
---|---|---|
filters |
Array | The filters to join. |
Returns:
- The CQL expression.
- Type
- string
(static) bbox(property, latMin, lngMin, latMax, lngMax) → {string}
Returns an bbox filter for the given boundingbox
Parameters:
Name | Type | Description |
---|---|---|
property |
string | |
latMin |
number | |
lngMin |
number | |
latMax |
number | |
lngMax |
number |
Returns:
- The "bbox"-filter.
- Type
- string
(static) bt(property, begin, end) → {string}
Returns a CQL expression for the BETWEEN operator.
Parameters:
Name | Type | Description |
---|---|---|
property |
string | The property name. |
begin |
string | number | The beginning value. |
end |
string | number | The ending value. |
Returns:
- The CQL expression.
- Type
- string
(static) eq(property, value) → {string}
Returns a CQL expression for the equality operator.
Parameters:
Name | Type | Description |
---|---|---|
property |
string | The property name. |
value |
string | number | The value to compare. |
Returns:
- The CQL expression.
- Type
- string
(static) getFilterParams(harmonizedFilters) → {Object}
Returns the filter parameters based on the harmonized filters.
Parameters:
Name | Type | Description |
---|---|---|
harmonizedFilters |
Array | The harmonized filters. |
Returns:
- The filter parameters.
- Type
- Object
(static) gt(property, value) → {string}
Returns a CQL expression for the greater than operator.
Parameters:
Name | Type | Description |
---|---|---|
property |
string | The property name. |
value |
string | number | The value to compare. |
Returns:
- The CQL expression.
- Type
- string
(static) gteq(property, value) → {string}
Returns a CQL expression for the greater than or equal to operator.
Parameters:
Name | Type | Description |
---|---|---|
property |
string | The property name. |
value |
string | number | The value to compare. |
Returns:
- The CQL expression.
- Type
- string
(static) join_(filters, sep) → {string}
Joins the filters with the specified separator.
Parameters:
Name | Type | Description |
---|---|---|
filters |
Array | The filters to join. |
sep |
string | The separator. |
Returns:
- The joined filters.
- Type
- string
(static) like(property, value) → {string}
Returns a CQL expression for the LIKE operator.
Parameters:
Name | Type | Description |
---|---|---|
property |
string | The property name. |
value |
string | The value to match. |
Returns:
- The CQL expression.
- Type
- string
(static) lt(property, value) → {string}
Returns a CQL expression for the less than operator.
Parameters:
Name | Type | Description |
---|---|---|
property |
string | The property name. |
value |
string | number | The value to compare. |
Returns:
- The CQL expression.
- Type
- string
(static) lteq(property, value) → {string}
Returns a CQL expression for the less than or equal to operator.
Parameters:
Name | Type | Description |
---|---|---|
property |
string | The property name. |
value |
string | number | The value to compare. |
Returns:
- The CQL expression.
- Type
- string
(static) null(property) → {string}
Returns a CQL expression for the IS NULL operator.
Parameters:
Name | Type | Description |
---|---|---|
property |
string | The property name. |
Returns:
- The CQL expression.
- Type
- string
(static) or(filters) → {string}
Returns a CQL expression for the OR operator.
Parameters:
Name | Type | Description |
---|---|---|
filters |
Array | The filters to join. |
Returns:
- The CQL expression.
- Type
- string