Class TextUtil


  • public final class TextUtil
    extends Object
    • Constructor Detail

      • TextUtil

        public TextUtil()
    • 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)