org.apache.hadoop.hbase.hql
Class SchemaModificationCommand

java.lang.Object
  extended by org.apache.hadoop.hbase.hql.BasicCommand
      extended by org.apache.hadoop.hbase.hql.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.hql.Command
Command.CommandType
 
Field Summary
protected  BloomFilterDescriptor bloomFilterDesc
           
protected  BloomFilterDescriptor.BloomFilterType bloomFilterType
           
protected  HColumnDescriptor.CompressionType compression
           
protected  boolean inMemory
           
protected  int maxLength
           
protected  int maxVersions
           
protected  int numEntries
           
protected  int numHash
           
protected  int vectorSize
           
 
Fields inherited from class org.apache.hadoop.hbase.hql.BasicCommand
LINE_SEPARATOR, TABLE_NOT_FOUND
 
Fields inherited from interface org.apache.hadoop.hbase.hql.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.
protected  void initOptions()
           
 
Methods inherited from class org.apache.hadoop.hbase.hql.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.hql.Command
execute
 

Field Detail

maxVersions

protected int maxVersions

maxLength

protected int maxLength

compression

protected HColumnDescriptor.CompressionType compression

inMemory

protected boolean inMemory

bloomFilterDesc

protected BloomFilterDescriptor bloomFilterDesc

bloomFilterType

protected BloomFilterDescriptor.BloomFilterType bloomFilterType

vectorSize

protected int vectorSize

numHash

protected int numHash

numEntries

protected int numEntries
Constructor Detail

SchemaModificationCommand

public SchemaModificationCommand(Writer o)
Method Detail

initOptions

protected void initOptions()

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 © 2008 The Apache Software Foundation