- 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"
}