org.usergrid.persistence.cassandra
Enum ApplicationCF

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

public enum ApplicationCF
extends Enum<ApplicationCF>
implements CFEnum


Enum Constant Summary
APPLICATION_AGGREGATE_COUNTERS
          Application counters
APPLICATION_ROLES
          All roles that exist within an application
ENTITY_ALIASES
          Alternate lookup table for finding entities.
ENTITY_COMPOSITE_DICTIONARIES
          Typed vs.
ENTITY_CONNECTIONS
          The index that contains a list of all entities from their source entity.
ENTITY_COUNTERS
          Entity counters
ENTITY_DICTIONARIES
          each row models name:value pairs.
ENTITY_ID_SETS
          Rows that are full of UUIDs.
ENTITY_INDEX
          Contains all secondary indexes for entities
ENTITY_INDEX_ENTRIES
          Contains all properties that have ever been indexed for an entity
ENTITY_METADATA
          No longer used?
ENTITY_PROPERTIES
          This is where the entity objects are stored
ENTITY_UNIQUE
          Unique index for properties that must remain the same
 
Field Summary
static String DEFAULT_DYNAMIC_COMPOSITE_ALIASES
           
 
Method Summary
 boolean create()
           
 String getColumnFamily()
           
 String getComparator()
           
 List<me.prettyprint.hector.api.ddl.ColumnDefinition> getMetadata()
           
 String getValidator()
           
 boolean isComposite()
           
 String toString()
           
static ApplicationCF valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ApplicationCF[] 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

ENTITY_PROPERTIES

public static final ApplicationCF ENTITY_PROPERTIES
This is where the entity objects are stored


ENTITY_DICTIONARIES

public static final ApplicationCF ENTITY_DICTIONARIES
each row models name:value pairs. Schema for the list of dictionary types


ENTITY_ID_SETS

public static final ApplicationCF ENTITY_ID_SETS
Rows that are full of UUIDs. Used when we want to have a row full of references to other entities. Mainly, this is for collections. Collections are represented by this CF.


ENTITY_COMPOSITE_DICTIONARIES

public static final ApplicationCF ENTITY_COMPOSITE_DICTIONARIES
Typed vs. untyped dictionary. Dynamic entity dictionaries end up here. EntityManagerImpl.getDictionaryAsMap(org.usergrid.persistence.EntityRef, String)


ENTITY_METADATA

public static final ApplicationCF ENTITY_METADATA
No longer used?


ENTITY_ALIASES

public static final ApplicationCF ENTITY_ALIASES
Alternate lookup table for finding entities.


ENTITY_CONNECTIONS

public static final ApplicationCF ENTITY_CONNECTIONS
The index that contains a list of all entities from their source entity.


ENTITY_INDEX

public static final ApplicationCF ENTITY_INDEX
Contains all secondary indexes for entities


ENTITY_UNIQUE

public static final ApplicationCF ENTITY_UNIQUE
Unique index for properties that must remain the same


ENTITY_INDEX_ENTRIES

public static final ApplicationCF ENTITY_INDEX_ENTRIES
Contains all properties that have ever been indexed for an entity


APPLICATION_ROLES

public static final ApplicationCF APPLICATION_ROLES
All roles that exist within an application


APPLICATION_AGGREGATE_COUNTERS

public static final ApplicationCF APPLICATION_AGGREGATE_COUNTERS
Application counters


ENTITY_COUNTERS

public static final ApplicationCF ENTITY_COUNTERS
Entity counters

Field Detail

DEFAULT_DYNAMIC_COMPOSITE_ALIASES

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

values

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

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

valueOf

public static ApplicationCF 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<ApplicationCF>

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.