Class SegKeyRangeUtil

  • All Implemented Interfaces:
    org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

    public class SegKeyRangeUtil
    extends org.apache.hadoop.conf.Configured
    implements org.apache.hadoop.util.Tool
    • Constructor Summary

      Constructors 
      Constructor Description
      SegKeyRangeUtil()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.hadoop.hbase.client.Scan buildScan​(java.lang.String jobname, org.apache.hadoop.conf.Configuration conf)  
      static boolean copyFileWithPrefix​(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path srcDir, org.apache.hadoop.fs.Path dstDir, org.apache.hadoop.conf.Configuration conf, java.lang.String prefix)  
      static void main​(java.lang.String[] args)  
      static java.lang.String resultToString​(org.apache.hadoop.hbase.client.Result res)  
      int run​(java.lang.String[] args)  
      • Methods inherited from class org.apache.hadoop.conf.Configured

        getConf, setConf
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.hadoop.conf.Configurable

        getConf, setConf
    • Constructor Detail

      • SegKeyRangeUtil

        public SegKeyRangeUtil()
    • Method Detail

      • buildScan

        public static org.apache.hadoop.hbase.client.Scan buildScan​(java.lang.String jobname,
                                                                    org.apache.hadoop.conf.Configuration conf)
      • copyFileWithPrefix

        public static boolean copyFileWithPrefix​(org.apache.hadoop.fs.FileSystem fs,
                                                 org.apache.hadoop.fs.Path srcDir,
                                                 org.apache.hadoop.fs.Path dstDir,
                                                 org.apache.hadoop.conf.Configuration conf,
                                                 java.lang.String prefix)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • resultToString

        public static java.lang.String resultToString​(org.apache.hadoop.hbase.client.Result res)
      • run

        public int run​(java.lang.String[] args)
                throws java.lang.Exception
        Specified by:
        run in interface org.apache.hadoop.util.Tool
        Throws:
        java.lang.Exception
      • main

        public static void main​(java.lang.String[] args)