Enum Class GeoShapeRelation

java.lang.Object
java.lang.Enum<GeoShapeRelation>
co.elastic.clients.elasticsearch._types.GeoShapeRelation
All Implemented Interfaces:
JsonEnum, JsonpSerializable, Serializable, Comparable<GeoShapeRelation>, Constable

@JsonpDeserializable public enum GeoShapeRelation extends Enum<GeoShapeRelation> implements JsonEnum
See Also:
  • Enum Constant Details

    • Intersects

      public static final GeoShapeRelation Intersects
      Return all documents whose geo_shape or geo_point field intersects the query geometry.
    • Disjoint

      public static final GeoShapeRelation Disjoint
      Return all documents whose geo_shape or geo_point field has nothing in common with the query geometry.
    • Within

      public static final GeoShapeRelation Within
      Return all documents whose geo_shape or geo_point field is within the query geometry. Line geometries are not supported.
    • Contains

      public static final GeoShapeRelation Contains
      Return all documents whose geo_shape or geo_point field contains the query geometry.
  • Field Details

  • Method Details

    • values

      public static GeoShapeRelation[] 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 GeoShapeRelation valueOf(String 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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • jsonValue

      public String jsonValue()
      Specified by:
      jsonValue in interface JsonEnum