Class CatCommand
- java.lang.Object
-
- org.nuxeo.lib.stream.tools.command.Command
-
- org.nuxeo.lib.stream.tools.command.CatCommand
-
public class CatCommand extends Command
Output records to stdout.- Since:
- 9.3
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringNAMEprotected static StringNUXEO_SCHEMA_STORE
-
Constructor Summary
Constructors Constructor Description CatCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcat(LogManager manager, Name name, Name group, int limit, Renderer render, String codec)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
-
NUXEO_SCHEMA_STORE
protected static final String NUXEO_SCHEMA_STORE
- See Also:
- Constant Field Values
-
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) throws InterruptedException
- Specified by:
runin classCommand- Throws:
InterruptedException
-
cat
protected void cat(LogManager manager, Name name, Name group, int limit, Renderer render, String codec) throws InterruptedException
- Throws:
InterruptedException
-
-