Uses of Class
org.apache.tinkerpop.gremlin.structure.io.gryo.GryoMapper.Builder
Packages that use GryoMapper.Builder
-
Uses of GryoMapper.Builder in org.apache.tinkerpop.gremlin.structure.io.gryo
Methods in org.apache.tinkerpop.gremlin.structure.io.gryo that return GryoMapper.BuilderModifier and TypeMethodDescriptionRegister custom classes to serializes with gryo using default serialization.GryoMapper.Builder.addCustom(Class clazz, Function<org.apache.tinkerpop.shaded.kryo.Kryo, org.apache.tinkerpop.shaded.kryo.Serializer> functionOfKryo) Register a custom class to serialize with a custom serializer as returned from aFunction.GryoMapper.Builder.addCustom(Class clazz, SerializerShim serializer) Register custom class to serialize with a custom serialization shim.Register custom class to serialize with a custom serialization class.GryoMapper.Builder.addRegistry(IoRegistry registry) Adds a vendor suppliedIoRegistryto theMapper.Builderwhich enables it to check for vendor custom serializers to add to theMapper.static GryoMapper.BuilderGryoMapper.build()GryoMapper.Builder.classResolver(Supplier<org.apache.tinkerpop.shaded.kryo.ClassResolver> classResolverSupplier) Provides a custom KryoClassResolverto be supplied to aKryoinstance.GryoIo.mapper()Constructs aMapper.Builderwhich is responsible for constructing the abstraction over different serialization methods.GryoMapper.Builder.referenceTracking(boolean referenceTracking) By default, each appearance of an object in the graph after the first is stored as an integer ordinal.GryoMapper.Builder.registrationRequired(boolean registrationRequired) When set totrue, all classes serialized by theKryoinstances created from thisGryoMappermust have their classes known up front and registered appropriately through this builder.GryoMapper.Builder.version(GryoVersion version) The version of Gryo to use in the mapper.Method parameters in org.apache.tinkerpop.gremlin.structure.io.gryo with type arguments of type GryoMapper.BuilderModifier and TypeMethodDescriptionGryoPool.Builder.initializeMapper(Consumer<GryoMapper.Builder> gryoMapperConsumer) A consumer to update theGryoMapper.Builderonce constructed.