org.apache.hadoop.hbase.hbql.statement
Class CreateMappingStatement
java.lang.Object
org.apache.hadoop.hbase.hbql.statement.GenericStatement
org.apache.hadoop.hbase.hbql.statement.StatementWithMapping
org.apache.hadoop.hbase.hbql.statement.CreateMappingStatement
- All Implemented Interfaces:
- ConnectionStatement, HBqlStatement
public class CreateMappingStatement
- extends StatementWithMapping
- implements ConnectionStatement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateMappingStatement
public CreateMappingStatement(StatementPredicate predicate,
boolean tempMapping,
boolean systemMapping,
String mappingName,
String tableName,
AttribMapping attribMapping)
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.