org.usergrid.mq.cassandra
Enum QueuesCF

java.lang.Object
  extended by java.lang.Enum<QueuesCF>
      extended by org.usergrid.mq.cassandra.QueuesCF
All Implemented Interfaces:
Serializable, Comparable<QueuesCF>, CFEnum

public enum QueuesCF
extends Enum<QueuesCF>
implements CFEnum


Enum Constant Summary
CONSUMER_QUEUE_MESSAGES_PROPERTIES
           
CONSUMERS
           
COUNTERS
           
MESSAGE_PROPERTIES
           
PROPERTY_INDEX
           
PROPERTY_INDEX_ENTRIES
           
QUEUE_DICTIONARIES
           
QUEUE_INBOX
           
QUEUE_PROPERTIES
           
QUEUE_SUBSCRIBERS
           
QUEUE_SUBSCRIPTIONS
           
 
Field Summary
static String APPLICATION_MESSAGES_KEYSPACE_SUFFIX
           
static String STATIC_MESSAGES_KEYSPACE
           
 
Method Summary
 boolean create()
           
 String getColumnFamily()
           
 String getComparator()
           
 List<me.prettyprint.hector.api.ddl.ColumnDefinition> getMetadata()
           
 String getValidator()
           
 boolean isComposite()
           
 String toString()
           
static QueuesCF valueOf(String name)
          Returns the enum constant of this type with the specified name.
static QueuesCF[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MESSAGE_PROPERTIES

public static final QueuesCF MESSAGE_PROPERTIES

QUEUE_PROPERTIES

public static final QueuesCF QUEUE_PROPERTIES

QUEUE_INBOX

public static final QueuesCF QUEUE_INBOX

QUEUE_DICTIONARIES

public static final QueuesCF QUEUE_DICTIONARIES

QUEUE_SUBSCRIBERS

public static final QueuesCF QUEUE_SUBSCRIBERS

QUEUE_SUBSCRIPTIONS

public static final QueuesCF QUEUE_SUBSCRIPTIONS

CONSUMERS

public static final QueuesCF CONSUMERS

CONSUMER_QUEUE_MESSAGES_PROPERTIES

public static final QueuesCF CONSUMER_QUEUE_MESSAGES_PROPERTIES

COUNTERS

public static final QueuesCF COUNTERS

PROPERTY_INDEX

public static final QueuesCF PROPERTY_INDEX

PROPERTY_INDEX_ENTRIES

public static final QueuesCF PROPERTY_INDEX_ENTRIES
Field Detail

STATIC_MESSAGES_KEYSPACE

public static final String STATIC_MESSAGES_KEYSPACE
See Also:
Constant Field Values

APPLICATION_MESSAGES_KEYSPACE_SUFFIX

public static final String APPLICATION_MESSAGES_KEYSPACE_SUFFIX
See Also:
Constant Field Values
Method Detail

values

public static QueuesCF[] 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 (QueuesCF c : QueuesCF.values())
    System.out.println(c);

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

valueOf

public static QueuesCF 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
NullPointerException - if the argument is null

toString

public String toString()
Overrides:
toString in class Enum<QueuesCF>

getColumnFamily

public String getColumnFamily()
Specified by:
getColumnFamily in interface CFEnum

getComparator

public String getComparator()
Specified by:
getComparator in interface CFEnum

getValidator

public String getValidator()
Specified by:
getValidator in interface CFEnum

isComposite

public boolean isComposite()
Specified by:
isComposite in interface CFEnum

getMetadata

public List<me.prettyprint.hector.api.ddl.ColumnDefinition> getMetadata()
Specified by:
getMetadata in interface CFEnum

create

public boolean create()
Specified by:
create in interface CFEnum


Copyright © 2013. All Rights Reserved.