Class BootstrapTableCommand
- java.lang.Object
-
- org.apache.pinot.tools.AbstractBaseCommand
-
- org.apache.pinot.tools.admin.command.AbstractBaseAdminCommand
-
- org.apache.pinot.tools.admin.command.BootstrapTableCommand
-
public class BootstrapTableCommand extends AbstractBaseAdminCommand implements Command
The command to bootstrap a Pinot table from a directory with table schema/config/ingestionJobSpec/raw data files. Sample usage:pinot-admin.sh BootstrapTable -dir <path-to-table-configs-directory>The directory structure is based on current example conventions: For offline table: ```/ / _schema.json / _offline_table_config.json /ingestionJobSpec.yaml /rawdata/... ``` For realtime table: ``` / / _schema.json / _realtime_table_config.json ``` For hybrid table: ``` / / _schema.json / _offline_table_config.json / _realtime_table_config.json /ingestionJobSpec.yaml /rawdata/... ```
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.tools.AbstractBaseCommand
DEFAULT_CLUSTER_NAME, DEFAULT_ZK_ADDRESS
-
-
Constructor Summary
Constructors Constructor Description BootstrapTableCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()Stringdescription()booleanexecute()booleangetHelp()StringgetName()BootstrapTableCommandsetDir(String dir)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
-
getName
public String getName()
- Overrides:
getNamein classAbstractBaseCommand
-
setDir
public BootstrapTableCommand setDir(String dir)
-
cleanup
public void cleanup()
- Overrides:
cleanupin classAbstractBaseCommand
-
description
public String description()
- Specified by:
descriptionin interfaceCommand
-
-