We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b97a1b5 commit 5c1b0dcCopy full SHA for 5c1b0dc
1 file changed
core/src/main/java/org/opensearch/sql/calcite/plan/Scannable.java
@@ -8,6 +8,12 @@
8
import org.apache.calcite.linq4j.Enumerable;
9
import org.checkerframework.checker.nullness.qual.Nullable;
10
11
+/**
12
+ * The customized table scan is implemented in OpenSearch module, to invoke this scan() method in
13
+ * core module, we add this interface. Now the only implementation is CalciteEnumerableIndexScan.
14
+ * When a RelNode after optimization is a Scannable, we can directly invoke scan() method to get the
15
+ * result of the scan instead of codegen and compile via Linq4j expression.
16
+ */
17
public interface Scannable {
18
19
public Enumerable<@Nullable Object> scan();
0 commit comments