org.apache.accumulo.core.util
Class TextUtil
java.lang.Object
org.apache.accumulo.core.util.TextUtil
public final class TextUtil
- extends Object
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextUtil
public TextUtil()
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)
Copyright © 2013 Apache Accumulo Project. All Rights Reserved.