public class LocalToKafkaCommand extends ServiceEnabledCommand<Void>
ServiceEnabledCommand.HttpMethodpath| Constructor and Description |
|---|
LocalToKafkaCommand() |
| Modifier and Type | Method and Description |
|---|---|
Void |
computeResults(OperationParams params) |
void |
execute(OperationParams params)
Prep the driver & run the operation.
|
KafkaProducerCommandLineOptions |
getKafkaOptions() |
LocalInputCommandLineOptions |
getLocalInputOptions() |
List<String> |
getParameters() |
IngestFormatPluginOptions |
getPluginFormats() |
boolean |
prepare(OperationParams params)
NOTE: ONLY USE THIS METHOD TO SET @PARAMETERSDELEGATE options.
|
boolean |
runAsync()
this method provides a hint to the service running the command whether it should be run
asynchronously or not
|
void |
setKafkaOptions(KafkaProducerCommandLineOptions kafkaOptions) |
void |
setLocalInputOptions(LocalInputCommandLineOptions localInputOptions) |
void |
setParameters(String fileOrDirectory) |
void |
setPluginFormats(IngestFormatPluginOptions pluginFormats) |
getId, getMethod, getName, getPath, successStatusIs200generateNewEncryptionToken, getGeoWaveConfigFile, getGeoWaveConfigFile, getGeoWaveConfigProperties, getGeoWaveConfigProperties, getGeoWaveConfigProperties, getGeoWaveDirectory, getSecurityTokenFile, setSecurityTokenFile, usagepublic boolean prepare(OperationParams params)
Operationprepare in interface Operationprepare in class DefaultOperationpublic void execute(OperationParams params) throws Exception
Exceptionpublic boolean runAsync()
ServiceEnabledCommandrunAsync in class ServiceEnabledCommand<Void>public void setParameters(String fileOrDirectory)
public KafkaProducerCommandLineOptions getKafkaOptions()
public void setKafkaOptions(KafkaProducerCommandLineOptions kafkaOptions)
public LocalInputCommandLineOptions getLocalInputOptions()
public void setLocalInputOptions(LocalInputCommandLineOptions localInputOptions)
public IngestFormatPluginOptions getPluginFormats()
public void setPluginFormats(IngestFormatPluginOptions pluginFormats)
public Void computeResults(OperationParams params) throws Exception
computeResults in class ServiceEnabledCommand<Void>ExceptionCopyright © 2013–2022. All rights reserved.