Class PulsarPrimitiveRowDecoder

java.lang.Object
org.apache.pulsar.sql.presto.decoder.primitive.PulsarPrimitiveRowDecoder
All Implemented Interfaces:
PulsarRowDecoder

public class PulsarPrimitiveRowDecoder extends 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

    Modifier and Type
    Method
    Description
    Optional<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 Details

    • PulsarPrimitiveRowDecoder

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

    • decodeRow

      public Optional<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: