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

org.vertexium.query.PercentilesAggregation Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
package org.vertexium.query;

import org.vertexium.Visibility;

public class PercentilesAggregation extends Aggregation {
    private final String aggregationName;
    private final String fieldName;
    private final Visibility visibility;

    private double[] percents;

    public PercentilesAggregation(String aggregationName, String fieldName, Visibility visibility) {
        this.aggregationName = aggregationName;
        this.fieldName = fieldName;
        this.visibility = visibility;
    }

    @Override
    public String getAggregationName() {
        return aggregationName;
    }

    public String getFieldName() {
        return fieldName;
    }

    public Visibility getVisibility() {
        return visibility;
    }

    public double[] getPercents() {
        return percents;
    }

    public void setPercents(double... percents) {
        this.percents = percents;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy