Package io.prestosql.decoder.json
Class SecondsSinceEpochJsonFieldDecoder
- java.lang.Object
-
- io.prestosql.decoder.json.SecondsSinceEpochJsonFieldDecoder
-
- All Implemented Interfaces:
JsonFieldDecoder
public class SecondsSinceEpochJsonFieldDecoder extends java.lang.Object implements JsonFieldDecoder
Seconds since the epoch date format decoder.Uses hardcoded UTC timezone and english locale.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecondsSinceEpochJsonFieldDecoder.SecondsSinceEpochJsonValueProvider
-
Constructor Summary
Constructors Constructor Description SecondsSinceEpochJsonFieldDecoder(DecoderColumnHandle columnHandle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldValueProviderdecode(com.fasterxml.jackson.databind.JsonNode value)
-
-
-
Constructor Detail
-
SecondsSinceEpochJsonFieldDecoder
public SecondsSinceEpochJsonFieldDecoder(DecoderColumnHandle columnHandle)
-
-
Method Detail
-
decode
public FieldValueProvider decode(com.fasterxml.jackson.databind.JsonNode value)
- Specified by:
decodein interfaceJsonFieldDecoder
-
-