org.openspaces.persistency.cassandra.meta
Class AbstractColumnMetadata
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractColumnMetadata
public AbstractColumnMetadata()
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
.
Copyright © GigaSpaces.