public static void register(AggregationImplModule mod) {
for (final DataType dataType : DataTypes.PRIMITIVE_TYPES) {
mod.register(
new MinimumAggregation(
new FunctionInfo(new FunctionIdent(NAME,
ImmutableList.of(dataType)), dataType, FunctionInfo.Type.AGGREGATE)
) {
@Override
public MinimumAggState newState() {
return new MinimumAggState() {