use of org.apache.phoenix.monitoring.OverAllQueryMetrics in project phoenix by apache.
the class UnionResultIterators method setMetricsInParentContext.
private void setMetricsInParentContext() {
ReadMetricQueue parentCtxReadMetrics = parentStmtCtx.getReadMetricsQueue();
for (ReadMetricQueue readMetrics : readMetricsList) {
parentCtxReadMetrics.combineReadMetrics(readMetrics);
}
OverAllQueryMetrics parentCtxQueryMetrics = parentStmtCtx.getOverallQueryMetrics();
for (OverAllQueryMetrics metric : overAllQueryMetricsList) {
parentCtxQueryMetrics.combine(metric);
}
}
Aggregations