public abstract class AbstractCompoundTypeNode extends Object implements CompoundTypeNode
CompoundTypeNode
implementations.Constructor and Description |
---|
AbstractCompoundTypeNode() |
Modifier and Type | Method and Description |
---|---|
Map<String,TypedColumnMetadata> |
getAllTypedColumnMetadataChildren() |
protected Map<String,TypeNode> |
getChildren() |
protected abstract String |
getDynamicHeaderColumnName()
controls how this type will be read from cassandra, see implementations and
SpaceDocumentTopLevelTypeNode.
|
protected void |
writePropertyToColumnFamilyRow(ColumnFamilyRow row,
String propertyName,
Object propertyValue,
TypeNodeContext context) |
void |
writeToColumnFamilyRow(Object value,
ColumnFamilyRow row,
TypeNodeContext context)
Recursively write the value matching this type node and all its children to a
ColumnFamilyRow instance. |
protected abstract void |
writeToColumnFamilyRowImpl(Object value,
ColumnFamilyRow row,
TypeNodeContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFullName, getName, getType, readFromColumnFamilyRow
public Map<String,TypedColumnMetadata> getAllTypedColumnMetadataChildren()
getAllTypedColumnMetadataChildren
in interface CompoundTypeNode
public void writeToColumnFamilyRow(Object value, ColumnFamilyRow row, TypeNodeContext context)
TypeNode
ColumnFamilyRow
instance.writeToColumnFamilyRow
in interface TypeNode
value
- The value matching this type node.row
- The row to write the value into.context
- the current TypeNodeContext
.protected void writePropertyToColumnFamilyRow(ColumnFamilyRow row, String propertyName, Object propertyValue, TypeNodeContext context)
protected abstract void writeToColumnFamilyRowImpl(Object value, ColumnFamilyRow row, TypeNodeContext context)
protected abstract String getDynamicHeaderColumnName()
Copyright © GigaSpaces.