Class InternalSerdeProvider

java.lang.Object
com.arangodb.internal.serde.InternalSerdeProvider
All Implemented Interfaces:
ArangoSerdeProvider

public class InternalSerdeProvider extends Object implements ArangoSerdeProvider
  • Constructor Details

    • InternalSerdeProvider

      public InternalSerdeProvider(ContentType contentType)
      Parameters:
      contentType - serialization target data type
  • Method Details

    • create

      public InternalSerde create()
      Creates a new InternalSerde with default settings.
      Specified by:
      create in interface ArangoSerdeProvider
      Returns:
      the created InternalSerde
    • create

      public InternalSerde create(ArangoSerde userSerde, com.fasterxml.jackson.databind.Module protocolModule)
      Creates a new InternalSerde with default settings.
      Parameters:
      userSerde - user serde
      protocolModule - optional Jackson module to support protocol specific types
      Returns:
      the created InternalSerde
    • getContentType

      public ContentType getContentType()
      Specified by:
      getContentType in interface ArangoSerdeProvider
      Returns:
      the supported content type