org.openspaces.persistency.cassandra.meta.data
Class ColumnFamilyRow
java.lang.Object
  
org.openspaces.persistency.cassandra.meta.data.ColumnFamilyRow
public class ColumnFamilyRow
- extends Object
 
A data holder for holding the row columns and the matching column family metadata.
- Since:
 
  - 9.1.1
 
- Author:
 
  - Dan Kilman
 
 
 
 
 
ColumnFamilyRow
public ColumnFamilyRow(ColumnFamilyMetadata columnFamilyMetadata,
                       Object keyValue,
                       ColumnFamilyRow.ColumnFamilyRowType rowType)
addColumnData
public void addColumnData(ColumnData columnData)
- Parameters:
 columnData - Add the column data to this row instance.
 
getColumn
public ColumnData getColumn(String name)
- Parameters:
 name - The column name.
- Returns:
 - the 
ColumnData matching this name, null if not found. 
 
getDynamicColumns
public List<ColumnData> getDynamicColumns()
- Returns:
 - The dynamic columns that are part of this row.
 when 
getRowType() == Read, the columns are sorted by column name. 
 
getColumns
public Map<String,ColumnData> getColumns()
- Returns:
 - The columns that are part of this row.
 
 
getColumnFamilyMetadata
public ColumnFamilyMetadata getColumnFamilyMetadata()
- Returns:
 - The matching column family metadata for this row.
 
 
getKeyValue
public Object getKeyValue()
- Returns:
 - The key value of this row.
 
 
toString
public String toString()
- Overrides:
 toString in class Object
 
 
getRowType
public ColumnFamilyRow.ColumnFamilyRowType getRowType()
- Returns:
 - The row type.
 
 
Copyright © GigaSpaces.