Package org.apache.iotdb.db.tools.schema
Class SchemaFileSketchTool
- java.lang.Object
-
- org.apache.iotdb.db.tools.schema.SchemaFileSketchTool
-
public class SchemaFileSketchTool extends java.lang.Objectparse the SchemaFile to text
-
-
Constructor Summary
Constructors Constructor Description SchemaFileSketchTool()
-
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 voidsketchFile(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
-
sketchFile
public static void sketchFile(java.lang.String inputFile, java.lang.String outputFile) throws java.io.IOException, org.apache.iotdb.commons.exception.MetadataException- Throws:
java.io.IOExceptionorg.apache.iotdb.commons.exception.MetadataException
-
-