lidavidm commented on code in PR #37085:
URL: https://github.com/apache/arrow/pull/37085#discussion_r1290066578
##########
java/adapter/jdbc/src/main/java/org/apache/arrow/adapter/jdbc/JdbcToArrowConfig.java:
##########
@@ -338,4 +356,18 @@ public Map<Integer, Map<String, String>>
getColumnMetadataByColumnIndex() {
public RoundingMode getBigDecimalRoundingMode() {
return bigDecimalRoundingMode;
}
+
+ /**
+ * Interface for a function with 4 parameters.
+ *
+ * @param <A> param 1 type
+ * @param <B> param 2 type
+ * @param <C> param 3 type
+ * @param <D> param 4 type
+ * @param <R> return type
+ */
+ @FunctionalInterface
+ interface Function4Arity<A, B, C, D, R> {
Review Comment:
Ah, I forgot about that.
Can't you just make it one of the parameters? You're not going to invoke
this while building the config, so it's fine to have it as a parameter.
--
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]