Class PulsarJsonFieldDecoder

  • All Implemented Interfaces:
    io.prestosql.decoder.json.JsonFieldDecoder

    public class PulsarJsonFieldDecoder
    extends java.lang.Object
    implements io.prestosql.decoder.json.JsonFieldDecoder
    Copy from DefaultJsonFieldDecoder (presto-record-decoder-345) with some pulsar's extensions. 1) support ArrayType. 2) support MapType. 3) support RowType. 4) support TimestampType,DateType, TimeType. 5) support RealType.
    • Constructor Summary

      Constructors 
      Constructor Description
      PulsarJsonFieldDecoder​(io.prestosql.decoder.DecoderColumnHandle columnHandle)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.prestosql.decoder.FieldValueProvider decode​(com.fasterxml.jackson.databind.JsonNode value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PulsarJsonFieldDecoder

        public PulsarJsonFieldDecoder​(io.prestosql.decoder.DecoderColumnHandle columnHandle)
    • Method Detail

      • decode

        public io.prestosql.decoder.FieldValueProvider decode​(com.fasterxml.jackson.databind.JsonNode value)
        Specified by:
        decode in interface io.prestosql.decoder.json.JsonFieldDecoder