public class SpaceDocumentTopLevelTypeNode extends SpaceDocumentTypeNode implements TopLevelTypeNode
SpaceDocument
based implementation of TopLevelTypeNode
.Modifier and Type | Field and Description |
---|---|
static byte |
SERIAL_VER |
fullName, name, typeName
Constructor and Description |
---|
SpaceDocumentTopLevelTypeNode() |
SpaceDocumentTopLevelTypeNode(String typeName,
String keyName,
Class<?> keyType,
Map<String,TypeNode> initialChildren,
TypeNodeContext context) |
Modifier and Type | Method and Description |
---|---|
protected String |
generateFullName(String parentFullName,
String name) |
String |
getKeyName() |
Class<?> |
getKeyType() |
void |
readExternal(ObjectInput in) |
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) |
void |
writeExternal(ObjectOutput out) |
protected void |
writePropertyToColumnFamilyRow(ColumnFamilyRow row,
String propertyName,
Object propertyValue,
TypeNodeContext context) |
getDynamicHeaderColumnName, getFullName, getName, getType, getTypeName, writeToColumnFamilyRowImpl
getAllTypedColumnMetadataChildren, getChildren, writeToColumnFamilyRow
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTypeName
getAllTypedColumnMetadataChildren
getFullName, getName, getType, writeToColumnFamilyRow
public static final byte SERIAL_VER
public String getKeyName()
getKeyName
in interface TopLevelTypeNode
public Class<?> getKeyType()
getKeyType
in interface TopLevelTypeNode
protected String generateFullName(String parentFullName, String name)
generateFullName
in class SpaceDocumentTypeNode
protected boolean shouldSkipEntryWrite(String key, Object value)
shouldSkipEntryWrite
in class SpaceDocumentTypeNode
protected void writePropertyToColumnFamilyRow(ColumnFamilyRow row, String propertyName, Object propertyValue, TypeNodeContext context)
writePropertyToColumnFamilyRow
in class AbstractCompoundTypeNode
public SpaceDocument readFromColumnFamilyRow(ColumnFamilyRow row, TypeNodeContext context)
TypeNode
ColumnFamilyRow
.readFromColumnFamilyRow
in interface TypeNode
readFromColumnFamilyRow
in class SpaceDocumentTypeNode
row
- The row to read from.context
- The current TypeNodeContext
.ColumnFamilyRow
.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.