Module spring.data.elasticsearch
Class StandardValidator
java.lang.Object
org.springframework.data.elasticsearch.utils.geohash.StandardValidator
- All Implemented Interfaces:
GeometryValidator
Code copied from Elasticsearch 7.10, Apache License V2
https://github.com/elastic/elasticsearch/blob/7.10/libs/geo/src/main/java/org/elasticsearch/geometry/utils/StandardValidator.java
Validator that only checks that altitude only shows up if ignoreZValue is set to true.
Validator that only checks that altitude only shows up if ignoreZValue is set to true.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StandardValidator
public StandardValidator(boolean ignoreZValue)
-
-
Method Details
-
checkZ
protected void checkZ(double zValue) -
validate
Description copied from interface:GeometryValidatorValidates the geometry and throws IllegalArgumentException if the geometry is not valid- Specified by:
validatein interfaceGeometryValidator
-