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

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
All Implemented Interfaces:
ConnectionStatement, HBqlStatement
Direct Known Subclasses:
DeleteStatement, InsertStatement, SelectStatement

public abstract class StatementWithParameters
extends StatementWithMapping


Constructor Summary
StatementWithParameters(StatementPredicate predicate, String mappingName)
           
 
Method Summary
 NamedParameters getNamedParameters()
           
abstract  void resetParameters()
           
abstract  int setStatementParameter(String name, Object val)
           
abstract  void validate(HConnectionImpl connection)
           
abstract  void validateTypes()
           
 
Methods inherited from class org.apache.hadoop.hbase.hbql.statement.StatementWithMapping
getMappingContext
 
Methods inherited from class org.apache.hadoop.hbase.hbql.statement.GenericStatement
evaluatePredicateAndExecute, execute, 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

StatementWithParameters

public StatementWithParameters(StatementPredicate predicate,
                               String mappingName)
Method Detail

getNamedParameters

public NamedParameters getNamedParameters()

setStatementParameter

public abstract int setStatementParameter(String name,
                                          Object val)
                                   throws HBqlException
Throws:
HBqlException

validate

public abstract void validate(HConnectionImpl connection)
                       throws HBqlException
Throws:
HBqlException

validateTypes

public abstract void validateTypes()
                            throws HBqlException
Throws:
HBqlException

resetParameters

public abstract void resetParameters()


Copyright © 2011. All Rights Reserved.