Class TimestampValueListener
java.lang.Object
org.apache.drill.exec.store.easy.json.values.ScalarListener
org.apache.drill.exec.store.easy.json.values.TimestampValueListener
- All Implemented Interfaces:
ValueListener
Drill-flavored version of a timestamp parser. Assumes the date time is in
a local (unspecified) time zone, interpreted to be the default time zone
of the Drillbit machine. Does no time zone conversions.
-
Field Summary
Fields inherited from class org.apache.drill.exec.store.easy.json.values.ScalarListener
isArray, loader, writer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onValue
(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer) Called for a JSON scalar token.Methods inherited from class org.apache.drill.exec.store.easy.json.values.ScalarListener
addValueToListenerMap, addValueToListenerMap, onText, schema, setArrayNull, setNull, typeConversionError
-
Field Details
-
LOCAL_EPOCH
-
-
Constructor Details
-
TimestampValueListener
-
-
Method Details
-
onValue
Description copied from interface:ValueListener
Called for a JSON scalar token.- Specified by:
onValue
in interfaceValueListener
- Overrides:
onValue
in classScalarListener
- Parameters:
token
- the scalar tokentokenizer
- provides access to the value of the token
-