Class EmbeddingDeserializer

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.deser.NullValueProvider

    public class EmbeddingDeserializer
    extends com.fasterxml.jackson.databind.JsonDeserializer<T>
    Deserializes embedding and stores it in attachment directory.
    Author:
    Damian Szczepanik (damianszczepanik@github)
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer

        com.fasterxml.jackson.databind.JsonDeserializer.None
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T deserialize​(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context)  
      Embedding deserialize​(com.fasterxml.jackson.databind.JsonNode rootNode, Configuration configuration)  
      • Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer

        deserialize, deserializeWithType, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
    • Constructor Detail

      • EmbeddingDeserializer

        public EmbeddingDeserializer()
    • Method Detail

      • deserialize

        public Embedding deserialize​(com.fasterxml.jackson.databind.JsonNode rootNode,
                                     Configuration configuration)
      • deserialize

        public T deserialize​(com.fasterxml.jackson.core.JsonParser parser,
                             com.fasterxml.jackson.databind.DeserializationContext context)
                      throws IOException
        Specified by:
        deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<T>
        Throws:
        IOException