GigaSpaces XAP 9.7.2 API

org.openspaces.persistency.cassandra.meta
Class AbstractColumnMetadata

java.lang.Object
  extended by org.openspaces.persistency.cassandra.meta.AbstractColumnMetadata
All Implemented Interfaces:
ColumnMetadata, TypeNode
Direct Known Subclasses:
DynamicColumnMetadata, TypedColumnMetadata

public abstract class AbstractColumnMetadata
extends Object
implements ColumnMetadata, TypeNode

Base class for ColumnMetadata implementations

Since:
9.1.1
Author:
Dan Kilman

Constructor Summary
AbstractColumnMetadata()
           
 
Method Summary
 Object readFromColumnFamilyRow(ColumnFamilyRow row, TypeNodeContext context)
          Recursively read the value matching this type node property from the ColumnFamilyRow.
 void writeToColumnFamilyRow(Object value, ColumnFamilyRow row, TypeNodeContext context)
          Recursively write the value matching this type node and all its children to a ColumnFamilyRow instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openspaces.persistency.cassandra.meta.ColumnMetadata
getFullName, getSerializer
 
Methods inherited from interface org.openspaces.persistency.cassandra.meta.mapping.node.TypeNode
getFullName, getName, getType
 

Constructor Detail

AbstractColumnMetadata

public AbstractColumnMetadata()
Method Detail

writeToColumnFamilyRow

public void writeToColumnFamilyRow(Object value,
                                   ColumnFamilyRow row,
                                   TypeNodeContext context)
Description copied from interface: TypeNode
Recursively write the value matching this type node and all its children to a ColumnFamilyRow instance.

Specified by:
writeToColumnFamilyRow in interface TypeNode
Parameters:
value - The value matching this type node.
row - The row to write the value into.
context - the current TypeNodeContext.

readFromColumnFamilyRow

public Object readFromColumnFamilyRow(ColumnFamilyRow row,
                                      TypeNodeContext context)
Description copied from interface: TypeNode
Recursively read the value matching this type node property from the ColumnFamilyRow.

Specified by:
readFromColumnFamilyRow in interface TypeNode
Parameters:
row - The row to read from.
context - The current TypeNodeContext.
Returns:
The value read from the ColumnFamilyRow.

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.