public class ByteArrayShufflePosition extends Object implements Comparable<ByteArrayShufflePosition>, ShufflePosition
GroupingShuffleReader as an opaque array of bytes,
encoded in a way such that lexicographic ordering of the bytes is consistent with the inherent
ordering of GroupingShuffleReader positions.| Constructor and Description |
|---|
ByteArrayShufflePosition(byte[] position) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ByteArrayShufflePosition o) |
String |
encodeBase64() |
boolean |
equals(Object o) |
static ByteArrayShufflePosition |
fromBase64(String position) |
byte[] |
getPosition() |
static byte[] |
getPosition(ShufflePosition shufflePosition) |
int |
hashCode() |
static ByteArrayShufflePosition |
of(byte[] position) |
String |
toString() |
public static ByteArrayShufflePosition fromBase64(@Nullable String position)
public static ByteArrayShufflePosition of(@Nullable byte[] position)
public static byte[] getPosition(@Nullable ShufflePosition shufflePosition)
public byte[] getPosition()
public String encodeBase64()
public int compareTo(ByteArrayShufflePosition o)
compareTo in interface Comparable<ByteArrayShufflePosition>