public abstract class TajoShellCommand extends Object
Modifier and Type | Field and Description |
---|---|
protected TajoClient |
client |
protected TajoCli.TajoCliContext |
context |
protected int |
maxColumn |
Constructor and Description |
---|
TajoShellCommand(TajoCli.TajoCliContext context) |
Modifier and Type | Method and Description |
---|---|
abstract String |
getCommand() |
abstract String |
getDescription() |
abstract String |
getUsage() |
abstract void |
invoke(String[] command) |
protected void |
print(char c,
int count) |
protected void |
printCenter(String message) |
protected void |
printCenter(String message,
int columnWidth,
boolean warp) |
protected int[] |
printHeader(String[] headers,
float[] columnWidthRates) |
protected void |
printLeft(String message,
int columnWidth) |
protected void |
println() |
protected TajoCli.TajoCliContext context
protected TajoClient client
protected int maxColumn
public TajoShellCommand(TajoCli.TajoCliContext context)
public abstract String getCommand()
public abstract String getUsage()
public abstract String getDescription()
protected void println()
protected void printLeft(String message, int columnWidth)
protected void printCenter(String message, int columnWidth, boolean warp)
protected void printCenter(String message)
protected void print(char c, int count)
protected int[] printHeader(String[] headers, float[] columnWidthRates)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.