danny0405 commented on a change in pull request #1449: [CALCITE-3302] Implement 
CLASSIFIER and LAST function for MATCH_RECOG…
URL: https://github.com/apache/calcite/pull/1449#discussion_r323084713
 
 

 ##########
 File path: 
core/src/main/java/org/apache/calcite/adapter/enumerable/EnumerableMatch.java
 ##########
 @@ -381,6 +445,48 @@ public int getFuture() {
     }
   }
 
+  /**
+   * A special Getter that is able to return a field from a list of objects.
+   */
+  static class PassedRowsInputGetter implements RexToLixTranslator.InputGetter 
{
+    private Expression index;
+    private final ParameterExpression row;
+    private final ParameterExpression passedRows;
+    private final Function<Expression, RexToLixTranslator.InputGetter> 
generator;
+    private final PhysType physType;
+
+    PassedRowsInputGetter(ParameterExpression row, ParameterExpression 
passedRows,
+                          PhysType physType) {
 
 Review comment:
   Fix the indent.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to