public class UtcDateValueListener extends ScalarListener
Drill dates are in the local time zone, so conversion is needed. Drill dates are stored in ms, which is odd.
isArray, loader, writer
Constructor and Description |
---|
UtcDateValueListener(JsonLoaderImpl loader,
ScalarWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
onValue(com.fasterxml.jackson.core.JsonToken token,
TokenIterator tokenizer)
Called for a JSON scalar token.
|
onText, schema, setArrayNull, setNull, typeConversionError
public UtcDateValueListener(JsonLoaderImpl loader, ScalarWriter writer)
public void onValue(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer)
ValueListener
onValue
in interface ValueListener
onValue
in class ScalarListener
token
- the scalar tokentokenizer
- provides access to the value of the tokenCopyright © 1970 The Apache Software Foundation. All rights reserved.