Package dev.frostlake.http
Class WireRowsDeserializer
- All Implemented Interfaces:
tools.jackson.databind.deser.NullValueProvider
public final class WireRowsDeserializer
extends tools.jackson.databind.ValueDeserializer<List<List<Object>>>
Reads a response's rows off the wire token by token, so a number's own text decides its Java form.
An integer token is the reader's integer; a fraction is a BigDecimal exact to the digit, which is
what keeps a NUMBER(38,20) exact across the transport; and a fraction spelled with a minus sign
whose value is zero is a FLOAT's negative zero, the one number a BigDecimal cannot hold, so it
comes back as the double
-0.0. A tree read would have dropped that sign before the client
could see the column was a FLOAT; the client still re-types every FLOAT cell from the column
metadata afterwards, so nothing else here needs the type. Anything that is not a scalar token is
read the way the mapper reads any untyped value.-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.ValueDeserializer
tools.jackson.databind.ValueDeserializer.None -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(tools.jackson.core.JsonParser parser, tools.jackson.databind.DeserializationContext context) Methods inherited from class tools.jackson.databind.ValueDeserializer
collectAllPropertyNamesTo, createContextual, deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getObjectIdReader, handledType, hasAnySetter, isCachable, logicalType, replaceDelegatee, resolve, supportsUpdate, unwrappingDeserializer
-
Constructor Details
-
WireRowsDeserializer
public WireRowsDeserializer()
-
-
Method Details
-
deserialize
-