Package | Description |
---|---|
com.vladmihalcea.hibernate.type.range |
Modifier and Type | Method and Description |
---|---|
static Range<BigDecimal> |
Range.bigDecimalRange(String range)
Creates the
BigDecimal range from provided string: |
static <T extends Comparable<?>> |
Range.closed(T lower,
T upper)
Creates the closed range with provided bounds.
|
static <T extends Comparable<?>> |
Range.closedInfinite(T lower)
Creates the left-bounded, left-closed and right-unbounded range with provided lower bound.
|
static <T extends Comparable<?>> |
Range.closedOpen(T lower,
T upper)
Creates the left-closed, right-open range with provided bounds.
|
static <R extends Comparable<R>> |
Range.emptyRange(Class<R> clazz) |
protected Range |
PostgreSQLRangeType.get(ResultSet rs,
String[] names,
org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object owner) |
static <T extends Comparable<?>> |
Range.infinite(Class<T> cls)
Creates the unbounded at both ends range with provided upper bound.
|
static <T extends Comparable<?>> |
Range.infiniteClosed(T upper)
Creates the left-unbounded, right-bounded and right-closed range with provided upper bound.
|
static <T extends Comparable<?>> |
Range.infiniteOpen(T upper)
Creates the left-unbounded, right-bounded and right-open range with provided upper bound.
|
static Range<Integer> |
Range.integerRange(String range)
Creates the
Integer range from provided string: |
static Range<LocalDate> |
Range.localDateRange(String range)
Creates the
LocalDate range from provided string: |
static Range<LocalDateTime> |
Range.localDateTimeRange(String range)
Creates the
LocalDateTime range from provided string: |
static Range<Long> |
Range.longRange(String range)
Creates the
Long range from provided string: |
static <T extends Comparable> |
Range.ofString(String str,
Function<String,T> converter,
Class<T> clazz) |
static <T extends Comparable<?>> |
Range.open(T lower,
T upper)
Creates the open range with provided bounds.
|
static <T extends Comparable<?>> |
Range.openClosed(T lower,
T upper)
Creates the left-open, right-closed range with provided bounds.
|
static <T extends Comparable<?>> |
Range.openInfinite(T lower)
Creates the left-bounded, left-open and right-unbounded range with provided lower bound.
|
static Range<ZonedDateTime> |
Range.zonedDateTimeRange(String rangeStr)
Creates the
ZonedDateTime range from provided string: |
Modifier and Type | Method and Description |
---|---|
boolean |
Range.contains(Range<T> range)
Determines whether this range contains this point or not.
|
protected void |
PostgreSQLRangeType.set(PreparedStatement st,
Range range,
int index,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
Copyright © 2020. All rights reserved.