Package com.redis.lettucemod.search
Enum AggregateOperation.Type
- java.lang.Object
-
- java.lang.Enum<AggregateOperation.Type>
-
- com.redis.lettucemod.search.AggregateOperation.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AggregateOperation.Type>
- Enclosing interface:
- AggregateOperation<K,V>
public static enum AggregateOperation.Type extends java.lang.Enum<AggregateOperation.Type>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AggregateOperation.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AggregateOperation.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APPLY
public static final AggregateOperation.Type APPLY
-
FILTER
public static final AggregateOperation.Type FILTER
-
GROUP
public static final AggregateOperation.Type GROUP
-
LIMIT
public static final AggregateOperation.Type LIMIT
-
SORT
public static final AggregateOperation.Type SORT
-
-
Method Detail
-
values
public static AggregateOperation.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AggregateOperation.Type c : AggregateOperation.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AggregateOperation.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-