Skip to content

Commit ec5fb40

Browse files
Minor commenting.
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
1 parent c8fcd4e commit ec5fb40

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

core/src/main/java/org/opensearch/sql/executor/execution/PaginatedQueryService.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,19 @@
1313
import org.opensearch.sql.common.response.ResponseListener;
1414
import org.opensearch.sql.executor.ExecutionContext;
1515
import org.opensearch.sql.executor.ExecutionEngine;
16+
import org.opensearch.sql.executor.QueryService;
1617
import org.opensearch.sql.planner.Planner;
1718
import org.opensearch.sql.planner.logical.LogicalPlan;
19+
import org.opensearch.sql.planner.optimizer.LogicalPlanOptimizer;
1820
import org.opensearch.sql.planner.physical.PhysicalPlan;
1921

22+
/**
23+
* `PaginatedQueryService` does the same as `QueryService`, but it has another planner,
24+
* configured to handle paged index scan.
25+
* @see OpenSearchPluginModule#queryPlanFactory (:plugin module)
26+
* @see LogicalPlanOptimizer#paginationCreate
27+
* @see QueryService
28+
*/
2029
@RequiredArgsConstructor
2130
public class PaginatedQueryService {
2231
private final Analyzer analyzer;

integ-test/src/test/java/org/opensearch/sql/util/StandaloneModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public QueryPlanFactory queryPlanFactory(ExecutionEngine executionEngine,
111111
}
112112

113113
@Provides
114-
public QueryService querySerivce(ExecutionEngine executionEngine) {
114+
public QueryService queryService(ExecutionEngine executionEngine) {
115115
Analyzer analyzer =
116116
new Analyzer(
117117
new ExpressionAnalyzer(functionRepository), dataSourceService, functionRepository);

0 commit comments

Comments
 (0)