public class PartitionHolder<T> extends Object implements Iterable<io.druid.timeline.partition.PartitionChunk<T>>
Constructor and Description |
---|
PartitionHolder(List<io.druid.timeline.partition.PartitionChunk<T>> initialChunks) |
PartitionHolder(io.druid.timeline.partition.PartitionChunk<T> initialChunk) |
PartitionHolder(PartitionHolder partitionHolder) |
Modifier and Type | Method and Description |
---|---|
void |
add(io.druid.timeline.partition.PartitionChunk<T> chunk) |
boolean |
equals(Object o) |
io.druid.timeline.partition.PartitionChunk<T> |
getChunk(int partitionNum) |
int |
hashCode() |
boolean |
isComplete() |
boolean |
isEmpty() |
Iterator<io.druid.timeline.partition.PartitionChunk<T>> |
iterator() |
Iterable<T> |
payloads() |
io.druid.timeline.partition.PartitionChunk<T> |
remove(io.druid.timeline.partition.PartitionChunk<T> chunk) |
int |
size() |
String |
toString() |
public PartitionHolder(io.druid.timeline.partition.PartitionChunk<T> initialChunk)
public PartitionHolder(List<io.druid.timeline.partition.PartitionChunk<T>> initialChunks)
public PartitionHolder(PartitionHolder partitionHolder)
public void add(io.druid.timeline.partition.PartitionChunk<T> chunk)
public int size()
public io.druid.timeline.partition.PartitionChunk<T> remove(io.druid.timeline.partition.PartitionChunk<T> chunk)
public boolean isEmpty()
public boolean isComplete()
public io.druid.timeline.partition.PartitionChunk<T> getChunk(int partitionNum)
Copyright © 2011–2015. All rights reserved.