public class TypedColumnMetadata extends AbstractColumnMetadata implements ExternalizableTypeNode
TypeNode
implementations for representing a typed column. I.e. its type is part of the
matching static column family metadata.Modifier and Type | Field and Description |
---|---|
static byte |
SERIAL_VER |
Constructor and Description |
---|
TypedColumnMetadata() |
TypedColumnMetadata(String parentFullName,
String name,
Class<?> type,
TypeNodeContext context,
me.prettyprint.hector.api.Serializer<Object> fixedPropertyValueSerializer) |
Modifier and Type | Method and Description |
---|---|
String |
getFullName() |
String |
getName() |
<T> me.prettyprint.hector.api.Serializer<T> |
getSerializer() |
Class<?> |
getType() |
void |
readExternal(ObjectInput in) |
void |
setSerializer(me.prettyprint.hector.api.Serializer<?> serializer) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
readFromColumnFamilyRow, writeToColumnFamilyRow
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readFromColumnFamilyRow, writeToColumnFamilyRow
public static final byte SERIAL_VER
public TypedColumnMetadata()
public TypedColumnMetadata(String parentFullName, String name, Class<?> type, TypeNodeContext context, me.prettyprint.hector.api.Serializer<Object> fixedPropertyValueSerializer)
public String getName()
public String getFullName()
getFullName
in interface ColumnMetadata
getFullName
in interface TypeNode
public Class<?> getType()
public <T> me.prettyprint.hector.api.Serializer<T> getSerializer()
getSerializer
in interface ColumnMetadata
ByteBuffer
representation.public void setSerializer(me.prettyprint.hector.api.Serializer<?> serializer)
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.