Class ColumnFamily (2.13.0)

public final class ColumnFamily

Wrapper for ColumnFamily protocol buffer object

Inheritance

Object > ColumnFamily

Static Methods

fromProto(String id, ColumnFamily proto)

public static ColumnFamily fromProto(String id, ColumnFamily proto)
Parameters
NameDescription
idString
protoColumnFamily
Returns
TypeDescription
ColumnFamily

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getGCRule()

public GCRules.GCRule getGCRule()

Get's the GCRule configured for the column family.

Returns
TypeDescription
GCRules.GCRule

getId()

public String getId()

Gets the column family's id.

Returns
TypeDescription
String

hasGCRule()

public boolean hasGCRule()

Returns true if a GCRule has been configured for the family.

Returns
TypeDescription
boolean

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides