|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.gora.cassandra.store.CassandraMapping
public class CassandraMapping
Field Summary | |
---|---|
static org.slf4j.Logger |
LOG
|
Constructor Summary | |
---|---|
CassandraMapping(org.jdom.Element keyspace,
org.jdom.Element mapping)
Primary class for loading Cassandra configuration from the 'MAPPING_FILE'. |
Method Summary | |
---|---|
String |
getClusterName()
Simply gets the Cassandra cluster (the machines (nodes) in a logical Cassandra instance) name. |
String |
getColumn(String name)
|
List<me.prettyprint.hector.api.ddl.ColumnFamilyDefinition> |
getColumnFamilyDefinitions()
|
String |
getFamily(String name)
|
String |
getHostName()
Simply gets the Cassandra host name. |
String |
getKeyspaceName()
Simply gets the Cassandra namespace for ColumnFamilies, typically one per application |
boolean |
isSuper(String family)
Read family super attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.slf4j.Logger LOG
Constructor Detail |
---|
public CassandraMapping(org.jdom.Element keyspace, org.jdom.Element mapping)
Method Detail |
---|
public String getHostName()
public String getClusterName()
public String getKeyspaceName()
public String getFamily(String name)
public String getColumn(String name)
public boolean isSuper(String family)
family
- the family name
public List<me.prettyprint.hector.api.ddl.ColumnFamilyDefinition> getColumnFamilyDefinitions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |