public class QueryContext extends Object
| 构造器和说明 |
|---|
QueryContext() |
QueryContext(long queryId) |
QueryContext(long queryId,
boolean debug,
long startTime,
String statement,
long timeout)
Every time we generate the queryContext, register it to queryTimeManager.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
chunkNotSatisfy(IChunkMetadata chunkMetaData) |
List<List<Modification>> |
getPathModifications(ModificationFile modFile,
AlignedPath path)
Find the modifications of all aligned 'paths' in 'modFile'.
|
List<Modification> |
getPathModifications(ModificationFile modFile,
PartialPath path)
Find the modifications of timeseries 'path' in 'modFile'.
|
long |
getQueryId() |
long |
getQueryTimeLowerBound() |
long |
getStartTime() |
String |
getStatement() |
void |
getStatement(String statement) |
long |
getTimeout() |
boolean |
isDebug() |
boolean |
isEnableTracing() |
boolean |
isInterrupted() |
void |
setEnableTracing(boolean enableTracing) |
void |
setInterrupted(boolean interrupted) |
void |
setQueryTimeLowerBound(long queryTimeLowerBound) |
QueryContext |
setStartTime(long startTime) |
QueryContext |
setStatement(String statement) |
QueryContext |
setTimeout(long timeout) |
public QueryContext()
public QueryContext(long queryId)
public QueryContext(long queryId,
boolean debug,
long startTime,
String statement,
long timeout)
public List<Modification> getPathModifications(ModificationFile modFile, PartialPath path)
public List<List<Modification>> getPathModifications(ModificationFile modFile, AlignedPath path)
public long getQueryId()
public boolean isDebug()
public boolean isEnableTracing()
public void setEnableTracing(boolean enableTracing)
public long getQueryTimeLowerBound()
public void setQueryTimeLowerBound(long queryTimeLowerBound)
public boolean chunkNotSatisfy(IChunkMetadata chunkMetaData)
public long getStartTime()
public String getStatement()
public QueryContext setStartTime(long startTime)
public void getStatement(String statement)
public long getTimeout()
public QueryContext setTimeout(long timeout)
public QueryContext setStatement(String statement)
public void setInterrupted(boolean interrupted)
public boolean isInterrupted()
Copyright © 2022 The Apache Software Foundation. All rights reserved.