|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.server.api.query.AbstractQueryContext org.apache.lens.server.api.query.PreparedQueryContext
public class PreparedQueryContext
The Class PreparedQueryContext.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.lens.server.api.query.AbstractQueryContext |
---|
AbstractQueryContext.DriverEstimateRunnable |
Field Summary |
---|
Fields inherited from class org.apache.lens.server.api.query.AbstractQueryContext |
---|
LOG |
Constructor Summary | |
---|---|
PreparedQueryContext(String query,
String user,
org.apache.hadoop.conf.Configuration conf,
Collection<LensDriver> drivers)
Instantiates a new prepared query context. |
|
PreparedQueryContext(String query,
String user,
org.apache.hadoop.conf.Configuration conf,
LensConf qconf,
Collection<LensDriver> drivers)
Instantiates a new prepared query context. |
Method Summary | |
---|---|
int |
compareTo(Delayed o)
|
long |
getDelay(TimeUnit units)
|
String |
getLogHandle()
Get prepared query handle string |
LensPreparedQuery |
toPreparedQuery()
To prepared query. |
void |
updateConf(Map<String,String> confoverlay)
Update conf. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PreparedQueryContext(String query, String user, org.apache.hadoop.conf.Configuration conf, Collection<LensDriver> drivers)
query
- the queryuser
- the userconf
- the confpublic PreparedQueryContext(String query, String user, org.apache.hadoop.conf.Configuration conf, LensConf qconf, Collection<LensDriver> drivers)
query
- the queryuser
- the userconf
- the confqconf
- the qconfMethod Detail |
---|
public int compareTo(Delayed o)
compareTo
in interface Comparable<Delayed>
public long getDelay(TimeUnit units)
getDelay
in interface Delayed
public void updateConf(Map<String,String> confoverlay)
confoverlay
- the conf to setpublic LensPreparedQuery toPreparedQuery()
public String getLogHandle()
getLogHandle
in class AbstractQueryContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |