org.apache.hadoop.hbase.hbql.impl
Class QueryFutureImpl
java.lang.Object
org.apache.hadoop.hbase.hbql.impl.QueryFutureImpl
- All Implemented Interfaces:
- QueryFuture
public class QueryFutureImpl
- extends Object
- implements QueryFuture
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryFutureImpl
public QueryFutureImpl()
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.