org.apache.hadoop.hbase.shell
Class SchemaModificationCommand

java.lang.Object
  extended by org.apache.hadoop.hbase.shell.BasicCommand
      extended by org.apache.hadoop.hbase.shell.SchemaModificationCommand
All Implemented Interfaces:
Command, CommandFactory
Direct Known Subclasses:
AlterCommand, CreateCommand

public abstract class SchemaModificationCommand
extends BasicCommand

The base class of schema modification commands, CreateCommand and Alter Command. Provides utility methods for alteration operations.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.shell.Command
Command.CommandType
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.shell.BasicCommand
LINE_SEPARATOR
 
Fields inherited from interface org.apache.hadoop.hbase.shell.Command
FAMILY_INDICATOR
 
Constructor Summary
SchemaModificationCommand(Writer o)
           
 
Method Summary
protected  HColumnDescriptor getColumnDescriptor(String column, Map<String,Object> columnSpec)
          Given a column name and column spec, returns an instance of HColumnDescriptor representing the column spec.
 
Methods inherited from class org.apache.hadoop.hbase.shell.BasicCommand
appendDelimiter, extractErrMsg, extractErrMsg, getBasicCommand, getCommand, getCommandType, getOut, print, println
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.hbase.shell.Command
execute
 

Constructor Detail

SchemaModificationCommand

public SchemaModificationCommand(Writer o)
Method Detail

getColumnDescriptor

protected HColumnDescriptor getColumnDescriptor(String column,
                                                Map<String,Object> columnSpec)
                                         throws IllegalArgumentException
Given a column name and column spec, returns an instance of HColumnDescriptor representing the column spec.

Throws:
IllegalArgumentException


Copyright © 2006 The Apache Software Foundation