public final class TextUtil extends Object
Constructor and Description |
---|
TextUtil() |
Modifier and Type | Method and Description |
---|---|
static ByteBuffer |
getByteBuffer(org.apache.hadoop.io.Text text) |
static byte[] |
getBytes(org.apache.hadoop.io.Text text) |
static org.apache.hadoop.io.Text |
truncate(org.apache.hadoop.io.Text row) |
static org.apache.hadoop.io.Text |
truncate(org.apache.hadoop.io.Text text,
int maxLen) |
public static byte[] getBytes(org.apache.hadoop.io.Text text)
public static ByteBuffer getByteBuffer(org.apache.hadoop.io.Text text)
public static org.apache.hadoop.io.Text truncate(org.apache.hadoop.io.Text text, int maxLen)
public static org.apache.hadoop.io.Text truncate(org.apache.hadoop.io.Text row)
Copyright © 2015 Apache Accumulo Project. All rights reserved.