Package com.mapr.ycsb

Class App

  • All Implemented Interfaces:
    org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool
    Direct Known Subclasses:
    DBSummary, DocumentSizeCalculator, Driver, Launcher

    public abstract class App
    extends org.apache.hadoop.conf.Configured
    implements org.apache.hadoop.util.Tool
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Config config  
    • Constructor Summary

      Constructors 
      Constructor Description
      App()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected Config getConfig()  
      protected java.io.File getConfigFile()  
      protected abstract org.slf4j.Logger getLogger()  
      java.lang.String getSessionName()  
      int run​(java.lang.String[] args)  
      protected abstract int run0()  
      protected void usage()  
      • 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
    • Field Detail

      • config

        protected Config config
    • Constructor Detail

      • App

        public App()
    • Method Detail

      • 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
      • getConfigFile

        protected java.io.File getConfigFile()
      • getConfig

        protected Config getConfig()
      • run0

        protected abstract int run0()
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getLogger

        protected abstract org.slf4j.Logger getLogger()
      • usage

        protected void usage()
      • getSessionName

        public java.lang.String getSessionName()