zstan commented on code in PR #2476: URL: https://github.com/apache/ignite-3/pull/2476#discussion_r1305271760
########## modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/RowHandler.java: ########## @@ -17,36 +17,75 @@ package org.apache.ignite.internal.sql.engine.exec; +import java.nio.ByteBuffer; import org.apache.ignite.internal.sql.engine.exec.row.RowSchema; import org.jetbrains.annotations.Nullable; /** * Universal accessor and mutator for rows. It also has factory methods. */ public interface RowHandler<RowT> { + /** + * Extract appropriate field. + * + * @param field position. Review Comment: RowT is not instantiated by ByteArray for now, we have no such implementation. Java doc changed. ########## modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/RowHandler.java: ########## @@ -17,36 +17,75 @@ package org.apache.ignite.internal.sql.engine.exec; +import java.nio.ByteBuffer; import org.apache.ignite.internal.sql.engine.exec.row.RowSchema; import org.jetbrains.annotations.Nullable; /** * Universal accessor and mutator for rows. It also has factory methods. */ public interface RowHandler<RowT> { + /** + * Extract appropriate field. + * + * @param field position. + * @param row object to be extracted from. + */ @Nullable Object get(int field, RowT row); + /** Set incoming row field. + * + * @param field Field position to be processed. + * @param row which field need to be changed. + * @param val value should be set. Review Comment: Thanks ! got it ! -- 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