AMashenkov commented on a change in pull request #518:
URL: https://github.com/apache/ignite-3/pull/518#discussion_r775480621



##########
File path: 
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/schema/IgniteIndex.java
##########
@@ -27,16 +35,34 @@
 
     private final String idxName;
 
-    //    private final GridIndex<H2Row> idx;
+    private final InternalSortedIndex idx;
+
     private final InternalIgniteTable tbl;
 
     /**
      * Constructor.
      * TODO Documentation https://issues.apache.org/jira/browse/IGNITE-15859
      */
     public IgniteIndex(RelCollation collation, String name, 
InternalIgniteTable tbl) {
+        this(collation, name, null, tbl);
+    }
+
+    /**
+     * Constructor.
+     * TODO Documentation https://issues.apache.org/jira/browse/IGNITE-15859
+     */
+    public IgniteIndex(RelCollation collation, InternalSortedIndex idx, 
InternalIgniteTable tbl) {
+        this(collation, idx.name(), idx, tbl);
+    }
+
+    /**
+     * Constructor.
+     * TODO Documentation https://issues.apache.org/jira/browse/IGNITE-15859
+     */
+    private IgniteIndex(RelCollation collation, String name, 
InternalSortedIndex idx, InternalIgniteTable tbl) {

Review comment:
       Let's fix javadocs.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to