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 String
NAME
protected static String
NUXEO_SCHEMA_STORE
-
Constructor Summary
Constructors Constructor Description CatCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
cat(LogManager manager, Name name, Name group, int limit, Renderer render, String codec)
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
-
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:
updateOptions
in classCommand
-
run
public boolean run(LogManager manager, org.apache.commons.cli.CommandLine cmd) throws InterruptedException
- Specified by:
run
in classCommand
- Throws:
InterruptedException
-
cat
protected void cat(LogManager manager, Name name, Name group, int limit, Renderer render, String codec) throws InterruptedException
- Throws:
InterruptedException
-
-