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

tech.ydb.jooq.dsl.function.aggregate.MaxBy Maven / Gradle / Ivy

The newest version!
package tech.ydb.jooq.dsl.function.aggregate;

import org.jooq.Field;
import org.jooq.Name;
import org.jooq.impl.AbstractYdbAggregateFunction;

import static org.jooq.impl.DSL.systemName;

public final class MaxBy extends AbstractYdbAggregateFunction {

    private static final Name MAX_BY = systemName("max_by");

    public MaxBy(Field field, Field cmp) {
        super(
                false,
                MAX_BY,
                field.getDataType(),
                field,
                cmp
        );
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy