is there any way to map sql Row mapper to java array object
example:
tableEnvironment.toRetractStream(table, Row.class) select ARRAY[ Event(e1.id