database API reduce/map realtime-java proxy plugin