|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cloudera.sqoop.tool.SqoopTool
com.cloudera.sqoop.tool.BaseSqoopTool
com.cloudera.sqoop.tool.VersionTool
public class VersionTool
Tool that prints Sqoop's version.
Field Summary |
---|
Fields inherited from class com.cloudera.sqoop.tool.SqoopTool |
---|
extraArguments |
Constructor Summary | |
---|---|
VersionTool()
|
Method Summary | |
---|---|
void |
printHelp(ToolOptions opts)
Print the help message for this tool. |
int |
run(SqoopOptions options)
Main body of code to run the tool. |
Methods inherited from class com.cloudera.sqoop.tool.BaseSqoopTool |
---|
applyCodeGenOptions, applyCommonOptions, applyHiveOptions, applyInputFormatOptions, applyOutputFormatOptions, destroy, getCodeGenOpts, getCommonOptions, getHiveOptions, getInputFormatOptions, getManager, getOutputFormatOptions, getSubcommandArgs, hasUnrecognizedArgs, hasUnrecognizedArgs, init, setManager, validateCodeGenOptions, validateCommonOptions, validateHiveOptions, validateOutputFormatOptions |
Methods inherited from class com.cloudera.sqoop.tool.SqoopTool |
---|
appendArgs, applyOptions, configureOptions, getTool, getToolDescription, getToolName, getToolNames, parseArguments, setToolName, toString, validateOptions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VersionTool()
Method Detail |
---|
public int run(SqoopOptions options)
SqoopTool
run
in class SqoopTool
options
- the SqoopOptions configured via
configureOptions()/applyOptions().
public void printHelp(ToolOptions opts)
SqoopTool
printHelp
in class SqoopTool
opts
- the configured tool options
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |