org.apache.hadoop.hbase.shell
Class SchemaModificationCommand
java.lang.Object
org.apache.hadoop.hbase.shell.BasicCommand
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.
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 |
SchemaModificationCommand
public SchemaModificationCommand(Writer o)
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