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

java.lang.Object
  extended by org.apache.hadoop.hbase.hbql.statement.GenericStatement
Direct Known Subclasses:
AlterTableStatement, CreateAsyncExecutorStatement, CreateQueryExecutorPoolStatement, CreateTableStatement, DropAsyncExecutorStatement, DropQueryExecutorPoolStatement, EvalStatement, HelpStatement, ImportStatement, ParseStatement, SetStatement, ShowAsyncExecutorsStatement, ShowMappingsStatement, ShowQueryExecutorPoolsStatement, ShowTablesStatement, StatementWithMapping, TableStatement, VersionStatement

public abstract class GenericStatement
extends Object


Constructor Summary
  GenericStatement()
           
protected GenericStatement(StatementPredicate predicate)
           
 
Method Summary
 ExecutionResults evaluatePredicateAndExecute(HConnectionImpl conn)
           
protected  ExecutionResults execute(HConnectionImpl connection)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericStatement

public GenericStatement()

GenericStatement

protected GenericStatement(StatementPredicate predicate)
Method Detail

evaluatePredicateAndExecute

public ExecutionResults evaluatePredicateAndExecute(HConnectionImpl conn)
                                             throws HBqlException
Throws:
HBqlException

execute

protected ExecutionResults execute(HConnectionImpl connection)
                            throws HBqlException
Throws:
HBqlException

validate

public void validate()
              throws HBqlException
Throws:
HBqlException


Copyright © 2011. All Rights Reserved.