org.apache.hadoop.hbase.hbql.statement
Class InsertStatement
java.lang.Object
org.apache.hadoop.hbase.hbql.statement.GenericStatement
org.apache.hadoop.hbase.hbql.statement.StatementWithMapping
org.apache.hadoop.hbase.hbql.statement.StatementWithParameters
org.apache.hadoop.hbase.hbql.statement.InsertStatement
- All Implemented Interfaces:
- ConnectionStatement, HBqlStatement
public class InsertStatement
- extends StatementWithParameters
- implements ConnectionStatement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InsertStatement
public InsertStatement(StatementPredicate predicate,
String mappingName,
List<GenericValue> columnList,
InsertValueSource insertValuesSource)
getConnection
public HConnectionImpl getConnection()
validate
public void validate(HConnectionImpl conn)
throws HBqlException
- Specified by:
validate
in class StatementWithParameters
- Throws:
HBqlException
validateTypes
public void validateTypes()
throws HBqlException
- Specified by:
validateTypes
in class StatementWithParameters
- Throws:
HBqlException
resetParameters
public void resetParameters()
- Specified by:
resetParameters
in class StatementWithParameters
setStatementParameter
public int setStatementParameter(String name,
Object val)
throws HBqlException
- Specified by:
setStatementParameter
in class StatementWithParameters
- Throws:
HBqlException
execute
protected ExecutionResults execute(HConnectionImpl conn)
throws HBqlException
- Overrides:
execute
in class GenericStatement
- Throws:
HBqlException
asString
public String asString()
usage
public static String usage()
Copyright © 2011. All Rights Reserved.