Klasse LocalDateTimeRange

java.lang.Object
org.jooq.postgres.extensions.types.LocalDateTimeRange
Alle implementierten Schnittstellen:
Serializable, Range<LocalDateTime>

public final class LocalDateTimeRange extends Object
A data type representing the PostgreSQL tsrange type.
Autor:
Lukas Eder
Siehe auch:
  • Methodendetails

    • localDateTimeRange

      public static final LocalDateTimeRange localDateTimeRange(LocalDateTime lower, LocalDateTime upper)
      Create a new LocalDateTimeRange with a inclusive lower bound and an exclusive upper bound.
    • localDateTimeRange

      public static final LocalDateTimeRange localDateTimeRange(LocalDateTime lower, boolean lowerIncluding, LocalDateTime upper, boolean upperIncluding)
      Create a new LocalDateTimeRange.
    • isEmpty

      public boolean isEmpty()
      Beschreibung aus Schnittstelle kopiert: Range
      In PostgreSQL, a [x,x) range is considered "empty".
      Angegeben von:
      isEmpty in Schnittstelle Range<T>
    • lower

      @Nullable public final LocalDateTime lower()
      Beschreibung aus Schnittstelle kopiert: Range
      The lower bound of the range.
      Angegeben von:
      lower in Schnittstelle Range<T>
    • lowerIncluding

      public final boolean lowerIncluding()
      Beschreibung aus Schnittstelle kopiert: Range
      Whether the Range.lower() bound of the range is included in the range.
      Angegeben von:
      lowerIncluding in Schnittstelle Range<T>
    • upper

      @Nullable public final LocalDateTime upper()
      Beschreibung aus Schnittstelle kopiert: Range
      The upper bound of the range.
      Angegeben von:
      upper in Schnittstelle Range<T>
    • upperIncluding

      public final boolean upperIncluding()
      Beschreibung aus Schnittstelle kopiert: Range
      Whether the Range.upper() bound of the range is included in the range.
      Angegeben von:
      upperIncluding in Schnittstelle Range<T>
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object obj)
      Setzt außer Kraft:
      equals in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object