AMashenkov commented on code in PR #3058:
URL: https://github.com/apache/ignite-3/pull/3058#discussion_r1479445451


##########
modules/catalog/src/main/java/org/apache/ignite/internal/catalog/descriptors/CatalogIndexDescriptor.java:
##########
@@ -66,8 +67,40 @@ public int creationCatalogVersion() {
         return creationCatalogVersion;
     }
 
+    /** Returns catalog index descriptor type. */
+    public CatalogIndexDescriptorType indexType() {
+        return indexType;
+    }
+
     @Override
     public String toString() {
         return S.toString(CatalogIndexDescriptor.class, this, 
super.toString());
     }
+
+    /** Catalog index descriptor type. */
+    public enum CatalogIndexDescriptorType {
+        HASH(0),
+        SORTED(1);
+
+        private final int id;

Review Comment:
   ```suggestion
           private final int typeId;
   ```



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to