@Override
    public Expression[] getBaseAggregators() {
        Expression minAggregator = Expression.function("min",
                Expression.variable(getBaseAttributes()[0].getName()));
        return new Expression[]{minAggregator};
    }
{@link IncrementalAttributeAggregator} to calculate minimum value based on an event attribute.
modules/siddhi-core/src/main/java/io/siddhi/core/query/selector/attribute/aggregator/incremental/MinIncrementalAttributeAggregator.java