/** * Returns an aggregation to find the long minimum of all supplied values.<br/> * This aggregation is similar to: <pre>SELECT MIN(value) FROM x</pre> * * @param <Key> the input key type * @param <Value> the supplied value type * @return the minimum value over all supplied values */ public static <Key, Value> Aggregation<Key, Long, Long> longMin() { return new AggregationAdapter(new LongMinAggregation<Key, Value>()); }
/** * Returns an aggregation to find the long minimum of all supplied values.<br/> * This aggregation is similar to: <pre>SELECT MIN(value) FROM x</pre> * * @param <Key> the input key type * @param <Value> the supplied value type * @return the minimum value over all supplied values */ public static <Key, Value> Aggregation<Key, Long, Long> longMin() { return new AggregationAdapter(new LongMinAggregation<Key, Value>()); }