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

io.quarkus.redis.datasource.timeseries.BucketTimestamp Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package io.quarkus.redis.datasource.timeseries;

import java.util.Locale;

/**
 * Configure the bucket timestamp of an aggregation in the {@code TS.MRANGE} command.
 * It controls how bucket timestamps are reported.
 */
public enum BucketTimestamp {

    /**
     * the bucket's start time (default).
     */
    LOW,
    /**
     * the bucket's end time.
     */
    HIGH,
    /**
     * the bucket's mid time (rounded down if not an integer)
     */
    MID;

    @Override
    public String toString() {
        return name().toLowerCase(Locale.ROOT);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy