Package com.mapr.ycsb
Class App
- java.lang.Object
-
- org.apache.hadoop.conf.Configured
-
- com.mapr.ycsb.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
-
-
Constructor Summary
Constructors Constructor Description App()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected ConfiggetConfig()protected java.io.FilegetConfigFile()protected abstract org.slf4j.LoggergetLogger()java.lang.StringgetSessionName()intrun(java.lang.String[] args)protected abstract intrun0()protected voidusage()
-
-
-
Field Detail
-
config
protected Config config
-
-
Method Detail
-
run
public int run(java.lang.String[] args) throws java.lang.Exception- Specified by:
runin interfaceorg.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()
-
-