Class StrictIntValueListener
java.lang.Object
org.apache.drill.exec.store.easy.json.values.ScalarListener
org.apache.drill.exec.store.easy.json.values.StrictIntValueListener
- All Implemented Interfaces:
ValueListener
32-bit integer (INT) listener with conversions only from
numbers and strings.
-
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.protected voidMethods inherited from class org.apache.drill.exec.store.easy.json.values.ScalarListener
addValueToListenerMap, addValueToListenerMap, onText, schema, setNull, typeConversionError
-
Constructor Details
-
StrictIntValueListener
-
-
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
-
setArrayNull
protected void setArrayNull()- Overrides:
setArrayNullin classScalarListener
-