Class AttributeType.StructType
- java.lang.Object
-
- io.basestar.storage.hazelcast.serde.AttributeType.StructType
-
- All Implemented Interfaces:
AttributeType<io.basestar.schema.Instance>
- Enclosing interface:
- AttributeType<T>
public static class AttributeType.StructType extends java.lang.Object implements AttributeType<io.basestar.schema.Instance>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.basestar.storage.hazelcast.serde.AttributeType
AttributeType.BinaryType, AttributeType.BooleanArrayType, AttributeType.BooleanType, AttributeType.EncodedType<T>, AttributeType.IntegerArrayType, AttributeType.IntegerType, AttributeType.NumberArrayType, AttributeType.NumberType, AttributeType.RefArrayType, AttributeType.RefType, AttributeType.StringArrayType, AttributeType.StringType, AttributeType.StructArrayType, AttributeType.StructType
-
-
Field Summary
-
Fields inherited from interface io.basestar.storage.hazelcast.serde.AttributeType
BINARY, BOOLEAN, BOOLEAN_ARRAY, INTEGER, INTEGER_ARRAY, NUMBER, NUMBER_ARRAY, REF, REF_ARRAY, STRING, STRING_ARRAY
-
-
Constructor Summary
Constructors Constructor Description StructType(io.basestar.schema.StructSchema schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefValue(PortableSchemaFactory factory, com.hazelcast.nio.serialization.ClassDefinitionBuilder builder, java.lang.String name)io.basestar.schema.InstancereadValue(com.hazelcast.nio.serialization.PortableReader reader, java.lang.String name)voidwriteValue(PortableSchemaFactory factory, com.hazelcast.nio.serialization.PortableWriter writer, java.lang.String name, io.basestar.schema.Instance value)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.basestar.storage.hazelcast.serde.AttributeType
def, read, write
-
-
-
-
Method Detail
-
readValue
public io.basestar.schema.Instance readValue(com.hazelcast.nio.serialization.PortableReader reader, java.lang.String name) throws java.io.IOException- Specified by:
readValuein interfaceAttributeType<io.basestar.schema.Instance>- Throws:
java.io.IOException
-
writeValue
public void writeValue(PortableSchemaFactory factory, com.hazelcast.nio.serialization.PortableWriter writer, java.lang.String name, io.basestar.schema.Instance value) throws java.io.IOException
- Specified by:
writeValuein interfaceAttributeType<io.basestar.schema.Instance>- Throws:
java.io.IOException
-
defValue
public void defValue(PortableSchemaFactory factory, com.hazelcast.nio.serialization.ClassDefinitionBuilder builder, java.lang.String name)
- Specified by:
defValuein interfaceAttributeType<io.basestar.schema.Instance>
-
-