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 class
PostLogsTool.LogRecordReader
-
Field Summary
Fields Modifier and Type Field Description protected static String
UNKNOWN_VALUE
-
Constructor Summary
Constructors Constructor Description PostLogsTool()
PostLogsTool(PrintStream stdout)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
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)
void
runCommand(String baseUrl, String root)
void
runImpl(org.apache.commons.cli.CommandLine cli)
-
Methods inherited from class org.apache.solr.cli.ToolBase
echo, echoIfVerbose, runTool
-
-
-
-
Field Detail
-
UNKNOWN_VALUE
protected static final String UNKNOWN_VALUE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PostLogsTool
public PostLogsTool()
-
PostLogsTool
public PostLogsTool(PrintStream stdout)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:Tool
Defines 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
-
-