Package glide.api.models.commands.stream
Enum StreamRange.InfRangeBound
- java.lang.Object
-
- java.lang.Enum<StreamRange.InfRangeBound>
-
- glide.api.models.commands.stream.StreamRange.InfRangeBound
-
- All Implemented Interfaces:
StreamRange,java.io.Serializable,java.lang.Comparable<StreamRange.InfRangeBound>
- Enclosing interface:
- StreamRange
public static enum StreamRange.InfRangeBound extends java.lang.Enum<StreamRange.InfRangeBound> implements StreamRange
Enumeration representing minimum or maximum stream entry bounds for the range search, to get the first or last stream ID.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface glide.api.models.commands.stream.StreamRange
StreamRange.IdBound, StreamRange.InfRangeBound
-
-
Field Summary
-
Fields inherited from interface glide.api.models.commands.stream.StreamRange
EXCLUSIVE_RANGE_VALKEY_API, MAXIMUM_RANGE_VALKEY_API, MINIMUM_RANGE_VALKEY_API, RANGE_COUNT_VALKEY_API
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValkeyApi()static StreamRange.InfRangeBoundvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static StreamRange.InfRangeBound[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MIN
public static final StreamRange.InfRangeBound MIN
-
MAX
public static final StreamRange.InfRangeBound MAX
-
-
Method Detail
-
values
public static StreamRange.InfRangeBound[] 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 (StreamRange.InfRangeBound c : StreamRange.InfRangeBound.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamRange.InfRangeBound 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
-
getValkeyApi
public java.lang.String getValkeyApi()
- Specified by:
getValkeyApiin interfaceStreamRange
-
-