public abstract class Command extends Object
| Constructor and Description |
|---|
Command() |
| Modifier and Type | Method and Description |
|---|---|
protected Codec<Record> |
getRecordCodec(String codec) |
protected Renderer |
getRecordRenderer(String render,
String avroSchemaStorePath,
int dataSize) |
abstract String |
name() |
abstract boolean |
run(LogManager manager,
org.apache.commons.cli.CommandLine cmd) |
abstract void |
updateOptions(org.apache.commons.cli.Options options) |
public Command()
public abstract void updateOptions(org.apache.commons.cli.Options options)
public abstract boolean run(LogManager manager, org.apache.commons.cli.CommandLine cmd) throws InterruptedException
InterruptedExceptionprotected Renderer getRecordRenderer(String render, String avroSchemaStorePath, int dataSize)
protected Codec<Record> getRecordCodec(String codec)
Copyright © 2019 Nuxeo. All rights reserved.