All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.deephaven.api.agg.spec.AggSpecMin Maven / Gradle / Ivy

The newest version!
//
// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending
//
package io.deephaven.api.agg.spec;

import io.deephaven.annotations.SingletonStyle;
import io.deephaven.api.TableOperations;
import org.immutables.value.Value.Immutable;

/**
 * Specifies an aggregation that outputs the minimum value in the input column for each group. Only works for numeric or
 * {@link Comparable} input types.
 *
 * @see TableOperations#minBy
 */
@Immutable
@SingletonStyle
public abstract class AggSpecMin extends AggSpecEmptyBase {

    public static AggSpecMin of() {
        return ImmutableAggSpecMin.of();
    }

    @Override
    public final String description() {
        return "min";
    }

    @Override
    public final  V walk(V visitor) {
        visitor.visit(this);
        return visitor;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy