org.apache.blur.shell
Class Command

java.lang.Object
  extended by org.apache.blur.shell.Command
Direct Known Subclasses:
AddColumnDefinitionCommand, ControllersEchoCommand, CreateSnapshotCommand, CreateTableCommand, DeleteRowCommand, DescribeTableCommand, DisableTableCommand, DiscoverFileBufferSizeUtil, EnableTableCommand, GetRowCommand, IndexAccessLogCommand, ListSnapshotsCommand, ListTablesCommand, LoadTestDataCommand, LogCommand, LogResetCommand, Main.QuitCommand, MutateRowCommand, OptimizeTableCommand, ParseCommand, QueryCommand, QueryCommandOld, RemoveShardServerCommand, RemoveSnapshotCommand, RemoveTableCommand, SchemaTableCommand, SelectorCommand, ShardClusterListCommand, ShardsEchoCommand, ShardServerLayoutCommand, TableStatsCommand, TermsDataCommand, TopCommand, TraceList, TraceRemove, TruncateTableCommand, WaitInSafemodeCommand

public abstract class Command
extends Object


Nested Class Summary
static class Command.CommandException
           
 
Constructor Summary
Command()
           
 
Method Summary
abstract  String description()
           
abstract  void doit(PrintWriter out, Blur.Iface client, String[] args)
           
 jline.console.ConsoleReader getConsoleReader()
           
 String help()
           
 String helpWithDescription()
           
abstract  String name()
           
 void setConsoleReader(jline.console.ConsoleReader consoleReader)
           
abstract  String usage()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Command

public Command()
Method Detail

doit

public abstract void doit(PrintWriter out,
                          Blur.Iface client,
                          String[] args)
                   throws Command.CommandException,
                          TException,
                          BlurException
Throws:
Command.CommandException
TException
BlurException

help

public final String help()

helpWithDescription

public final String helpWithDescription()

description

public abstract String description()

usage

public abstract String usage()

name

public abstract String name()

getConsoleReader

public jline.console.ConsoleReader getConsoleReader()

setConsoleReader

public void setConsoleReader(jline.console.ConsoleReader consoleReader)


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.