Package com.redislabs.redistimeseries
Enum Keyword
- java.lang.Object
-
- java.lang.Enum<Keyword>
-
- com.redislabs.redistimeseries.Keyword
-
- All Implemented Interfaces:
Serializable,Comparable<Keyword>,redis.clients.jedis.commands.ProtocolCommand
public enum Keyword extends Enum<Keyword> implements redis.clients.jedis.commands.ProtocolCommand
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGGREGATIONCOUNTFILTERLABELSRESETRETENTIONTIMESTAMPUNCOMPRESSEDWITHLABELS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getRaw()static KeywordvalueOf(String name)Returns the enum constant of this type with the specified name.static Keyword[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESET
public static final Keyword RESET
-
FILTER
public static final Keyword FILTER
-
AGGREGATION
public static final Keyword AGGREGATION
-
LABELS
public static final Keyword LABELS
-
RETENTION
public static final Keyword RETENTION
-
TIMESTAMP
public static final Keyword TIMESTAMP
-
WITHLABELS
public static final Keyword WITHLABELS
-
COUNT
public static final Keyword COUNT
-
UNCOMPRESSED
public static final Keyword UNCOMPRESSED
-
-
Method Detail
-
values
public static Keyword[] 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 (Keyword c : Keyword.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Keyword valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getRaw
public byte[] getRaw()
- Specified by:
getRawin interfaceredis.clients.jedis.commands.ProtocolCommand
-
-