org.apache.hadoop.hbase.hbql.statement
Class CreateMappingStatement

java.lang.Object
  extended by org.apache.hadoop.hbase.hbql.statement.GenericStatement
      extended by org.apache.hadoop.hbase.hbql.statement.StatementWithMapping
          extended by org.apache.hadoop.hbase.hbql.statement.CreateMappingStatement
All Implemented Interfaces:
ConnectionStatement, HBqlStatement

public class CreateMappingStatement
extends StatementWithMapping
implements ConnectionStatement


Constructor Summary
CreateMappingStatement(StatementPredicate predicate, boolean tempMapping, boolean systemMapping, String mappingName, String tableName, AttribMapping attribMapping)
           
 
Method Summary
protected  ExecutionResults execute(HConnectionImpl conn)
           
 KeyInfo getKeyInfo()
           
static String usage()
           
 void validate()
           
 
Methods inherited from class org.apache.hadoop.hbase.hbql.statement.StatementWithMapping
getMappingContext
 
Methods inherited from class org.apache.hadoop.hbase.hbql.statement.GenericStatement
evaluatePredicateAndExecute
 
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.hbql.statement.ConnectionStatement
evaluatePredicateAndExecute
 

Constructor Detail

CreateMappingStatement

public CreateMappingStatement(StatementPredicate predicate,
                              boolean tempMapping,
                              boolean systemMapping,
                              String mappingName,
                              String tableName,
                              AttribMapping attribMapping)
Method Detail

getKeyInfo

public KeyInfo getKeyInfo()

validate

public void validate()
              throws HBqlException
Specified by:
validate in interface HBqlStatement
Overrides:
validate in class GenericStatement
Throws:
HBqlException

execute

protected ExecutionResults execute(HConnectionImpl conn)
                            throws HBqlException
Overrides:
execute in class GenericStatement
Throws:
HBqlException

usage

public static String usage()


Copyright © 2011. All Rights Reserved.