org.apache.accumulo.core.util.shell.commands
Class GrepCommand
java.lang.Object
org.apache.accumulo.core.util.shell.Shell.Command
org.apache.accumulo.core.util.shell.commands.ScanCommand
org.apache.accumulo.core.util.shell.commands.GrepCommand
- Direct Known Subclasses:
- EGrepCommand
public class GrepCommand
- extends ScanCommand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrepCommand
public GrepCommand()
execute
public int execute(String fullCommand,
org.apache.commons.cli.CommandLine cl,
Shell shellState)
throws AccumuloException,
AccumuloSecurityException,
TableNotFoundException,
IOException,
org.apache.commons.cli.MissingArgumentException
- Overrides:
execute
in class ScanCommand
- Throws:
AccumuloException
AccumuloSecurityException
TableNotFoundException
IOException
org.apache.commons.cli.MissingArgumentException
setUpIterator
protected void setUpIterator(int prio,
String name,
String term,
BatchScanner scanner)
throws IOException
- Throws:
IOException
description
public String description()
- Overrides:
description
in class ScanCommand
getOptions
public org.apache.commons.cli.Options getOptions()
- Overrides:
getOptions
in class ScanCommand
usage
public String usage()
- Overrides:
usage
in class Shell.Command
numArgs
public int numArgs()
- Overrides:
numArgs
in class ScanCommand
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.