public class IntegerPartitionChunk<T> extends Object implements io.druid.timeline.partition.PartitionChunk<T>
Constructor and Description |
---|
IntegerPartitionChunk(Integer start,
Integer end,
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> IntegerPartitionChunk<T> |
make(Integer start,
Integer end,
int chunkNumber,
T obj) |
String |
toString() |
public static <T> IntegerPartitionChunk<T> make(Integer start, Integer end, 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.