org.apache.hadoop.hbase.hbql.client
Class Util

java.lang.Object
  extended by org.apache.hadoop.hbase.hbql.client.Util

public class Util
extends Object


Constructor Summary
Util()
           
 
Method Summary
static byte[] getFixedWidthString(char c, int len)
           
static byte[][] getStringsAsBytes(Collection<String> vals)
           
static String getZeroPaddedNonNegativeNumber(long val, int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

getZeroPaddedNonNegativeNumber

public static String getZeroPaddedNonNegativeNumber(long val,
                                                    int width)
                                             throws HBqlException
Throws:
HBqlException

getStringsAsBytes

public static byte[][] getStringsAsBytes(Collection<String> vals)

getFixedWidthString

public static byte[] getFixedWidthString(char c,
                                         int len)


Copyright © 2011. All Rights Reserved.