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