Enum Class GeoShapeType

<GeoShapeType>
org.elasticsearch.common.geo.GeoShapeType
All Implemented Interfaces:
, <

public enum GeoShapeType extends <GeoShapeType>
Enumeration that lists all GeoShapeTypes that can be parsed and indexed
  • Enum Constant Details

  • Method Details

    • values

      public static GeoShapeType[] 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

      public static <NamedWriteableRegistry.Entry> getShapeWriteables()
    • toString

      public  toString()
      Overrides:
       in class <GeoShapeType>