Class JsonToPinotSchema
- java.lang.Object
-
- org.apache.pinot.tools.AbstractBaseCommand
-
- org.apache.pinot.tools.admin.command.AbstractBaseAdminCommand
-
- org.apache.pinot.tools.admin.command.JsonToPinotSchema
-
public class JsonToPinotSchema extends AbstractBaseAdminCommand implements Command
Class for command to infer pinot schema from Json data. Given that it is not always possible to automatically do this, the intention is to get most of the work done by this class, and require any manual editing on top.
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.tools.AbstractBaseCommand
DEFAULT_CLUSTER_NAME, DEFAULT_ZK_ADDRESS
-
-
Constructor Summary
Constructors Constructor Description JsonToPinotSchema()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()booleanexecute()booleangetHelp()StringtoString()-
Methods inherited from class org.apache.pinot.tools.admin.command.AbstractBaseAdminCommand
getPID, savePID, sendDeleteRequest, sendPostRequest, sendRequest, sendRequest
-
Methods inherited from class org.apache.pinot.tools.AbstractBaseCommand
cleanup, getName, printExamples, printUsage
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.pinot.tools.Command
call, printUsage
-
-
-
-
Method Detail
-
execute
public boolean execute() throws Exception
-
description
public String description()
- Specified by:
descriptionin interfaceCommand
-
-