org.openspaces.persistency.cassandra.meta.mapping.node
Class MapTypeNode
java.lang.Object
org.openspaces.persistency.cassandra.meta.mapping.node.AbstractCompoundTypeNode
org.openspaces.persistency.cassandra.meta.mapping.node.MapTypeNode
- All Implemented Interfaces:
- CompoundTypeNode, TypeNode
public class MapTypeNode
- extends AbstractCompoundTypeNode
Map
based CompoundTypeNode
(currently, unused)
- 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 |
MapTypeNode
public MapTypeNode(String fullName)
getFullName
public String getFullName()
- Returns:
- The type node full name including that path to this this type nodes matching property.
getDynamicHeaderColumnName
protected String getDynamicHeaderColumnName()
- Description copied from class:
AbstractCompoundTypeNode
- controls how this type will be read from cassandra, see implementations and SpaceDocumentTopLevelTypeNode.
returning null will result by child property values being put in a HashMap
- Specified by:
getDynamicHeaderColumnName
in class AbstractCompoundTypeNode
writeToColumnFamilyRowImpl
protected void writeToColumnFamilyRowImpl(Object value,
ColumnFamilyRow row,
TypeNodeContext context)
- Specified by:
writeToColumnFamilyRowImpl
in class AbstractCompoundTypeNode
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
.
- Parameters:
row
- The row to read from.context
- The current TypeNodeContext
.
- Returns:
- The value read from the
ColumnFamilyRow
.
getName
public String getName()
- Returns:
- The type node simple property name (without the path).
getType
public Class<?> getType()
- Returns:
- The type of this type nodes matching property.
Copyright © GigaSpaces.