Class TableUtil


  • public class TableUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TableUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void clearBulkLoad​(org.apache.hadoop.conf.Configuration conf, java.lang.String tableName)  
      static void createTableForCopy​(org.apache.hadoop.conf.Configuration conf, java.lang.String src, java.lang.String dst, java.util.List<java.lang.String> cfList, boolean useBulkLoad)  
      static java.util.List<java.lang.String> getColumnFamiliesList​(java.lang.String columnSpec)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TableUtil

        public TableUtil()
    • Method Detail

      • createTableForCopy

        public static void createTableForCopy​(org.apache.hadoop.conf.Configuration conf,
                                              java.lang.String src,
                                              java.lang.String dst,
                                              java.util.List<java.lang.String> cfList,
                                              boolean useBulkLoad)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • clearBulkLoad

        public static void clearBulkLoad​(org.apache.hadoop.conf.Configuration conf,
                                         java.lang.String tableName)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • getColumnFamiliesList

        public static java.util.List<java.lang.String> getColumnFamiliesList​(java.lang.String columnSpec)