org.apache.tinkerpop.gremlin.structure.io.binary

## Class TypeSerializerRegistry

- java.lang.Object
- - org.apache.tinkerpop.gremlin.structure.io.binary.TypeSerializerRegistry

-     public class TypeSerializerRegistry
      extends Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `TypeSerializerRegistry.Builder`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static TypeSerializerRegistry` | `INSTANCE`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static TypeSerializerRegistry.Builder` | `build()`
    `<DT> TypeSerializer<DT>` | `getSerializer(Class<DT> type)`
    `<DT> TypeSerializer<DT>` | `getSerializer(DataType dataType)`
    `<DT> CustomTypeSerializer<DT>` | `getSerializerForCustomType(String name)` Gets the serializer for a given custom type name.

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

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

- - ### Field Detail

    - #### INSTANCE

          public static final TypeSerializerRegistry INSTANCE

  - ### Method Detail

    - #### build

          public static TypeSerializerRegistry.Builder build()

    - #### getSerializer

          public <DT> TypeSerializer<DT> getSerializer(Class<DT> type)
                                                throws IOException

      Throws:
        `IOException`

    - #### getSerializer

          public <DT> TypeSerializer<DT> getSerializer(DataType dataType)
                                                throws IOException

      Throws:
        `IOException`

    - #### getSerializerForCustomType

          public <DT> CustomTypeSerializer<DT> getSerializerForCustomType(String name)
                                                                   throws IOException

      Gets the serializer for a given custom type name.
      Throws:
        `IOException`

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