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 voidappend(LogManager manager, Name name, int partition, String codec, Path input)Stringname()booleanrun(LogManager manager, org.apache.commons.cli.CommandLine cmd)voidupdateOptions(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:
updateOptionsin 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)
-
-