Class UtcTimestampValueListener

All Implemented Interfaces:

public class UtcTimestampValueListener extends ScalarListener
Per the V1 docs: In Strict mode, <date> is an ISO-8601 date format with a mandatory time zone field following the template YYYY-MM-DDTHH:mm:ss.mmm<+/-Offset>.

In Shell mode, <date> is the JSON representation of a 64-bit signed integer giving the number of milliseconds since epoch UTC.

Drill dates are in the local time zone, so conversion is needed.

  • 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