public class ContinuousQueryTask extends WrappedRunnable
| 限定符和类型 | 字段和说明 |
|---|---|
protected CreateContinuousQueryPlan |
continuousQueryPlan |
protected static int |
EXECUTION_BATCH_SIZE |
protected static org.slf4j.Logger |
LOGGER |
protected static Pattern |
PATH_NODE_NAME_PATTERN |
protected ServiceProvider |
serviceProvider |
protected long |
windowEndTimestamp |
| 构造器和说明 |
|---|
ContinuousQueryTask(CreateContinuousQueryPlan continuousQueryPlan,
long windowEndTimestamp) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
doInsert(String sql,
QueryOperator queryOperator,
GroupByTimePlan queryPlan,
QueryDataSet queryDataSet) |
protected String |
fillTargetPathTemplate(PartialPath rawPath) |
protected String |
generateSQL() |
protected List<PartialPath> |
generateTargetPaths(List<Path> rawPaths) |
void |
onRejection() |
void |
runMayThrow() |
runprotected static final org.slf4j.Logger LOGGER
protected static final Pattern PATH_NODE_NAME_PATTERN
protected static final int EXECUTION_BATCH_SIZE
protected final ServiceProvider serviceProvider
protected final CreateContinuousQueryPlan continuousQueryPlan
protected final long windowEndTimestamp
public ContinuousQueryTask(CreateContinuousQueryPlan continuousQueryPlan, long windowEndTimestamp)
public void runMayThrow()
throws QueryProcessException,
StorageEngineException,
IOException,
InterruptedException,
QueryFilterOptimizationException,
MetadataException,
org.apache.thrift.TException,
SQLException
runMayThrow 在类中 WrappedRunnableQueryProcessExceptionStorageEngineExceptionIOExceptionInterruptedExceptionQueryFilterOptimizationExceptionMetadataExceptionorg.apache.thrift.TExceptionSQLExceptionprotected String generateSQL()
protected void doInsert(String sql, QueryOperator queryOperator, GroupByTimePlan queryPlan, QueryDataSet queryDataSet) throws MetadataException, QueryProcessException, StorageEngineException, IOException
protected List<PartialPath> generateTargetPaths(List<Path> rawPaths) throws IllegalPathException
protected String fillTargetPathTemplate(PartialPath rawPath)
public void onRejection()
Copyright © 2022 The Apache Software Foundation. All rights reserved.