Class CustomPortable
- java.lang.Object
-
- io.basestar.storage.hazelcast.serde.CustomPortable
-
- All Implemented Interfaces:
com.hazelcast.nio.serialization.Portable
public class CustomPortable extends java.lang.Object implements com.hazelcast.nio.serialization.Portable
-
-
Constructor Summary
Constructors Constructor Description CustomPortable(PortableSchemaFactory factory, int classId, java.util.Map<java.lang.String,AttributeType<?>> attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetClassId()java.util.Map<java.lang.String,java.lang.Object>getData()intgetFactoryId()voidreadPortable(com.hazelcast.nio.serialization.PortableReader reader)voidsetData(java.util.Map<java.lang.String,java.lang.Object> data)voidwritePortable(com.hazelcast.nio.serialization.PortableWriter writer)
-
-
-
Constructor Detail
-
CustomPortable
public CustomPortable(PortableSchemaFactory factory, int classId, java.util.Map<java.lang.String,AttributeType<?>> attributes)
-
-
Method Detail
-
getFactoryId
public int getFactoryId()
- Specified by:
getFactoryIdin interfacecom.hazelcast.nio.serialization.Portable
-
getClassId
public int getClassId()
- Specified by:
getClassIdin interfacecom.hazelcast.nio.serialization.Portable
-
writePortable
public void writePortable(com.hazelcast.nio.serialization.PortableWriter writer) throws java.io.IOException- Specified by:
writePortablein interfacecom.hazelcast.nio.serialization.Portable- Throws:
java.io.IOException
-
readPortable
public void readPortable(com.hazelcast.nio.serialization.PortableReader reader) throws java.io.IOException- Specified by:
readPortablein interfacecom.hazelcast.nio.serialization.Portable- Throws:
java.io.IOException
-
getData
public java.util.Map<java.lang.String,java.lang.Object> getData()
-
setData
public void setData(java.util.Map<java.lang.String,java.lang.Object> data)
-
-