public final class Marker extends Object implements Comparable<Marker>
| Modifier and Type | Class and Description |
|---|---|
static class |
Marker.Bound |
| Constructor and Description |
|---|
Marker(Type type,
Optional<Block> valueBlock,
Marker.Bound bound)
LOWER UNBOUNDED is specified with an empty value and a ABOVE bound
UPPER UNBOUNDED is specified with an empty value and a BELOW bound
|
| Modifier and Type | Method and Description |
|---|---|
static Marker |
above(Type type,
Object value) |
static Marker |
below(Type type,
Object value) |
Marker |
canonicalize(boolean removeConstants) |
int |
compareTo(Marker o) |
boolean |
equals(Object obj) |
static Marker |
exactly(Type type,
Object value) |
Marker.Bound |
getBound() |
Object |
getPrintableValue(SqlFunctionProperties properties) |
Type |
getType() |
Object |
getValue() |
Optional<Block> |
getValueBlock() |
Marker |
greaterAdjacent() |
int |
hashCode() |
boolean |
isAdjacent(Marker other)
Adjacency is defined by two Markers being infinitesimally close to each other.
|
boolean |
isLowerUnbounded() |
boolean |
isUpperUnbounded() |
Marker |
lesserAdjacent() |
static Marker |
lowerUnbounded(Type type) |
static Marker |
max(Marker marker1,
Marker marker2) |
static Marker |
min(Marker marker1,
Marker marker2) |
String |
toString(SqlFunctionProperties properties) |
static Marker |
upperUnbounded(Type type) |
public Marker(Type type, Optional<Block> valueBlock, Marker.Bound bound)
public Type getType()
public Object getValue()
public Object getPrintableValue(SqlFunctionProperties properties)
public Marker.Bound getBound()
public boolean isUpperUnbounded()
public boolean isLowerUnbounded()
public boolean isAdjacent(Marker other)
public Marker greaterAdjacent()
public Marker lesserAdjacent()
public int compareTo(Marker o)
compareTo in interface Comparable<Marker>public String toString(SqlFunctionProperties properties)
public Marker canonicalize(boolean removeConstants)
Copyright © 2012–2022. All rights reserved.