| Package | Description |
|---|---|
| com.facebook.presto.common.predicate |
| Modifier and Type | Class and Description |
|---|---|
class |
AllOrNoneValueSet
Set that either includes all values, or excludes all values.
|
class |
EquatableValueSet
A set containing values that are uniquely identifiable.
|
class |
SortedRangeSet
A set containing zero or more Ranges of the same type over a continuous space of possible values.
|
| Modifier and Type | Method and Description |
|---|---|
static ValueSet |
ValueSet.all(Type type) |
ValueSet |
ValueSet.canonicalize(boolean removeSafeConstants) |
ValueSet |
SortedRangeSet.canonicalize(boolean removeSafeConstants) |
ValueSet |
EquatableValueSet.canonicalize(boolean removeSafeConstants) |
ValueSet |
AllOrNoneValueSet.canonicalize(boolean removeSafeConstants) |
ValueSet |
ValueSet.complement() |
ValueSet |
AllOrNoneValueSet.complement() |
static ValueSet |
ValueSet.copyOf(Type type,
Collection<?> values) |
static ValueSet |
ValueSet.copyOfRanges(Type type,
Collection<Range> ranges) |
ValueSet |
Domain.getValues() |
ValueSet |
ValueSet.intersect(ValueSet other) |
ValueSet |
AllOrNoneValueSet.intersect(ValueSet other) |
static ValueSet |
ValueSet.none(Type type) |
static ValueSet |
ValueSet.of(Type type,
Object first,
Object... rest) |
static ValueSet |
ValueSet.ofRanges(List<Range> ranges) |
static ValueSet |
ValueSet.ofRanges(Range first,
Range... rest) |
default ValueSet |
ValueSet.subtract(ValueSet other) |
default ValueSet |
ValueSet.union(Collection<ValueSet> valueSets) |
ValueSet |
ValueSet.union(ValueSet other) |
ValueSet |
AllOrNoneValueSet.union(ValueSet other) |
| Modifier and Type | Method and Description |
|---|---|
default boolean |
ValueSet.contains(ValueSet other) |
static Domain |
Domain.create(ValueSet values,
boolean nullAllowed) |
ValueSet |
ValueSet.intersect(ValueSet other) |
SortedRangeSet |
SortedRangeSet.intersect(ValueSet other) |
EquatableValueSet |
EquatableValueSet.intersect(ValueSet other) |
ValueSet |
AllOrNoneValueSet.intersect(ValueSet other) |
default boolean |
ValueSet.overlaps(ValueSet other) |
default ValueSet |
ValueSet.subtract(ValueSet other) |
ValueSet |
ValueSet.union(ValueSet other) |
SortedRangeSet |
SortedRangeSet.union(ValueSet other) |
EquatableValueSet |
EquatableValueSet.union(ValueSet other) |
ValueSet |
AllOrNoneValueSet.union(ValueSet other) |
| Modifier and Type | Method and Description |
|---|---|
default ValueSet |
ValueSet.union(Collection<ValueSet> valueSets) |
SortedRangeSet |
SortedRangeSet.union(Collection<ValueSet> valueSets) |
Copyright © 2012–2022. All rights reserved.