Package org.apache.accumulo.core.util
Class TextUtil
- java.lang.Object
-
- org.apache.accumulo.core.util.TextUtil
-
public final class TextUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description TextUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
getBytes
public static byte[] getBytes(org.apache.hadoop.io.Text text)
-
getByteBuffer
public static ByteBuffer getByteBuffer(org.apache.hadoop.io.Text text)
-
truncate
public static org.apache.hadoop.io.Text truncate(org.apache.hadoop.io.Text text, int maxLen)
-
truncate
public static org.apache.hadoop.io.Text truncate(org.apache.hadoop.io.Text row)
-
-