org.apache.hadoop.hbase.hbql.impl
Class QueryFutureImpl

java.lang.Object
  extended by org.apache.hadoop.hbase.hbql.impl.QueryFutureImpl
All Implemented Interfaces:
QueryFuture

public class QueryFutureImpl
extends Object
implements QueryFuture


Constructor Summary
QueryFutureImpl()
           
 
Method Summary
 void await()
           
 boolean await(long timeout, TimeUnit unit)
           
 long getCompleteTime()
           
 long getElapsedTime()
           
 HBqlException getHBqlException()
           
 long getStartTime()
           
 boolean isComplete()
           
 boolean isStarted()
           
protected  void markQueryComplete()
           
protected  void markQueryStart()
           
 void setCaughtException(HBqlException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryFutureImpl

public QueryFutureImpl()
Method Detail

getHBqlException

public HBqlException getHBqlException()
Specified by:
getHBqlException in interface QueryFuture

setCaughtException

public void setCaughtException(HBqlException exception)

markQueryStart

protected void markQueryStart()

markQueryComplete

protected void markQueryComplete()

isStarted

public boolean isStarted()
Specified by:
isStarted in interface QueryFuture

isComplete

public boolean isComplete()
Specified by:
isComplete in interface QueryFuture

getStartTime

public long getStartTime()
Specified by:
getStartTime in interface QueryFuture

getCompleteTime

public long getCompleteTime()
Specified by:
getCompleteTime in interface QueryFuture

getElapsedTime

public long getElapsedTime()
Specified by:
getElapsedTime in interface QueryFuture

await

public void await()
           throws InterruptedException
Specified by:
await in interface QueryFuture
Throws:
InterruptedException

await

public boolean await(long timeout,
                     TimeUnit unit)
              throws InterruptedException
Specified by:
await in interface QueryFuture
Throws:
InterruptedException


Copyright © 2011. All Rights Reserved.