public class LinearPartitionChunk<T> extends Object implements io.druid.timeline.partition.PartitionChunk<T>
Constructor and Description |
---|
LinearPartitionChunk(int chunkNumber,
T object) |
Modifier and Type | Method and Description |
---|---|
boolean |
abuts(io.druid.timeline.partition.PartitionChunk<T> chunk) |
int |
compareTo(io.druid.timeline.partition.PartitionChunk<T> chunk) |
boolean |
equals(Object o) |
int |
getChunkNumber() |
T |
getObject() |
int |
hashCode() |
boolean |
isEnd() |
boolean |
isStart() |
static <T> LinearPartitionChunk<T> |
make(int chunkNumber,
T obj) |
public LinearPartitionChunk(int chunkNumber, T object)
public static <T> LinearPartitionChunk<T> make(int chunkNumber, T obj)
public T getObject()
getObject
in interface io.druid.timeline.partition.PartitionChunk<T>
public boolean abuts(io.druid.timeline.partition.PartitionChunk<T> chunk)
abuts
in interface io.druid.timeline.partition.PartitionChunk<T>
public boolean isStart()
isStart
in interface io.druid.timeline.partition.PartitionChunk<T>
public boolean isEnd()
isEnd
in interface io.druid.timeline.partition.PartitionChunk<T>
public int getChunkNumber()
getChunkNumber
in interface io.druid.timeline.partition.PartitionChunk<T>
public int compareTo(io.druid.timeline.partition.PartitionChunk<T> chunk)
compareTo
in interface Comparable<io.druid.timeline.partition.PartitionChunk<T>>
Copyright © 2011–2015. All rights reserved.