Klasse BigDecimalRange
java.lang.Object
org.jooq.postgres.extensions.types.BigDecimalRange
- Alle implementierten Schnittstellen:
Serializable,Range<BigDecimal>
A data type representing the PostgreSQL
numrange type.- Autor:
- Lukas Eder
- Siehe auch:
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic final BigDecimalRangebigDecimalRange(BigDecimal lower, boolean lowerIncluding, BigDecimal upper, boolean upperIncluding) Create a newBigDecimalRange.static final BigDecimalRangebigDecimalRange(BigDecimal lower, BigDecimal upper) Create a newBigDecimalRangewith a inclusive lower bound and an exclusive upper bound.booleaninthashCode()booleanisEmpty()In PostgreSQL, a [x,x) range is considered "empty".final BigDecimallower()The lower bound of the range.final booleanWhether theRange.lower()bound of the range is included in the range.toString()final BigDecimalupper()The upper bound of the range.final booleanWhether theRange.upper()bound of the range is included in the range.
-
Methodendetails
-
bigDecimalRange
Create a newBigDecimalRangewith a inclusive lower bound and an exclusive upper bound. -
bigDecimalRange
public static final BigDecimalRange bigDecimalRange(BigDecimal lower, boolean lowerIncluding, BigDecimal upper, boolean upperIncluding) Create a newBigDecimalRange. -
isEmpty
public boolean isEmpty()Beschreibung aus Schnittstelle kopiert:RangeIn PostgreSQL, a [x,x) range is considered "empty". -
lower
Beschreibung aus Schnittstelle kopiert:RangeThe lower bound of the range. -
lowerIncluding
public final boolean lowerIncluding()Beschreibung aus Schnittstelle kopiert:RangeWhether theRange.lower()bound of the range is included in the range.- Angegeben von:
lowerIncludingin SchnittstelleRange<T>
-
upper
Beschreibung aus Schnittstelle kopiert:RangeThe upper bound of the range. -
upperIncluding
public final boolean upperIncluding()Beschreibung aus Schnittstelle kopiert:RangeWhether theRange.upper()bound of the range is included in the range.- Angegeben von:
upperIncludingin SchnittstelleRange<T>
-
hashCode
public int hashCode() -
equals
-
toString
-