Package io.vertx.pgclient.data

## 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 Summary

    Constructors
    Constructor | Description
    --- | ---
    `Path()` |
    `Path​(boolean isOpen, List<Point> points)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Path` | `addPoint​(Point point)` |
    `boolean` | `equals​(Object o)` |
    `List<Point>` | `getPoints()` |
    `int` | `hashCode()` |
    `boolean` | `isOpen()` |
    `void` | `setOpen​(boolean open)` |
    `void` | `setPoints​(List<Point> points)` |
    `String` | `toString()` |

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Path

          public Path()

    - #### Path

          public Path​(boolean isOpen,
                      List<Point> points)

  - ### Method Detail

    - #### 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`