org.apache.tinkerpop.gremlin.driver.ser

## Class GryoMessageSerializerV1d0

- java.lang.Object
- - org.apache.tinkerpop.gremlin.driver.ser.AbstractMessageSerializer
  - - org.apache.tinkerpop.gremlin.driver.ser.AbstractGryoMessageSerializerV1d0
    - - org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0

- All Implemented Interfaces:
    MessageSerializer

      public final class GryoMessageSerializerV1d0
      extends AbstractGryoMessageSerializerV1d0

  The standard Gryo serializer that uses "detached" graph elements during serialization. Detached elements such as `DetachedVertex` include the label and the properties associated with it which could be more costly for network serialization purposes.
  Author:
    Stephen Mallette (http://stephen.genoprime.com)

- - ### Field Summary

    - ### Fields inherited from class org.apache.tinkerpop.gremlin.driver.ser.AbstractGryoMessageSerializerV1d0

      `serializeToString, TOKEN_BUFFER_SIZE, TOKEN_CLASS_RESOLVER_SUPPLIER, TOKEN_CUSTOM, TOKEN_SERIALIZE_RESULT_TO_STRING, TOKEN_USE_MAPPER_FROM_GRAPH`

    - ### Fields inherited from class org.apache.tinkerpop.gremlin.driver.ser.AbstractMessageSerializer

      `TOKEN_IO_REGISTRIES`

    - ### Fields inherited from interface org.apache.tinkerpop.gremlin.driver.MessageSerializer

      `logger`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `GryoMessageSerializerV1d0()` Creates an instance with a standard `GryoMapper` instance.
    `GryoMessageSerializerV1d0(GryoMapper.Builder kryo)` Creates an instance with a standard `GryoMapper` instance.
    `GryoMessageSerializerV1d0(GryoMapper kryo)` Deprecated. As of release 3.2.1, replaced by `GryoMessageSerializerV1d0(GryoMapper.Builder)`.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String[]` | `mimeTypesSupported()` The list of mime types that the serializer supports.

    - ### Methods inherited from class org.apache.tinkerpop.gremlin.driver.ser.AbstractGryoMessageSerializerV1d0

      `configure, deserializeRequest, deserializeResponse, serializeRequestAsBinary, serializeResponseAsBinary`

    - ### Methods inherited from class org.apache.tinkerpop.gremlin.driver.ser.AbstractMessageSerializer

      `addIoRegistries, getListStringFromConfig, tryInstanceMethod`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GryoMessageSerializerV1d0

          public GryoMessageSerializerV1d0()

      Creates an instance with a standard `GryoMapper` instance.

    - #### GryoMessageSerializerV1d0

          public GryoMessageSerializerV1d0(GryoMapper.Builder kryo)

      Creates an instance with a standard `GryoMapper` instance. Note that the instance created by the supplied builder will be overridden by `AbstractGryoMessageSerializerV1d0.configure(java.util.Map<java.lang.String, java.lang.Object>, java.util.Map<java.lang.String, org.apache.tinkerpop.gremlin.structure.Graph>)` if it is called.

    - #### GryoMessageSerializerV1d0

          @Deprecated
          public GryoMessageSerializerV1d0(GryoMapper kryo)

      Deprecated. As of release 3.2.1, replaced by `GryoMessageSerializerV1d0(GryoMapper.Builder)`.
      Creates an instance with a standard `GryoMapper` instance. Note that the instance supplied will be overridden by `AbstractGryoMessageSerializerV1d0.configure(java.util.Map<java.lang.String, java.lang.Object>, java.util.Map<java.lang.String, org.apache.tinkerpop.gremlin.structure.Graph>)` if it is called.

  - ### Method Detail

    - #### mimeTypesSupported

          public String[] mimeTypesSupported()

      Description copied from interface: `MessageSerializer`
      The list of mime types that the serializer supports.

Copyright © 2013–2019 Apache Software Foundation. All rights reserved.