Class PulsarJsonFieldDecoder.JsonValueProvider

  • Enclosing class:
    PulsarJsonFieldDecoder

    public static class PulsarJsonFieldDecoder.JsonValueProvider
    extends io.prestosql.decoder.FieldValueProvider
    JsonValueProvider.
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonValueProvider​(com.fasterxml.jackson.databind.JsonNode value, io.prestosql.decoder.DecoderColumnHandle columnHandle, long minValue, long maxValue)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.prestosql.spi.block.Block getBlock()  
      boolean getBoolean()  
      static boolean getBoolean​(com.fasterxml.jackson.databind.JsonNode value, io.prestosql.spi.type.Type type, java.lang.String columnName)  
      double getDouble()  
      static double getDouble​(com.fasterxml.jackson.databind.JsonNode value, io.prestosql.spi.type.Type type, java.lang.String columnName)  
      long getLong()  
      static long getLong​(com.fasterxml.jackson.databind.JsonNode value, io.prestosql.spi.type.Type type, java.lang.String columnName, long minValue, long maxValue)  
      io.airlift.slice.Slice getSlice()  
      boolean isNull()  
      • Methods inherited from class java.lang.Object

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

      • JsonValueProvider

        public JsonValueProvider​(com.fasterxml.jackson.databind.JsonNode value,
                                 io.prestosql.decoder.DecoderColumnHandle columnHandle,
                                 long minValue,
                                 long maxValue)
    • Method Detail

      • isNull

        public final boolean isNull()
        Specified by:
        isNull in class io.prestosql.decoder.FieldValueProvider
      • getBoolean

        public boolean getBoolean()
        Overrides:
        getBoolean in class io.prestosql.decoder.FieldValueProvider
      • getLong

        public long getLong()
        Overrides:
        getLong in class io.prestosql.decoder.FieldValueProvider
      • getDouble

        public double getDouble()
        Overrides:
        getDouble in class io.prestosql.decoder.FieldValueProvider
      • getSlice

        public io.airlift.slice.Slice getSlice()
        Overrides:
        getSlice in class io.prestosql.decoder.FieldValueProvider
      • getBlock

        public io.prestosql.spi.block.Block getBlock()
        Overrides:
        getBlock in class io.prestosql.decoder.FieldValueProvider
      • getBoolean

        public static boolean getBoolean​(com.fasterxml.jackson.databind.JsonNode value,
                                         io.prestosql.spi.type.Type type,
                                         java.lang.String columnName)
      • getLong

        public static long getLong​(com.fasterxml.jackson.databind.JsonNode value,
                                   io.prestosql.spi.type.Type type,
                                   java.lang.String columnName,
                                   long minValue,
                                   long maxValue)
      • getDouble

        public static double getDouble​(com.fasterxml.jackson.databind.JsonNode value,
                                       io.prestosql.spi.type.Type type,
                                       java.lang.String columnName)