Package org.elasticsearch.common.geo
Enum Class GeoShapeType
<GeoShapeType>
org.elasticsearch.common.geo.GeoShapeType
- All Implemented Interfaces:
,
<
Enumeration that lists all
GeoShapeType
s that can be parsed and indexed-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.
< extends <>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic GeoShapeType
geoshapename)
abstract ShapeBuilder<?,?,?>
getBuilder(CoordinateNode coordinates, DistanceUnit.Distance radius, Orientation orientation, boolean coerce)
static <NamedWriteableRegistry.Entry>
toString()
static GeoShapeType
name)
Returns the enum constant of this class with the specified name.static GeoShapeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.wktName()
wkt shape nameMethods inherited from class java.lang.
, , , , , , , , ,
Methods inherited from class java.lang.
, , , , ,
-
Enum Constant Details
-
POINT
-
MULTIPOINT
-
LINESTRING
-
MULTILINESTRING
-
POLYGON
-
MULTIPOLYGON
-
ENVELOPE
-
CIRCLE
-
GEOMETRYCOLLECTION
-
-
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
public static name)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:
- if this enum class has no constant with the specified name
- if the argument is null
-
shapeName
public shapeName() -
forName
public static geoshapename) -
getBuilder
public abstract ShapeBuilder<?,?,?> getBuilder(CoordinateNode coordinates, DistanceUnit.Distance radius, Orientation orientation, boolean coerce) -
wktName
public wktName()wkt shape name -
getShapeWriteables
-
toString
public toString()- Overrides:
in class
<GeoShapeType>
-