public class LocalToKafkaCommand extends ServiceEnabledCommand<Void>
ServiceEnabledCommand.HttpMethod
path
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, successStatusIs200
generateNewEncryptionToken, getGeoWaveConfigFile, getGeoWaveConfigFile, getGeoWaveConfigProperties, getGeoWaveConfigProperties, getGeoWaveConfigProperties, getGeoWaveDirectory, getSecurityTokenFile, setSecurityTokenFile, usage
public boolean prepare(OperationParams params)
Operation
prepare
in interface Operation
prepare
in class DefaultOperation
public void execute(OperationParams params) throws Exception
Exception
public boolean runAsync()
ServiceEnabledCommand
runAsync
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>
Exception
Copyright © 2013–2022. All rights reserved.