public class CassandraTimeDeserializer
extends com.fasterxml.jackson.datatype.jsr310.deser.LocalTimeDeserializer
LocalTimes in the context of a JSON returned by a CQL query.
This deserializer expects a string using the format HH:mm:ss.SSSSSSSSS representing value with CQL type
time.
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
_isLenient |
_readTimestampsAsNanosOverride, INSTANCE| Constructor and Description |
|---|
CassandraTimeDeserializer()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected T |
_failForNotLenient(com.fasterxml.jackson.core.JsonParser arg0,
com.fasterxml.jackson.databind.DeserializationContext arg1,
com.fasterxml.jackson.core.JsonToken arg2) |
protected T |
_fromEmptyString(com.fasterxml.jackson.core.JsonParser arg0,
com.fasterxml.jackson.databind.DeserializationContext arg1,
String arg2) |
protected <R> R |
_handleDateTimeException(com.fasterxml.jackson.databind.DeserializationContext arg0,
DateTimeException arg1,
String arg2) |
protected <R> R |
_handleUnexpectedToken(com.fasterxml.jackson.databind.DeserializationContext arg0,
com.fasterxml.jackson.core.JsonParser arg1,
com.fasterxml.jackson.core.JsonToken... arg2) |
protected <R> R |
_handleUnexpectedToken(com.fasterxml.jackson.databind.DeserializationContext arg0,
com.fasterxml.jackson.core.JsonParser arg1,
String arg2,
Object... arg3) |
protected boolean |
_isValidTimestampString(String arg0) |
protected DateTimeException |
_peelDTE(DateTimeException arg0) |
protected <BOGUS> BOGUS |
_reportWrongToken(com.fasterxml.jackson.databind.DeserializationContext arg0,
com.fasterxml.jackson.core.JsonToken arg1,
String arg2) |
protected <BOGUS> BOGUS |
_reportWrongToken(com.fasterxml.jackson.core.JsonParser arg0,
com.fasterxml.jackson.databind.DeserializationContext arg1,
com.fasterxml.jackson.core.JsonToken... arg2) |
protected boolean |
isLenient() |
_fromString, _withFormatOverrides, deserialize, shouldReadTimestampsAsNanoseconds, withDateFormat, withLeniency_throwNoNumericTimestampNeedTimeZone, createContextual, withShapedeserialize, getEmptyAccessPattern, getNullAccessPattern, supportsUpdate_byteOverflow, _checkBooleanToStringCoercion, _checkCoercionFail, _checkDoubleSpecialValue, _checkFloatSpecialValue, _checkFloatToIntCoercion, _checkFloatToStringCoercion, _checkFromStringCoercion, _checkFromStringCoercion, _checkIntToFloatCoercion, _checkIntToStringCoercion, _checkTextualNull, _checkToStringCoercion, _coerceBooleanFromInt, _coercedTypeDesc, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeFromEmptyString, _deserializeFromString, _deserializeWrappedValue, _failDoubleToIntCoercion, _findCoercionFromBlankString, _findCoercionFromEmptyArray, _findCoercionFromEmptyString, _findNullProvider, _hasTextualNull, _intOverflow, _isBlank, _isEmptyOrTextualNull, _isFalse, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _isTrue, _neitherNull, _nonNullNumber, _parseBoolean, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDouble, _parseDouble, _parseDoublePrimitive, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseInteger, _parseInteger, _parseIntPrimitive, _parseIntPrimitive, _parseLong, _parseLong, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueInstantiator, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleNestedArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializerpublic CassandraTimeDeserializer()
The values with CQL type time returned by Cassandra in generated JSON use the format
HH:mm:ss.SSSSSSSSS.
protected boolean isLenient()
protected T _fromEmptyString(com.fasterxml.jackson.core.JsonParser arg0,
com.fasterxml.jackson.databind.DeserializationContext arg1,
String arg2)
throws IOException
IOExceptionprotected boolean _isValidTimestampString(String arg0)
protected <BOGUS> BOGUS _reportWrongToken(com.fasterxml.jackson.databind.DeserializationContext arg0,
com.fasterxml.jackson.core.JsonToken arg1,
String arg2)
throws IOException
IOExceptionprotected <BOGUS> BOGUS _reportWrongToken(com.fasterxml.jackson.core.JsonParser arg0,
com.fasterxml.jackson.databind.DeserializationContext arg1,
com.fasterxml.jackson.core.JsonToken... arg2)
throws IOException
IOExceptionprotected <R> R _handleDateTimeException(com.fasterxml.jackson.databind.DeserializationContext arg0,
DateTimeException arg1,
String arg2)
throws com.fasterxml.jackson.databind.JsonMappingException
com.fasterxml.jackson.databind.JsonMappingExceptionprotected <R> R _handleUnexpectedToken(com.fasterxml.jackson.databind.DeserializationContext arg0,
com.fasterxml.jackson.core.JsonParser arg1,
String arg2,
Object... arg3)
throws com.fasterxml.jackson.databind.JsonMappingException
com.fasterxml.jackson.databind.JsonMappingExceptionprotected <R> R _handleUnexpectedToken(com.fasterxml.jackson.databind.DeserializationContext arg0,
com.fasterxml.jackson.core.JsonParser arg1,
com.fasterxml.jackson.core.JsonToken... arg2)
throws com.fasterxml.jackson.databind.JsonMappingException
com.fasterxml.jackson.databind.JsonMappingExceptionprotected T _failForNotLenient(com.fasterxml.jackson.core.JsonParser arg0,
com.fasterxml.jackson.databind.DeserializationContext arg1,
com.fasterxml.jackson.core.JsonToken arg2)
throws IOException
IOExceptionprotected DateTimeException _peelDTE(DateTimeException arg0)
Copyright © 2020–2024 ING Bank. All rights reserved.