io.quarkus.redis.datasource.timeseries.BucketTimestamp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-redis-client Show documentation
Show all versions of quarkus-redis-client Show documentation
Connect to Redis in either imperative or reactive style
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