Class PulsarPrimitiveRowDecoder

  • All Implemented Interfaces:
    PulsarRowDecoder

    public class PulsarPrimitiveRowDecoder
    extends java.lang.Object
    implements PulsarRowDecoder
    Primitive Schema PulsarRowDecoder.
    • Constructor Summary

      Constructors 
      Constructor Description
      PulsarPrimitiveRowDecoder​(org.apache.pulsar.client.impl.schema.AbstractSchema schema, io.prestosql.decoder.DecoderColumnHandle column)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.util.Map<io.prestosql.decoder.DecoderColumnHandle,​io.prestosql.decoder.FieldValueProvider>> decodeRow​(io.netty.buffer.ByteBuf byteBuf)
      decode byteBuf to Column FieldValueProvider.
      • Methods inherited from class java.lang.Object

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

      • PulsarPrimitiveRowDecoder

        public PulsarPrimitiveRowDecoder​(org.apache.pulsar.client.impl.schema.AbstractSchema schema,
                                         io.prestosql.decoder.DecoderColumnHandle column)
    • Method Detail

      • decodeRow

        public java.util.Optional<java.util.Map<io.prestosql.decoder.DecoderColumnHandle,​io.prestosql.decoder.FieldValueProvider>> decodeRow​(io.netty.buffer.ByteBuf byteBuf)
        Description copied from interface: PulsarRowDecoder
        decode byteBuf to Column FieldValueProvider.
        Specified by:
        decodeRow in interface PulsarRowDecoder
        Returns: