Package | Description |
---|---|
org.apache.tinkerpop.gremlin.driver.ser | |
org.apache.tinkerpop.gremlin.structure.io.gryo |
Constructor and Description |
---|
GryoLiteMessageSerializerV1d0(GryoMapper.Builder kryo)
Creates an instance with a standard
GryoMapper instance. |
GryoMessageSerializerV1d0(GryoMapper.Builder kryo)
Creates an instance with a standard
GryoMapper instance. |
Modifier and Type | Method and Description |
---|---|
GryoMapper.Builder |
GryoMapper.Builder.addCustom(Class... custom)
Register custom classes to serializes with gryo using default serialization.
|
GryoMapper.Builder |
GryoMapper.Builder.addCustom(Class clazz,
Function<Kryo,Serializer> functionOfKryo)
Register a custom class to serialize with a custom serializer as returned from a
Function . |
GryoMapper.Builder |
GryoMapper.Builder.addCustom(Class clazz,
Serializer serializer)
Register custom class to serialize with a custom serialization class.
|
GryoMapper.Builder |
GryoMapper.Builder.addRegistry(IoRegistry registry)
Adds a vendor supplied
IoRegistry to the Mapper.Builder which enables it to check for
vendor custom serializers to add to the Mapper . |
static GryoMapper.Builder |
GryoMapper.build() |
GryoMapper.Builder |
GryoMapper.Builder.classResolver(Supplier<ClassResolver> classResolverSupplier)
Provides a custom Kryo
ClassResolver to be supplied to a Kryo instance. |
GryoMapper.Builder |
GryoIo.mapper()
Constructs a
Mapper.Builder which is responsible for constructing the abstraction over different
serialization methods. |
GryoMapper.Builder |
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 |
GryoMapper.Builder.registrationRequired(boolean registrationRequired)
When set to
true , all classes serialized by the Kryo instances created from this
GryoMapper must have their classes known up front and registered appropriately through this
builder. |
Modifier and Type | Method and Description |
---|---|
GryoPool.Builder |
GryoPool.Builder.initializeMapper(Consumer<GryoMapper.Builder> gryoMapperConsumer)
A consumer to update the
GryoMapper.Builder once constructed. |
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.