Class PortableSchemaFactory

  • All Implemented Interfaces:
    com.hazelcast.nio.serialization.PortableFactory

    public class PortableSchemaFactory
    extends java.lang.Object
    implements com.hazelcast.nio.serialization.PortableFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int REF_SLOT  
      static int SLOT_OFFSET  
    • Constructor Summary

      Constructors 
      Constructor Description
      PortableSchemaFactory​(int factoryId, io.basestar.schema.Namespace namespace)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CustomPortable create​(int i)  
      CustomPortable create​(io.basestar.schema.Schema<?> schema)  
      CustomPortable createRef()  
      com.hazelcast.nio.serialization.ClassDefinition def​(int slot)  
      com.hazelcast.nio.serialization.ClassDefinition def​(io.basestar.schema.Schema<?> schema)  
      java.util.Set<com.hazelcast.nio.serialization.ClassDefinition> defs()  
      int getFactoryId()  
      com.hazelcast.nio.serialization.ClassDefinition refDef()  
      com.hazelcast.config.SerializationConfig serializationConfig()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PortableSchemaFactory

        public PortableSchemaFactory​(int factoryId,
                                     io.basestar.schema.Namespace namespace)
    • Method Detail

      • defs

        public java.util.Set<com.hazelcast.nio.serialization.ClassDefinition> defs()
      • getFactoryId

        public int getFactoryId()
      • create

        public CustomPortable create​(int i)
        Specified by:
        create in interface com.hazelcast.nio.serialization.PortableFactory
      • create

        public CustomPortable create​(io.basestar.schema.Schema<?> schema)
      • def

        public com.hazelcast.nio.serialization.ClassDefinition def​(int slot)
      • refDef

        public com.hazelcast.nio.serialization.ClassDefinition refDef()
      • def

        public com.hazelcast.nio.serialization.ClassDefinition def​(io.basestar.schema.Schema<?> schema)
      • serializationConfig

        public com.hazelcast.config.SerializationConfig serializationConfig()