Top Fields Constructors Methods
tools.jackson.datatype.guava.deser.table

public abstract Class TableDeserializer<T extends Table<Object, Object, Object>>

extends StdDeserializer<T extends Table<Object, Object, Object>>
Class Inheritance
Known Direct Subclasses
tools.jackson.datatype.guava.deser.table.ImmutableTableDeserializer, tools.jackson.datatype.guava.deser.table.MutableTableDeserializer
Imports
tools.jackson.core.JacksonException, .JsonToken, tools.jackson.databind.*, tools.jackson.databind.deser.NullValueProvider, tools.jackson.databind.deser.impl.NullsConstantProvider, tools.jackson.databind.deser.std.StdDeserializer, tools.jackson.databind.jsontype.TypeDeserializer, tools.jackson.databind.type.MapLikeType, com.google.common.collect.Table

Author
Abhishekkr3003

Field Summary

Modifier and TypeField and Description
protected final KeyDeserializer
protected final NullValueProvider
protected final KeyDeserializer
protected final boolean
protected final MapLikeType
protected final ValueDeserializer<?>
protected final TypeDeserializer
Inherited from tools.jackson.databind.deser.std.StdDeserializer:
_valueClass_valueTypeF_MASK_INT_COERCIONS

Constructor Summary

AccessConstructor and Description
protected
TableDeserializer(MapLikeType _type, KeyDeserializer _rowDeserializer, KeyDeserializer _colDeserializer, TypeDeserializer _valueTypeDeserializer, ValueDeserializer<?> _valueDeserializer)

protected
TableDeserializer(MapLikeType _type, KeyDeserializer _rowDeserializer, KeyDeserializer _colDeserializer, TypeDeserializer _valueTypeDeserializer, ValueDeserializer<?> _valueDeserializer, NullValueProvider nvp)

protected

Method Summary

Modifier and TypeMethod and Description
protected abstract ValueDeserializer<?>
public ValueDeserializer<?>
createContextual(DeserializationContext ctxt, BeanProperty property)

Overrides tools.jackson.databind.ValueDeserializer.createContextual.

We need to use this method to properly handle possible contextual variants of key and value deserializers, as well as type deserializers.

protected void
expect(DeserializationContext context, JsonToken expected, JsonToken actual)

Inherited from tools.jackson.databind.deser.std.StdDeserializer:
_byteOverflow_checkBooleanToStringCoercion_checkCoercionFail_checkDoubleSpecialValue_checkFloatSpecialValue_checkFloatToIntCoercion_checkFloatToStringCoercion_checkFromStringCoercion_checkFromStringCoercion_checkIntToFloatCoercion_checkIntToStringCoercion_checkTextualNull_checkToStringCoercion_coerceBooleanFromInt_coercedTypeDesc_coercedTypeDesc_coerceIntegral_deserializeFromArray_deserializeFromEmptyString_deserializeFromString_deserializeWrappedValue_findCoercionFromBlankString_findCoercionFromEmptyArray_findCoercionFromEmptyString_findNullProvider_hasTextualNull_intOverflow_isBlank_isFalse_isIntNumber_isNaN_isNegInf_isPosInf_isTrue_neitherNull_nonNullNumber_parseBoolean_parseBooleanPrimitive_parseBytePrimitive_parseDate_parseDate_parseDateFromArray_parseDouble_parseDoublePrimitive_parseDoublePrimitive_parseFloatPrimitive_parseFloatPrimitive_parseInteger_parseInteger_parseIntPrimitive_parseIntPrimitive_parseLong_parseLong_parseLongPrimitive_parseLongPrimitive_parseShortPrimitive_parseString_reportFailedNullCoerce_shortOverflow_verifyEndArrayForSingle_verifyNullForPrimitive_verifyNullForPrimitiveCoercion_wrapIOFailuredeserializeWithTypefindContentNullProviderfindContentNullStylefindConvertingContentDeserializerfindDeserializerfindFormatFeaturefindFormatOverridesfindValueNullProvidergetValueInstantiatorgetValueTypegetValueTypehandledTypehandleMissingEndArrayForSinglehandleNestedArrayForSinglehandleUnknownPropertyisDefaultDeserializerisDefaultKeyDeserializer

Field Detail

_colDeserializerback to summary
protected final KeyDeserializer _colDeserializer
_nullProviderback to summary
protected final NullValueProvider _nullProvider
_rowDeserializerback to summary
protected final KeyDeserializer _rowDeserializer
_skipNullValuesback to summary
protected final boolean _skipNullValues
_typeback to summary
protected final MapLikeType _type
_valueDeserializerback to summary
protected final ValueDeserializer<?> _valueDeserializer
_valueTypeDeserializerback to summary
protected final TypeDeserializer _valueTypeDeserializer

Constructor Detail

TableDeserializerback to summary
protected TableDeserializer(MapLikeType _type, KeyDeserializer _rowDeserializer, KeyDeserializer _colDeserializer, TypeDeserializer _valueTypeDeserializer, ValueDeserializer<?> _valueDeserializer)
TableDeserializerback to summary
protected TableDeserializer(MapLikeType _type, KeyDeserializer _rowDeserializer, KeyDeserializer _colDeserializer, TypeDeserializer _valueTypeDeserializer, ValueDeserializer<?> _valueDeserializer, NullValueProvider nvp)
TableDeserializerback to summary
protected TableDeserializer(MapLikeType type)

Method Detail

_createContextualback to summary
protected abstract ValueDeserializer<?> _createContextual(MapLikeType t, KeyDeserializer rkd, KeyDeserializer ckd, TypeDeserializer vtd, ValueDeserializer<?> vd, NullValueProvider np)
createContextualback to summary
public ValueDeserializer<?> createContextual(DeserializationContext ctxt, BeanProperty property) throws JacksonException

Overrides tools.jackson.databind.ValueDeserializer.createContextual.

We need to use this method to properly handle possible contextual variants of key and value deserializers, as well as type deserializers.

Annotations
@Override
expectback to summary
protected void expect(DeserializationContext context, JsonToken expected, JsonToken actual)