public class KeyUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
nullbyte |
| Constructor and Description |
|---|
KeyUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.io.Text |
buildNullSepText(String... s)
Join some number of strings using a null byte separator into a text object.
|
static String[] |
splitNullSepText(org.apache.hadoop.io.Text t)
Split a text object using a null byte separator into an array of strings.
|
public static org.apache.hadoop.io.Text buildNullSepText(String... s)
s - stringspublic static String[] splitNullSepText(org.apache.hadoop.io.Text t)
t - null-byte separated text objectCopyright © 2015 Apache Accumulo Project. All rights reserved.