korlov42 commented on a change in pull request #201:
URL: https://github.com/apache/ignite-3/pull/201#discussion_r672154448
##########
File path:
modules/schema/src/main/java/org/apache/ignite/internal/schema/mapping/ColumnMapper.java
##########
@@ -30,4 +31,12 @@
* @return Column index in target schema or {@code -1} if no column exists
in target schema.
*/
int map(int idx);
+
+ /**
+ * Column descriptor for given column idx.
+ *
+ * @param idx Column index in source schema.
+ * @return Column descriptor.
+ */
+ Column mappedColumn(int idx);
Review comment:
let's denote a return type as `@Nullable`
--
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]