public class CreateSegmentCommand extends AbstractBaseAdminCommand implements Command
DEFAULT_CLUSTER_NAME, DEFAULT_ZK_ADDRESS| Constructor and Description |
|---|
CreateSegmentCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
boolean |
execute() |
boolean |
getHelp() |
String |
getName() |
CreateSegmentCommand |
setDataDir(String dataDir) |
CreateSegmentCommand |
setFormat(org.apache.pinot.spi.data.readers.FileFormat format) |
CreateSegmentCommand |
setNumThreads(int numThreads) |
CreateSegmentCommand |
setOutDir(String outDir) |
CreateSegmentCommand |
setOverwrite(boolean overwrite) |
CreateSegmentCommand |
setPostCreationVerification(boolean postCreationVerification) |
CreateSegmentCommand |
setReaderConfigFile(String readerConfigFile) |
CreateSegmentCommand |
setRetry(int retry) |
CreateSegmentCommand |
setSchemaFile(String schemaFile) |
CreateSegmentCommand |
setTableConfigFile(String tableConfigFile) |
String |
toString() |
getPID, savePID, sendDeleteRequest, sendPostRequest, sendRequestcleanup, printExamples, printUsageclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprintUsagepublic CreateSegmentCommand setDataDir(String dataDir)
public CreateSegmentCommand setFormat(org.apache.pinot.spi.data.readers.FileFormat format)
public CreateSegmentCommand setOutDir(String outDir)
public CreateSegmentCommand setOverwrite(boolean overwrite)
public CreateSegmentCommand setTableConfigFile(String tableConfigFile)
public CreateSegmentCommand setSchemaFile(String schemaFile)
public CreateSegmentCommand setReaderConfigFile(String readerConfigFile)
public CreateSegmentCommand setRetry(int retry)
public CreateSegmentCommand setPostCreationVerification(boolean postCreationVerification)
public CreateSegmentCommand setNumThreads(int numThreads)
public final String getName()
getName in class AbstractBaseCommandpublic String description()
description in interface CommandCopyright © 2018–2020 Apache Software Foundation. All rights reserved.