public interface ValueSet
| Modifier and Type | Method and Description |
|---|---|
static ValueSet |
all(Type type) |
ValueSet |
complement() |
default boolean |
contains(ValueSet other) |
boolean |
containsValue(Object value) |
static ValueSet |
copyOf(Type type,
Collection<Object> values) |
static ValueSet |
copyOfRanges(Type type,
Collection<Range> ranges) |
default DiscreteValues |
getDiscreteValues() |
default Ranges |
getRanges() |
Object |
getSingleValue() |
Type |
getType() |
ValuesProcessor |
getValuesProcessor() |
ValueSet |
intersect(ValueSet other) |
boolean |
isAll() |
boolean |
isNone() |
boolean |
isSingleValue() |
static ValueSet |
none(Type type) |
static ValueSet |
of(Type type,
Object first,
Object... rest) |
static ValueSet |
ofRanges(Range first,
Range... rest) |
default boolean |
overlaps(ValueSet other) |
default ValueSet |
subtract(ValueSet other) |
String |
toString(SqlFunctionProperties properties) |
default ValueSet |
union(Collection<ValueSet> valueSets) |
ValueSet |
union(ValueSet other) |
static ValueSet copyOf(Type type, Collection<Object> values)
static ValueSet copyOfRanges(Type type, Collection<Range> ranges)
Type getType()
boolean isNone()
boolean isAll()
boolean isSingleValue()
Object getSingleValue()
boolean containsValue(Object value)
default DiscreteValues getDiscreteValues()
default Ranges getRanges()
ValuesProcessor getValuesProcessor()
default ValueSet union(Collection<ValueSet> valueSets)
ValueSet complement()
default boolean overlaps(ValueSet other)
default boolean contains(ValueSet other)
String toString(SqlFunctionProperties properties)
Copyright © 2012–2021. All rights reserved.