Uses of Interface
net.pincette.jes.Reducer
-
Uses of Reducer in net.pincette.jes
Methods in net.pincette.jes that return ReducerModifier and TypeMethodDescriptionstatic ReducerReturns a reducer that first callsvalidatorand if the result doesn't contain any errors it callsreducer.static ReducerAggregate.reducer(BinaryOperator<JsonObject> transformer) Wraps a generic transformer in aReducer.static ReducerAggregate.reducer(UnaryOperator<JsonObject>... transformers) Wraps a sequence of generic transformers in aReducer.Methods in net.pincette.jes with parameters of type ReducerModifier and TypeMethodDescriptionstatic ReducerReturns a reducer that first callsvalidatorand if the result doesn't contain any errors it callsreducer.Aggregate.withReducer(String command, Reducer reducer) Sets the reducer for the given command.Aggregate.withReducer(Reducer reducer) Sets the reducer for all commands, which means the reducer does the dispatching itself.