Class UtcDateValueListener

All Implemented Interfaces:

public class UtcDateValueListener extends ScalarListener
Drill-specific extension to allow dates only, expressed in UTC to be consistent with Mongo timestamps.

Drill dates are in the local time zone, so conversion is needed. Drill dates are stored in ms, which is odd.

  • 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
      onValue in class ScalarListener
      token - the scalar token
      tokenizer - provides access to the value of the token