Package org.apache.iotdb.db.tools.schema
Class MLogParser
- java.lang.Object
-
- org.apache.iotdb.db.tools.schema.MLogParser
-
public class MLogParser extends java.lang.Objectparse the binary mlog or snapshot to text
-
-
Constructor Summary
Constructors Constructor Description MLogParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringcheckRequiredArg(java.lang.String arg, java.lang.String name, org.apache.commons.cli.CommandLine commandLine)static org.apache.commons.cli.OptionscreateOptions()create the commandline options.static voidmain(java.lang.String[] args)static voidparseBasicParams(org.apache.commons.cli.CommandLine commandLine)static voidparseFromFile(java.lang.String inputFile, java.lang.String outputFile)
-
-
-
Method Detail
-
createOptions
public static org.apache.commons.cli.Options createOptions()
create the commandline options.- Returns:
- object Options
-
main
public static void main(java.lang.String[] args)
-
parseBasicParams
public static void parseBasicParams(org.apache.commons.cli.CommandLine commandLine) throws org.apache.commons.cli.ParseException- Throws:
org.apache.commons.cli.ParseException
-
checkRequiredArg
public static java.lang.String checkRequiredArg(java.lang.String arg, java.lang.String name, org.apache.commons.cli.CommandLine commandLine) throws org.apache.commons.cli.ParseException- Throws:
org.apache.commons.cli.ParseException
-
parseFromFile
public static void parseFromFile(java.lang.String inputFile, java.lang.String outputFile) throws java.io.IOException- Throws:
java.io.IOException
-
-