// as a parameter)
if (!ALLOWED_QUERY_PARAMETER_TYPES.contains(argType) && !metamodel.isKnownEnumType(argType.getInternalName()))
throw new TypedValueVisitorException("Accessing a field with unhandled type");
return ColumnExpressions.singleColumn(new SimpleRowReader<>(),
new ParameterFieldExpression(lambda.getLambdaIndex(), name));
}
throw new TypedValueVisitorException("Cannot read fields of this lambda");
}