public class PojoTypeNode extends AbstractCompoundTypeNode implements ExternalizableTypeNode
CompoundTypeNode
.Modifier and Type | Field and Description |
---|---|
static byte |
SERIAL_VER |
Constructor and Description |
---|
PojoTypeNode() |
PojoTypeNode(String parentFullName,
String name,
Class<?> type,
TypeNodeContext context) |
Modifier and Type | Method and Description |
---|---|
protected String |
getDynamicHeaderColumnName()
controls how this type will be read from cassandra, see implementations and
SpaceDocumentTopLevelTypeNode.
|
String |
getFullName() |
String |
getName() |
Class<?> |
getType() |
void |
readExternal(ObjectInput in) |
Object |
readFromColumnFamilyRow(ColumnFamilyRow row,
TypeNodeContext context)
Recursively read the value matching this type node property from the
ColumnFamilyRow . |
void |
writeExternal(ObjectOutput out) |
protected void |
writeToColumnFamilyRowImpl(Object value,
ColumnFamilyRow row,
TypeNodeContext context) |
getAllTypedColumnMetadataChildren, getChildren, writePropertyToColumnFamilyRow, writeToColumnFamilyRow
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeToColumnFamilyRow
public static final byte SERIAL_VER
public PojoTypeNode()
public PojoTypeNode(String parentFullName, String name, Class<?> type, TypeNodeContext context)
public String getName()
public Class<?> getType()
public String getFullName()
getFullName
in interface TypeNode
protected String getDynamicHeaderColumnName()
AbstractCompoundTypeNode
getDynamicHeaderColumnName
in class AbstractCompoundTypeNode
protected void writeToColumnFamilyRowImpl(Object value, ColumnFamilyRow row, TypeNodeContext context)
writeToColumnFamilyRowImpl
in class AbstractCompoundTypeNode
public Object readFromColumnFamilyRow(ColumnFamilyRow row, TypeNodeContext context)
TypeNode
ColumnFamilyRow
.readFromColumnFamilyRow
in interface TypeNode
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.