Class AddSchemaCommand
- java.lang.Object
-
- org.apache.pinot.tools.AbstractBaseCommand
-
- org.apache.pinot.tools.admin.command.AbstractBaseAdminCommand
-
- org.apache.pinot.tools.admin.command.AddSchemaCommand
-
public class AddSchemaCommand extends AbstractBaseAdminCommand implements Command
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.tools.AbstractBaseCommand
DEFAULT_CLUSTER_NAME, DEFAULT_ZK_ADDRESS
-
-
Constructor Summary
Constructors Constructor Description AddSchemaCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()Stringdescription()booleanexecute()booleangetHelp()StringgetName()voidsetAuthToken(String authToken)AddSchemaCommandsetControllerHost(String controllerHost)AddSchemaCommandsetControllerPort(String controllerPort)AddSchemaCommandsetControllerProtocol(String controllerProtocol)AddSchemaCommandsetExecute(boolean exec)voidsetPassword(String password)AddSchemaCommandsetSchemaFilePath(String schemaFilePath)voidsetUser(String user)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
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
-
description
public String description()
- Specified by:
descriptionin interfaceCommand
-
getName
public String getName()
- Overrides:
getNamein classAbstractBaseCommand
-
cleanup
public void cleanup()
- Overrides:
cleanupin classAbstractBaseCommand
-
setControllerHost
public AddSchemaCommand setControllerHost(String controllerHost)
-
setControllerPort
public AddSchemaCommand setControllerPort(String controllerPort)
-
setControllerProtocol
public AddSchemaCommand setControllerProtocol(String controllerProtocol)
-
setSchemaFilePath
public AddSchemaCommand setSchemaFilePath(String schemaFilePath)
-
setUser
public void setUser(String user)
-
setPassword
public void setPassword(String password)
-
setAuthToken
public void setAuthToken(String authToken)
-
setExecute
public AddSchemaCommand setExecute(boolean exec)
-
-