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

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.StatementWithParameters
              extended by org.apache.hadoop.hbase.hbql.statement.DeleteStatement
All Implemented Interfaces:
ConnectionStatement, HBqlStatement

public class DeleteStatement
extends StatementWithParameters
implements ConnectionStatement


Constructor Summary
DeleteStatement(StatementPredicate predicate, List<String> originaltemList, String mappingName, WithArgs withArgs)
           
 
Method Summary
 String asString()
           
protected  ExecutionResults execute(HConnectionImpl conn)
           
 void resetParameters()
           
 int setStatementParameter(String name, Object val)
           
static String usage()
           
 void validate(HConnectionImpl conn)
           
 void validateTypes()
           
 
Methods inherited from class org.apache.hadoop.hbase.hbql.statement.StatementWithParameters
getNamedParameters
 
Methods inherited from class org.apache.hadoop.hbase.hbql.statement.StatementWithMapping
getMappingContext
 
Methods inherited from class org.apache.hadoop.hbase.hbql.statement.GenericStatement
evaluatePredicateAndExecute, validate
 
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
 
Methods inherited from interface org.apache.hadoop.hbase.hbql.statement.HBqlStatement
validate
 

Constructor Detail

DeleteStatement

public DeleteStatement(StatementPredicate predicate,
                       List<String> originaltemList,
                       String mappingName,
                       WithArgs withArgs)
Method Detail

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

execute

protected ExecutionResults execute(HConnectionImpl conn)
                            throws HBqlException
Overrides:
execute in class GenericStatement
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

asString

public String asString()

usage

public static String usage()


Copyright © 2011. All Rights Reserved.