Class FeatureTypeConfigDeserializer

java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<FeatureTypeConfig>
com.linkedin.feathr.common.FeatureTypeConfigDeserializer
All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider

public class FeatureTypeConfigDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<FeatureTypeConfig>
Config deserializer for FeatureType config. It mainly supports parsing two type configs: 1. Simple type config: type with a enum. Example: type: BOOLEAN 2. Type config with more specifications. For example: DENSE_VECTOR with size: type: { type: DENSE_VECTOR shape: [10] doc: "documentation" } TENSOR type with more details: type: { type: DENSE_TENSOR shape: [10, 10] dimensionType: [INT, INT] valType: FLOAT doc: "documentation" }
  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FeatureTypeConfigDeserializer

      public FeatureTypeConfigDeserializer()
  • Method Details

    • deserialize

      public FeatureTypeConfig deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
      Specified by:
      deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<FeatureTypeConfig>
      Throws:
      IOException