redis.clients.jedis
Enum Protocol.Keyword

java.lang.Object
  extended by java.lang.Enum<Protocol.Keyword>
      extended by redis.clients.jedis.Protocol.Keyword
All Implemented Interfaces:
Serializable, Comparable<Protocol.Keyword>
Enclosing class:
Protocol

public static enum Protocol.Keyword
extends Enum<Protocol.Keyword>


Enum Constant Summary
AGGREGATE
           
ALPHA
           
ASC
           
BY
           
DESC
           
GET
           
LIMIT
           
MESSAGE
           
NO
           
NOSORT
           
OK
           
ONE
           
PMESSAGE
           
PSUBSCRIBE
           
PUNSUBSCRIBE
           
QUEUED
           
SET
           
STORE
           
SUBSCRIBE
           
UNSUBSCRIBE
           
WEIGHTS
           
WITHSCORES
           
 
Field Summary
 byte[] raw
           
 
Method Summary
static Protocol.Keyword valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Protocol.Keyword[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AGGREGATE

public static final Protocol.Keyword AGGREGATE

ALPHA

public static final Protocol.Keyword ALPHA

ASC

public static final Protocol.Keyword ASC

BY

public static final Protocol.Keyword BY

DESC

public static final Protocol.Keyword DESC

GET

public static final Protocol.Keyword GET

LIMIT

public static final Protocol.Keyword LIMIT

MESSAGE

public static final Protocol.Keyword MESSAGE

NO

public static final Protocol.Keyword NO

NOSORT

public static final Protocol.Keyword NOSORT

PMESSAGE

public static final Protocol.Keyword PMESSAGE

PSUBSCRIBE

public static final Protocol.Keyword PSUBSCRIBE

PUNSUBSCRIBE

public static final Protocol.Keyword PUNSUBSCRIBE

OK

public static final Protocol.Keyword OK

ONE

public static final Protocol.Keyword ONE

QUEUED

public static final Protocol.Keyword QUEUED

SET

public static final Protocol.Keyword SET

STORE

public static final Protocol.Keyword STORE

SUBSCRIBE

public static final Protocol.Keyword SUBSCRIBE

UNSUBSCRIBE

public static final Protocol.Keyword UNSUBSCRIBE

WEIGHTS

public static final Protocol.Keyword WEIGHTS

WITHSCORES

public static final Protocol.Keyword WITHSCORES
Field Detail

raw

public final byte[] raw
Method Detail

values

public static final Protocol.Keyword[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Protocol.Keyword c : Protocol.Keyword.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static Protocol.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 name


Copyright © 2010. All Rights Reserved.