Class AppendCommand
- java.lang.Object
-
- org.nuxeo.lib.stream.tools.command.Command
-
- org.nuxeo.lib.stream.tools.command.AppendCommand
-
public class AppendCommand extends Command
Appends records from a dump file into an a Log partition.- Since:
- 10.2
-
-
Constructor Summary
Constructors Constructor Description AppendCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
append(LogManager manager, Name name, int partition, String codec, Path input)
String
name()
boolean
run(LogManager manager, org.apache.commons.cli.CommandLine cmd)
void
updateOptions(org.apache.commons.cli.Options options)
-
Methods inherited from class org.nuxeo.lib.stream.tools.command.Command
getRecordCodec, getRecordRenderer
-
-
-
-
Field Detail
-
NAME
protected static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
updateOptions
public void updateOptions(org.apache.commons.cli.Options options)
- Specified by:
updateOptions
in classCommand
-
run
public boolean run(LogManager manager, org.apache.commons.cli.CommandLine cmd)
-
append
protected void append(LogManager manager, Name name, int partition, String codec, Path input)
-
-