Class Path

java.lang.Object
io.vertx.pgclient.data.Path

public class Path extends Object
Path data type in Postgres represented by lists of connected points. Paths can be open, where the first and last points in the list are considered not connected, or closed, where the first and last points are considered connected.
  • Constructor Details

    • Path

      public Path()
    • Path

      public Path(boolean isOpen, List<Point> points)
  • Method Details

    • isOpen

      public boolean isOpen()
    • setOpen

      public void setOpen(boolean open)
    • getPoints

      public List<Point> getPoints()
    • setPoints

      public void setPoints(List<Point> points)
    • addPoint

      public Path addPoint(Point point)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object