public interface PartitionChunk<T> extends Comparable<PartitionChunk<T>>
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
abuts(PartitionChunk<T> chunk)
Determines if this PartitionChunk abuts another PartitionChunk. 
 | 
int | 
getChunkNumber()
Returns the partition chunk number of this PartitionChunk. 
 | 
T | 
getObject()
Returns the payload, generally an object that can be used to perform some action against the shard. 
 | 
boolean | 
isEnd()
Returns true if this chunk is the end of the partition. 
 | 
boolean | 
isStart()
Returns true if this chunk is the beginning of the partition. 
 | 
compareToT getObject()
boolean abuts(PartitionChunk<T> chunk)
chunk - input chunkboolean isStart()
boolean isEnd()
int getChunkNumber()
Copyright © 2011–2018. All rights reserved.