public class ScanCommand extends Shell.Command
Shell.Command.CompletionSet
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.cli.Option |
timestampOpt |
Constructor and Description |
---|
ScanCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
addScanIterators(Shell shellState,
Scanner scanner,
String tableName) |
String |
description() |
int |
execute(String fullCommand,
org.apache.commons.cli.CommandLine cl,
Shell shellState) |
protected void |
fetchColumns(org.apache.commons.cli.CommandLine cl,
ScannerBase scanner) |
protected Authorizations |
getAuths(org.apache.commons.cli.CommandLine cl,
Shell shellState) |
org.apache.commons.cli.Options |
getOptions() |
protected Range |
getRange(org.apache.commons.cli.CommandLine cl) |
int |
numArgs() |
protected void |
printBinaryRecords(org.apache.commons.cli.CommandLine cl,
Shell shellState,
Iterable<Map.Entry<Key,Value>> scanner) |
protected void |
printRecords(org.apache.commons.cli.CommandLine cl,
Shell shellState,
Iterable<Map.Entry<Key,Value>> scanner) |
protected void |
printRecords(org.apache.commons.cli.CommandLine cl,
Shell shellState,
Iterable<Map.Entry<Key,Value>> scanner,
Class<? extends Formatter> formatter) |
getName, getOptionsWithHelp, printHelp, printHelp, registerCompletion, registerCompletionForCommands, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral, usage
public int execute(String fullCommand, org.apache.commons.cli.CommandLine cl, Shell shellState) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, IOException, org.apache.commons.cli.ParseException
execute
in class Shell.Command
AccumuloException
AccumuloSecurityException
TableNotFoundException
IOException
org.apache.commons.cli.ParseException
protected void addScanIterators(Shell shellState, Scanner scanner, String tableName)
protected void printRecords(org.apache.commons.cli.CommandLine cl, Shell shellState, Iterable<Map.Entry<Key,Value>> scanner) throws IOException
IOException
protected void printRecords(org.apache.commons.cli.CommandLine cl, Shell shellState, Iterable<Map.Entry<Key,Value>> scanner, Class<? extends Formatter> formatter) throws IOException
IOException
protected void printBinaryRecords(org.apache.commons.cli.CommandLine cl, Shell shellState, Iterable<Map.Entry<Key,Value>> scanner) throws IOException
IOException
protected void fetchColumns(org.apache.commons.cli.CommandLine cl, ScannerBase scanner)
protected Range getRange(org.apache.commons.cli.CommandLine cl)
protected Authorizations getAuths(org.apache.commons.cli.CommandLine cl, Shell shellState) throws AccumuloSecurityException, AccumuloException
public String description()
description
in class Shell.Command
public org.apache.commons.cli.Options getOptions()
getOptions
in class Shell.Command
public int numArgs()
numArgs
in class Shell.Command
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.