org.apache.hadoop.hbase.hbql.client
Class QueryListenerAdapter<T>

java.lang.Object
  extended by org.apache.hadoop.hbase.hbql.client.QueryListenerAdapter<T>
All Implemented Interfaces:
QueryListener<T>

public abstract class QueryListenerAdapter<T>
extends Object
implements QueryListener<T>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.hbql.client.QueryListener
QueryListener.ExceptionSource
 
Constructor Summary
QueryListenerAdapter()
           
 
Method Summary
 void onEachRow(T val)
           
 void onHBqlException(HBqlException e)
           
 void onQueryComplete()
           
 void onQueryStart()
           
 
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.client.QueryListener
onException
 

Constructor Detail

QueryListenerAdapter

public QueryListenerAdapter()
Method Detail

onQueryStart

public void onQueryStart()
                  throws HBqlException
Specified by:
onQueryStart in interface QueryListener<T>
Throws:
HBqlException

onEachRow

public void onEachRow(T val)
               throws HBqlException
Specified by:
onEachRow in interface QueryListener<T>
Throws:
HBqlException

onQueryComplete

public void onQueryComplete()
                     throws HBqlException
Specified by:
onQueryComplete in interface QueryListener<T>
Throws:
HBqlException

onHBqlException

public void onHBqlException(HBqlException e)


Copyright © 2011. All Rights Reserved.