Class DocumentSizeCalculator

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

    public class DocumentSizeCalculator
    extends App
    • Field Summary

      • Fields inherited from class com.mapr.ycsb.App

        config
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static long calculate​(Config config)  
      protected org.slf4j.Logger getLogger()  
      static void main​(java.lang.String[] args)  
      protected int run0()  
      • 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

      • DocumentSizeCalculator

        public DocumentSizeCalculator()
    • Method Detail

      • run0

        protected int run0()
                    throws java.lang.Exception
        Specified by:
        run0 in class App
        Throws:
        java.lang.Exception
      • getLogger

        protected org.slf4j.Logger getLogger()
        Specified by:
        getLogger in class App
      • calculate

        public static long calculate​(Config config)
      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.InterruptedException,
                                java.util.concurrent.ExecutionException,
                                java.lang.Exception
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
        java.lang.Exception