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

public class IntervalValueListener extends ScalarListener
Drill-specific extension for a time interval (AKA time span or time period).
  • Field Details

    • FORMATTER

      public static final org.joda.time.format.PeriodFormatter FORMATTER
  • Constructor Details

  • Method Details

    • onValue

      public void onValue(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer)
      Description copied from interface: ValueListener
      Called for a JSON scalar token.
      Specified by:
      onValue in interface ValueListener
      Overrides:
      onValue in class ScalarListener
      Parameters:
      token - the scalar token
      tokenizer - provides access to the value of the token