Class DateValueListener
java.lang.Object
org.apache.drill.exec.store.easy.json.values.ScalarListener
org.apache.drill.exec.store.easy.json.values.DateValueListener
- All Implemented Interfaces:
ValueListener
Parse local time dates. Stored internally in a local epoch
offset from the local epoch, in ms. Does no time zone conversions,
simply asserts that the date is in in the same time zone as the
Drillbit.
-
Field Summary
Fields inherited from class org.apache.drill.exec.store.easy.json.values.ScalarListener
isArray, loader, writer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValue(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
-
Constructor Details
-
DateValueListener
-
-
Method Details
-
onValue
Description copied from interface:ValueListenerCalled for a JSON scalar token.- Specified by:
onValuein interfaceValueListener- Overrides:
onValuein classScalarListener- Parameters:
token- the scalar tokentokenizer- provides access to the value of the token
-