Package org.apache.solr.cli
Class PostLogsTool
- java.lang.Object
-
- org.apache.solr.cli.ToolBase
-
- org.apache.solr.cli.PostLogsTool
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPostLogsTool.LogRecordReader
-
Field Summary
Fields Modifier and Type Field Description protected static StringUNKNOWN_VALUE
-
Constructor Summary
Constructors Constructor Description PostLogsTool(ToolRuntime runtime)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Defines the interface to a Solr tool that can be run from this command-line app.List<org.apache.commons.cli.Option>getOptions()static String[]getRequestPurposeNames(Integer reqPurpose)voidrunCommand(String baseUrl, String root)voidrunImpl(org.apache.commons.cli.CommandLine cli)-
Methods inherited from class org.apache.solr.cli.ToolBase
echo, echoIfVerbose, getRuntime, isVerbose, runTool
-
-
-
-
Field Detail
-
UNKNOWN_VALUE
protected static final String UNKNOWN_VALUE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PostLogsTool
public PostLogsTool(ToolRuntime runtime)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ToolDefines the interface to a Solr tool that can be run from this command-line app.
-
getOptions
public List<org.apache.commons.cli.Option> getOptions()
-
runImpl
public void runImpl(org.apache.commons.cli.CommandLine cli) throws Exception
-
runCommand
public void runCommand(String baseUrl, String root) throws IOException
- Throws:
IOException
-
-