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
  extended by org.apache.gora.cassandra.store.CassandraMapping

public class CassandraMapping
extends Object


Field Summary
static org.slf4j.Logger LOG
           
 
Constructor Summary
CassandraMapping()
           
 
Method Summary
 String getClusterName()
           
 String getColumn(String name)
           
 List<me.prettyprint.hector.api.ddl.ColumnFamilyDefinition> getColumnFamilyDefinitions()
           
 String getFamily(String name)
           
 String getHostName()
           
 String getKeyspaceName()
           
 boolean isSuper(String family)
          Read family super attribute.
 void loadConfiguration()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.slf4j.Logger LOG
Constructor Detail

CassandraMapping

public CassandraMapping()
Method Detail

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.