Interface Geometry

All Known Implementing Classes:
Circle, GeometryCollection, Line, LinearRing, MultiLine, MultiPoint, MultiPolygon, Point, Polygon, Rectangle

public interface Geometry
Base class for all Geometry objects supported by elasticsearch
  • Method Summary

    Modifier and Type Method Description
    default boolean hasAlt()  
    default boolean hasZ()  
    boolean isEmpty()  
    ShapeType type()  
    <T,​ E extends java.lang.Exception>
    T
    visit​(GeometryVisitor<T,​E> visitor)  
  • Method Details

    • type

      ShapeType type()
    • visit

      <T,​ E extends java.lang.Exception> T visit​(GeometryVisitor<T,​E> visitor) throws E extends java.lang.Exception
      Throws:
      E extends java.lang.Exception
    • isEmpty

      boolean isEmpty()
    • hasZ

      default boolean hasZ()
    • hasAlt

      default boolean hasAlt()