Enum Class SpatialCoordinateTypes
java.lang.Object
java.lang.Enum<SpatialCoordinateTypes>
org.elasticsearch.xpack.esql.core.util.SpatialCoordinateTypes
- All Implemented Interfaces:
Serializable,Comparable<SpatialCoordinateTypes>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.util.BytesRefasWkb(org.elasticsearch.geometry.Geometry geometry) asWkt(org.elasticsearch.geometry.Geometry geometry) abstract org.elasticsearch.geometry.PointlongAsPoint(long encoded) org.apache.lucene.util.BytesReflongAsWkb(long encoded) abstract longpointAsLong(double x, double y) protected org.elasticsearch.geometry.utils.GeometryValidatorstatic SpatialCoordinateTypesReturns the enum constant of this class with the specified name.static SpatialCoordinateTypes[]values()Returns an array containing the constants of this enum class, in the order they are declared.longwkbAsLong(org.apache.lucene.util.BytesRef wkb) org.elasticsearch.geometry.PointwkbAsPoint(org.apache.lucene.util.BytesRef wkb) org.elasticsearch.geometry.GeometrywkbToGeometry(org.apache.lucene.util.BytesRef wkb) wkbToWkt(org.apache.lucene.util.BytesRef wkb) org.apache.lucene.util.BytesRef
-
Enum Constant Details
-
GEO
-
CARTESIAN
-
UNSPECIFIED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
validator
protected org.elasticsearch.geometry.utils.GeometryValidator validator() -
longAsPoint
public abstract org.elasticsearch.geometry.Point longAsPoint(long encoded) -
pointAsLong
public abstract long pointAsLong(double x, double y) -
wkbAsLong
public long wkbAsLong(org.apache.lucene.util.BytesRef wkb) -
wkbAsPoint
public org.elasticsearch.geometry.Point wkbAsPoint(org.apache.lucene.util.BytesRef wkb) -
longAsWkb
public org.apache.lucene.util.BytesRef longAsWkb(long encoded) -
asWkt
-
asWkb
public org.apache.lucene.util.BytesRef asWkb(org.elasticsearch.geometry.Geometry geometry) -
wktToWkb
-
wkbToWkt
-
wkbToGeometry
public org.elasticsearch.geometry.Geometry wkbToGeometry(org.apache.lucene.util.BytesRef wkb)
-