public class QueueEntry extends Object
| Constructor and Description |
|---|
QueueEntry(byte[] data) |
QueueEntry(Map<String,Integer> hashKeys,
byte[] data) |
QueueEntry(String hashKey,
int hashValue,
byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Integer> |
deserializeHashKeys(byte[] bytes) |
static Map<String,Integer> |
deserializeHashKeys(byte[] bytes,
int off,
int len) |
byte[] |
getData() |
Integer |
getHashKey(String key) |
Map<String,Integer> |
getHashKeys() |
static byte[] |
serializeHashKeys(Map<String,Integer> hashKeys) |
String |
toString() |
public QueueEntry(byte[] data)
public QueueEntry(String hashKey, int hashValue, byte[] data)
public byte[] getData()
public static byte[] serializeHashKeys(Map<String,Integer> hashKeys) throws IOException
IOExceptionpublic static Map<String,Integer> deserializeHashKeys(byte[] bytes) throws IOException
IOExceptionpublic static Map<String,Integer> deserializeHashKeys(byte[] bytes, int off, int len) throws IOException
IOExceptionCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.