org.springframework.datastore.keyvalue.mapping
Class Family

java.lang.Object
  extended by org.springframework.datastore.keyvalue.mapping.Family

public class Family
extends Object

A Family is a grouping of KeyValue pairs and is typically composed of a keyspace and the family name.

For example in Cassandra a Family relates to a ColumnFamily or in BigTable a Family relates to a an Entity kind.

Other more simplistic key/value stores may just use prefixes on keys for the family

Since:
1.0

Constructor Summary
Family()
           
Family(String keyspace, String family)
           
 
Method Summary
 String getFamily()
           
 String getKeyspace()
           
 void setFamily(String family)
           
 void setKeyspace(String keyspace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Family

public Family()

Family

public Family(String keyspace,
              String family)
Method Detail

getKeyspace

public String getKeyspace()

getFamily

public String getFamily()

setKeyspace

public void setKeyspace(String keyspace)

setFamily

public void setFamily(String family)