org.apache.accumulo.core.util.shell
Class Shell.ScanCommand
java.lang.Object
org.apache.accumulo.core.util.shell.Shell.Command
org.apache.accumulo.core.util.shell.Shell.ScanCommand
- Direct Known Subclasses:
- Shell.DeleteManyCommand, Shell.GrepCommand
- Enclosing class:
- Shell
public static class Shell.ScanCommand
- extends Shell.Command
Field Summary |
protected org.apache.commons.cli.Option |
timestampOpt
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
timestampOpt
protected org.apache.commons.cli.Option timestampOpt
Shell.ScanCommand
public Shell.ScanCommand()
execute
public int execute(java.lang.String fullCommand,
org.apache.commons.cli.CommandLine cl,
Shell shellState)
throws AccumuloException,
AccumuloSecurityException,
TableNotFoundException,
java.io.IOException,
org.apache.commons.cli.ParseException
- Specified by:
execute
in class Shell.Command
- Throws:
AccumuloException
AccumuloSecurityException
TableNotFoundException
java.io.IOException
org.apache.commons.cli.ParseException
setScanIterators
protected void setScanIterators(Shell shellState,
Scanner scanner)
throws java.io.IOException
- Throws:
java.io.IOException
printRecords
protected void printRecords(org.apache.commons.cli.CommandLine cl,
Shell shellState,
java.lang.Iterable<java.util.Map.Entry<Key,Value>> scanner)
throws java.io.IOException
- Throws:
java.io.IOException
fetchColumns
protected void fetchColumns(org.apache.commons.cli.CommandLine cl,
ScannerBase scanner)
getRange
protected Range getRange(org.apache.commons.cli.CommandLine cl)
getAuths
protected Authorizations getAuths(org.apache.commons.cli.CommandLine cl,
Shell shellState)
throws AccumuloSecurityException,
AccumuloException
- Throws:
AccumuloSecurityException
AccumuloException
description
public java.lang.String description()
- Specified by:
description
in class Shell.Command
getOptions
public org.apache.commons.cli.Options getOptions()
- Overrides:
getOptions
in class Shell.Command
numArgs
public int numArgs()
- Specified by:
numArgs
in class Shell.Command
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.