Class PartitionBoundaries
- java.lang.Object
-
- com.google.common.collect.ForwardingObject
-
- com.google.common.collect.ForwardingCollection<E>
-
- com.google.common.collect.ForwardingList<StringTuple>
-
- org.apache.druid.timeline.partition.PartitionBoundaries
-
- All Implemented Interfaces:
Iterable<StringTuple>,Collection<StringTuple>,List<StringTuple>
public class PartitionBoundaries extends com.google.common.collect.ForwardingList<StringTuple> implements List<StringTuple>
List of range partition boundaries.
-
-
Constructor Summary
Constructors Constructor Description PartitionBoundaries(StringTuple... partitions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<StringTuple>delegate()booleanequals(Object o)intgetNumBuckets()ObjectgetSerializableObject()inthashCode()-
Methods inherited from class com.google.common.collect.ForwardingList
add, addAll, get, indexOf, lastIndexOf, listIterator, listIterator, remove, set, standardAdd, standardAddAll, standardEquals, standardHashCode, standardIndexOf, standardIterator, standardLastIndexOf, standardListIterator, standardListIterator, standardSubList, subList
-
Methods inherited from class com.google.common.collect.ForwardingCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRemoveAll, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
-
-
-
Constructor Detail
-
PartitionBoundaries
public PartitionBoundaries(StringTuple... partitions)
- Parameters:
partitions- Elements corresponding to evenly-spaced fractional ranks of the distribution
-
-
Method Detail
-
getSerializableObject
public Object getSerializableObject()
-
delegate
protected List<StringTuple> delegate()
- Specified by:
delegatein classcom.google.common.collect.ForwardingList<StringTuple>
-
getNumBuckets
public int getNumBuckets()
-
equals
public boolean equals(Object o)
- Specified by:
equalsin interfaceCollection<StringTuple>- Specified by:
equalsin interfaceList<StringTuple>- Overrides:
equalsin classcom.google.common.collect.ForwardingList<StringTuple>
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceCollection<StringTuple>- Specified by:
hashCodein interfaceList<StringTuple>- Overrides:
hashCodein classcom.google.common.collect.ForwardingList<StringTuple>
-
-