public class SpaceDocumentTypeNode extends AbstractCompoundTypeNode
VirtualEntry
based implementation of CompoundTypeNode
.Modifier and Type | Field and Description |
---|---|
protected String |
fullName |
protected String |
name |
protected String |
typeName |
Constructor and Description |
---|
SpaceDocumentTypeNode() |
SpaceDocumentTypeNode(String typeName,
String parentFullName,
String name,
Map<String,TypeNode> initialChildren,
TypeNodeContext context) |
Modifier and Type | Method and Description |
---|---|
protected String |
generateFullName(String parentFullName,
String name) |
protected String |
getDynamicHeaderColumnName()
controls how this type will be read from cassandra, see implementations and
SpaceDocumentTopLevelTypeNode.
|
String |
getFullName() |
String |
getName() |
Class<?> |
getType() |
String |
getTypeName() |
SpaceDocument |
readFromColumnFamilyRow(ColumnFamilyRow row,
TypeNodeContext context)
Recursively read the value matching this type node property from the
ColumnFamilyRow . |
protected boolean |
shouldSkipEntryWrite(String key,
Object value) |
protected void |
writeToColumnFamilyRowImpl(Object value,
ColumnFamilyRow row,
TypeNodeContext context) |
getAllTypedColumnMetadataChildren, getChildren, writePropertyToColumnFamilyRow, writeToColumnFamilyRow
protected String fullName
protected String name
protected String typeName
public String getName()
public String getFullName()
public Class<?> getType()
public String getTypeName()
protected String getDynamicHeaderColumnName()
AbstractCompoundTypeNode
getDynamicHeaderColumnName
in class AbstractCompoundTypeNode
protected void writeToColumnFamilyRowImpl(Object value, ColumnFamilyRow row, TypeNodeContext context)
writeToColumnFamilyRowImpl
in class AbstractCompoundTypeNode
public SpaceDocument readFromColumnFamilyRow(ColumnFamilyRow row, TypeNodeContext context)
TypeNode
ColumnFamilyRow
.row
- The row to read from.context
- The current TypeNodeContext
.ColumnFamilyRow
.Copyright © GigaSpaces.