This project has retired. For details please refer to its
Attic page.
CassandraMapping (Apache Gora 0.2 API)
org.apache.gora.cassandra.store
Class CassandraMapping
java.lang.Object
org.apache.gora.cassandra.store.CassandraMapping
public class CassandraMapping
- extends Object
|
Field Summary |
static org.slf4j.Logger |
LOG
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.slf4j.Logger LOG
CassandraMapping
public CassandraMapping()
getHostName
public String getHostName()
getClusterName
public String getClusterName()
getKeyspaceName
public String getKeyspaceName()
loadConfiguration
public void loadConfiguration()
throws org.jdom.JDOMException,
IOException
- Throws:
org.jdom.JDOMException
IOException
getFamily
public String getFamily(String name)
getColumn
public String getColumn(String name)
isSuper
public boolean isSuper(String family)
- Read family super attribute.
- Parameters:
family - the family name
- Returns:
- true is the family is a super column family
getColumnFamilyDefinitions
public List<me.prettyprint.hector.api.ddl.ColumnFamilyDefinition> getColumnFamilyDefinitions()
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.