|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.netflix.astyanax.model.ColumnFamily<K,C>
K
- C
- public class ColumnFamily<K,C>
Basic column family definition. The column family definition encapsulates the column family name as well as the type and serializers for the row keys and first level columns. Super column subcolumn name type and serializers are specified using a ColumnPath.
Constructor Summary | |
---|---|
ColumnFamily(java.lang.String columnFamilyName,
Serializer<K> keySerializer,
Serializer<C> columnSerializer)
|
|
ColumnFamily(java.lang.String columnFamilyName,
Serializer<K> keySerializer,
Serializer<C> columnSerializer,
ColumnType type)
Deprecated. Super columns should be replaced with composite columns |
|
ColumnFamily(java.lang.String columnFamilyName,
Serializer<K> keySerializer,
Serializer<C> columnSerializer,
Serializer<?> defaultValueSerializer)
|
Method Summary | ||
---|---|---|
int |
compareTo(ColumnFamily<K,C> other)
|
|
boolean |
equals(java.lang.Object obj)
|
|
Serializer<C> |
getColumnSerializer()
Serializer for first level column names. |
|
Serializer<?> |
getDefaultValueSerializer()
|
|
Serializer<K> |
getKeySerializer()
Serializer used to generate row keys. |
|
java.lang.String |
getName()
|
|
ColumnType |
getType()
Deprecated. Super columns should be replaced with composite columns |
|
int |
hashCode()
|
|
static
|
newColumnFamily(java.lang.String columnFamilyName,
Serializer<K> keySerializer,
Serializer<C> columnSerializer)
|
|
static
|
newColumnFamily(java.lang.String columnFamilyName,
Serializer<K> keySerializer,
Serializer<C> columnSerializer,
Serializer<?> defaultSerializer)
|
|
PreparedIndexExpression<K,C> |
newIndexClause()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColumnFamily(java.lang.String columnFamilyName, Serializer<K> keySerializer, Serializer<C> columnSerializer, ColumnType type)
columnFamilyName
- keySerializer
- columnSerializer
- type
- public ColumnFamily(java.lang.String columnFamilyName, Serializer<K> keySerializer, Serializer<C> columnSerializer)
public ColumnFamily(java.lang.String columnFamilyName, Serializer<K> keySerializer, Serializer<C> columnSerializer, Serializer<?> defaultValueSerializer)
Method Detail |
---|
public java.lang.String getName()
public Serializer<C> getColumnSerializer()
public Serializer<K> getKeySerializer()
public Serializer<?> getDefaultValueSerializer()
public ColumnType getType()
public PreparedIndexExpression<K,C> newIndexClause()
public static <K,C> ColumnFamily<K,C> newColumnFamily(java.lang.String columnFamilyName, Serializer<K> keySerializer, Serializer<C> columnSerializer)
public static <K,C> ColumnFamily<K,C> newColumnFamily(java.lang.String columnFamilyName, Serializer<K> keySerializer, Serializer<C> columnSerializer, Serializer<?> defaultSerializer)
public int compareTo(ColumnFamily<K,C> other)
compareTo
in interface java.lang.Comparable<ColumnFamily<K,C>>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |