Class IntervalValueListener
java.lang.Object
org.apache.drill.exec.store.easy.json.values.ScalarListener
org.apache.drill.exec.store.easy.json.values.IntervalValueListener
- All Implemented Interfaces:
ValueListener
Drill-specific extension for a time interval (AKA time
span or time period).
-
Field Summary
FieldsFields 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
-
Field Details
-
FORMATTER
public static final org.joda.time.format.PeriodFormatter FORMATTER
-
-
Constructor Details
-
IntervalValueListener
-
-
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
-