Package org.apache.parquet.cli
Class Help
- java.lang.Object
-
- org.apache.parquet.cli.Help
-
-
Constructor Summary
Constructors Constructor Description Help(com.beust.jcommander.JCommander jc, org.slf4j.Logger console)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getExamples()Returns a list of example uses.voidprintGenericHelp()intrun()Runs thisCommand.voidsetProgramName(String programName)
-
-
-
Method Detail
-
setProgramName
public void setProgramName(String programName)
-
run
public int run()
Description copied from interface:CommandRuns thisCommand.
-
printGenericHelp
public void printGenericHelp()
-
getExamples
public List<String> getExamples()
Description copied from interface:CommandReturns a list of example uses. Lines starting with '#' will not have the executable name added when formatting.- Specified by:
getExamplesin interfaceCommand- Returns:
- a list of String examples
-
-