@Experimental public enum ArAggregateType extends Enum<ArAggregateType>
AROP command that return a bulk string value (V).
These operations perform numeric aggregation over array elements in a given range.
| Enum Constant and Description |
|---|
MAX
Returns the maximum numeric value in the range.
|
MIN
Returns the minimum numeric value in the range.
|
SUM
Returns the sum of all numeric values in the range.
|
| Modifier and Type | Method and Description |
|---|---|
static ArAggregateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArAggregateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArAggregateType SUM
public static final ArAggregateType MIN
public static final ArAggregateType MAX
public static ArAggregateType[] values()
for (ArAggregateType c : ArAggregateType.values()) System.out.println(c);
public static ArAggregateType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2026 lettuce.io. All rights reserved.