Package org.apache.druid.query.filter
Class InDimFilter.ValuesSet
java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingCollection<E>
com.google.common.collect.ForwardingSet<E>
com.google.common.collect.ForwardingSortedSet<String>
org.apache.druid.query.filter.InDimFilter.ValuesSet
- Enclosing class:
- InDimFilter
public static class InDimFilter.ValuesSet
extends com.google.common.collect.ForwardingSortedSet<String>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends String> other) static InDimFilter.ValuesSetcopyOf(Collection<String> values) Creates a ValuesSet copying the provided collection.static InDimFilter.ValuesSetCreates a ValuesSet copying the provided iterator.static InDimFilter.ValuesSetcreate()Creates an empty ValuesSet.delegate()static InDimFilter.ValuesSetCreates a ValuesSet wrapping the provided single value.toUtf8()Methods inherited from class com.google.common.collect.ForwardingSortedSet
comparator, first, headSet, last, standardContains, standardRemove, standardSubSet, subSet, tailSetMethods inherited from class com.google.common.collect.ForwardingSet
equals, hashCode, standardEquals, standardHashCode, standardRemoveAllMethods inherited from class com.google.common.collect.ForwardingCollection
clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContainsAll, standardIsEmpty, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArrayMethods inherited from class com.google.common.collect.ForwardingObject
toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from interface java.util.SortedSet
spliterator
-
Constructor Details
-
ValuesSet
public ValuesSet()
-
-
Method Details
-
create
Creates an empty ValuesSet. -
of
Creates a ValuesSet wrapping the provided single value.- Throws:
IllegalStateException- if the provided collection cannot be wrapped since it has the wrong comparator
-
copyOf
Creates a ValuesSet copying the provided iterator. -
copyOf
Creates a ValuesSet copying the provided collection. -
toUtf8
-
add
-
addAll
-
delegate
- Specified by:
delegatein classcom.google.common.collect.ForwardingSortedSet<String>
-