Home
last modified time | relevance | path

Searched refs:LogicalType (Results 1 – 25 of 44) sorted by relevance

12

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/
DCoercionConfigs.java9 import com.fasterxml.jackson.databind.type.LogicalType;
19 private final static int TARGET_TYPE_COUNT = LogicalType.values().length;
119 public MutableCoercionConfig findOrCreateCoercion(LogicalType type) { in findOrCreateCoercion()
162 LogicalType targetType, in findCoercion()
200 && (targetType == LogicalType.Integer)) { in findCoercion()
208 final boolean baseScalar = (targetType == LogicalType.Float) in findCoercion()
209 || (targetType == LogicalType.Integer) in findCoercion()
210 || (targetType == LogicalType.Boolean) in findCoercion()
211 || (targetType == LogicalType.DateTime); in findCoercion()
230 if (targetType == LogicalType.OtherScalar) { in findCoercion()
[all …]
DCoercionAction.java3 import com.fasterxml.jackson.databind.type.LogicalType;
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/
DLogicalType.java11 public enum LogicalType enum
113 public static LogicalType fromClass(Class<?> raw, in fromClass()
114 LogicalType defaultIfNotRecognized) in fromClass()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DNumberDeserializers.java15 import com.fasterxml.jackson.databind.type.LogicalType;
133 protected final LogicalType _logicalType;
143 protected PrimitiveOrWrapperDeserializer(Class<T> vc, LogicalType logicalType, in PrimitiveOrWrapperDeserializer()
154 this(vc, LogicalType.OtherScalar, nvl, empty); in PrimitiveOrWrapperDeserializer()
188 public final LogicalType logicalType() { in logicalType()
210 super(cls, LogicalType.Boolean, nvl, Boolean.FALSE); in BooleanDeserializer()
261 super(cls, LogicalType.Integer, nvl, (byte) 0); in ByteDeserializer()
349 super(cls, LogicalType.Integer, nvl, (short)0); in ShortDeserializer()
437 LogicalType.Integer, nvl, '\0'); in CharacterDeserializer()
514 super(cls, LogicalType.Integer, nvl, 0); in IntegerDeserializer()
[all …]
DTokenBufferDeserializer.java9 import com.fasterxml.jackson.databind.type.LogicalType;
31 public LogicalType logicalType() { in logicalType()
32 return LogicalType.Untyped; in logicalType()
DByteBufferDeserializer.java8 import com.fasterxml.jackson.databind.type.LogicalType;
18 public LogicalType logicalType() { in logicalType()
19 return LogicalType.Binary; in logicalType()
DAtomicBooleanDeserializer.java10 import com.fasterxml.jackson.databind.type.LogicalType;
34 public LogicalType logicalType() { return LogicalType.Boolean; } in logicalType()
DStdScalarDeserializer.java8 import com.fasterxml.jackson.databind.type.LogicalType;
32 public LogicalType logicalType() { in logicalType()
33 return LogicalType.OtherScalar; in logicalType()
DStringDeserializer.java9 import com.fasterxml.jackson.databind.type.LogicalType;
24 public LogicalType logicalType() { in logicalType()
25 return LogicalType.Textual; in logicalType()
DFromStringDeserializer.java21 import com.fasterxml.jackson.databind.type.LogicalType;
129 public LogicalType logicalType() { in logicalType()
130 return LogicalType.OtherScalar; in logicalType()
410 public LogicalType logicalType() { in logicalType()
411 return LogicalType.Textual; in logicalType()
DStdDeserializer.java27 import com.fasterxml.jackson.databind.type.LogicalType;
287 if (ctxt.findCoercionAction(LogicalType.Integer, Integer.class, in _deserializeFromString()
293 if (ctxt.findCoercionAction(LogicalType.Integer, Long.class, in _deserializeFromString()
300 if (ctxt.findCoercionAction(LogicalType.Boolean, Boolean.class, in _deserializeFromString()
423 LogicalType.Boolean, Boolean.TYPE); in _parseBooleanPrimitive()
524 LogicalType.Boolean, targetType); in _parseBoolean()
593 LogicalType.Integer, Byte.TYPE); in _parseBytePrimitive()
660 LogicalType.Integer, Short.TYPE); in _parseShortPrimitive()
725 LogicalType.Integer, Integer.TYPE); in _parseIntPrimitive()
803 LogicalType.Integer, Long.TYPE); in _parseLongPrimitive()
[all …]
DMapEntryDeserializer.java11 import com.fasterxml.jackson.databind.type.LogicalType;
108 public LogicalType logicalType() { in logicalType()
110 return LogicalType.Map; in logicalType()
DEnumSetDeserializer.java13 import com.fasterxml.jackson.databind.type.LogicalType;
145 public LogicalType logicalType() { in logicalType()
146 return LogicalType.Collection; in logicalType()
DFactoryBasedEnumDeserializer.java17 import com.fasterxml.jackson.databind.type.LogicalType;
104 public LogicalType logicalType() { in logicalType()
105 return LogicalType.Enum; in logicalType()
DEnumDeserializer.java15 import com.fasterxml.jackson.databind.type.LogicalType;
169 public LogicalType logicalType() { in logicalType()
170 return LogicalType.Enum; in logicalType()
DDelegatingDeserializer.java11 import com.fasterxml.jackson.databind.type.LogicalType;
157 public LogicalType logicalType() { in logicalType()
DStringCollectionDeserializer.java15 import com.fasterxml.jackson.databind.type.LogicalType;
96 public LogicalType logicalType() { in logicalType()
97 return LogicalType.Collection; in logicalType()
DStringArrayDeserializer.java13 import com.fasterxml.jackson.databind.type.LogicalType;
80 public LogicalType logicalType() { in logicalType()
81 return LogicalType.Array; in logicalType()
DStdDelegatingDeserializer.java11 import com.fasterxml.jackson.databind.type.LogicalType;
157 public LogicalType logicalType() { in logicalType()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DCoercePojosTest.java8 import com.fasterxml.jackson.databind.type.LogicalType;
115 mapper.coercionConfigFor(LogicalType.POJO).setCoercion(shape, CoercionAction.AsNull) in _testPOJOFromEmptyLogicalTypeConfig()
121 mapper.coercionConfigFor(LogicalType.POJO).setCoercion(shape, CoercionAction.AsEmpty) in _testPOJOFromEmptyLogicalTypeConfig()
130 mapper.coercionConfigFor(LogicalType.POJO).setCoercion(shape, in _testPOJOFromEmptyLogicalTypeConfig()
156 mapper.coercionConfigFor(LogicalType.POJO).setCoercion(shape, CoercionAction.AsEmpty) in _testPOJOFromEmptyPhysicalTypeConfig()
DCoerceToBooleanTest.java16 import com.fasterxml.jackson.databind.type.LogicalType;
32 MAPPER_TO_EMPTY.coercionConfigFor(LogicalType.Boolean)
38 MAPPER_TRY_CONVERT.coercionConfigFor(LogicalType.Boolean)
44 MAPPER_TO_NULL.coercionConfigFor(LogicalType.Boolean)
50 MAPPER_TO_FAIL.coercionConfigFor(LogicalType.Boolean)
DCoerceFloatToIntTest.java9 import com.fasterxml.jackson.databind.type.LogicalType;
19 MAPPER_TO_EMPTY.coercionConfigFor(LogicalType.Integer)
25 MAPPER_TRY_CONVERT.coercionConfigFor(LogicalType.Integer)
31 MAPPER_TO_NULL.coercionConfigFor(LogicalType.Integer)
37 MAPPER_TO_FAIL.coercionConfigFor(LogicalType.Integer)
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/
DTypeWrappedDeserializer.java9 import com.fasterxml.jackson.databind.type.LogicalType;
37 public LogicalType logicalType() { in logicalType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DJsonDeserializer.java11 import com.fasterxml.jackson.databind.type.LogicalType;
237 public LogicalType logicalType() { return null; } in logicalType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DAbstractDeserializer.java19 import com.fasterxml.jackson.databind.type.LogicalType;
192 public LogicalType logicalType() { in logicalType()
195 return LogicalType.POJO; in logicalType()

12