Class AbstractColumnMetadata
java.lang.Object
org.openspaces.persistency.cassandra.meta.AbstractColumnMetadata
- All Implemented Interfaces:
ColumnMetadata,TypeNode
- Direct Known Subclasses:
DynamicColumnMetadata,TypedColumnMetadata
Base class for
ColumnMetadata implementations- Since:
- 9.1.1
- Author:
- Dan Kilman
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadFromColumnFamilyRow(ColumnFamilyRow row, TypeNodeContext context) Recursively read the value matching this type node property from theColumnFamilyRow.voidwriteToColumnFamilyRow(Object value, ColumnFamilyRow row, TypeNodeContext context) Recursively write the value matching this type node and all its children to aColumnFamilyRowinstance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openspaces.persistency.cassandra.meta.ColumnMetadata
getFullName, getSerializerMethods inherited from interface org.openspaces.persistency.cassandra.meta.mapping.node.TypeNode
getFullName, getName, getType
-
Constructor Details
-
AbstractColumnMetadata
public AbstractColumnMetadata()
-
-
Method Details
-
writeToColumnFamilyRow
Description copied from interface:TypeNodeRecursively write the value matching this type node and all its children to aColumnFamilyRowinstance.- Specified by:
writeToColumnFamilyRowin interfaceTypeNode- Parameters:
value- The value matching this type node.row- The row to write the value into.context- the currentTypeNodeContext.
-
readFromColumnFamilyRow
Description copied from interface:TypeNodeRecursively read the value matching this type node property from theColumnFamilyRow.- Specified by:
readFromColumnFamilyRowin interfaceTypeNode- Parameters:
row- The row to read from.context- The currentTypeNodeContext.- Returns:
- The value read from the
ColumnFamilyRow.
-