org.apache.hadoop.hbase.hbql.impl
Class Utils
java.lang.Object
org.apache.hadoop.hbase.hbql.impl.Utils
public class Utils
- extends Object
Constructor Summary |
Utils()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
parseHBqlStatement
public static HBqlStatement parseHBqlStatement(String sql)
throws HBqlException
- Throws:
HBqlException
isSelectStatement
public static boolean isSelectStatement(HBqlStatement stmt)
isDMLStatement
public static boolean isDMLStatement(HBqlStatement stmt)
isConnectionStatemet
public static boolean isConnectionStatemet(HBqlStatement stmt)
isNonConectionStatemet
public static boolean isNonConectionStatemet(HBqlStatement stmt)
checkForDefaultConstructors
public static void checkForDefaultConstructors(Class clazz)
hasDefaultConstructor
public static boolean hasDefaultConstructor(Class clazz)
isValidString
public static boolean isValidString(String val)
getRandomBoolean
public static boolean getRandomBoolean()
getRandomPositiveInt
public static int getRandomPositiveInt(int upper)
logException
public static void logException(org.apache.commons.logging.Log log,
Exception e)
Copyright © 2011. All Rights Reserved.