Class PulsarProtobufNativeRowDecoder

  • All Implemented Interfaces:
    PulsarRowDecoder

    public class PulsarProtobufNativeRowDecoder
    extends java.lang.Object
    implements PulsarRowDecoder
    Pulsar SchemaType.PROTOBUF_NATIVE RowDecoder.
    • Constructor Summary

      Constructors 
      Constructor Description
      PulsarProtobufNativeRowDecoder​(org.apache.pulsar.client.impl.schema.generic.GenericProtobufNativeSchema genericProtobufNativeSchema, java.util.Set<io.prestosql.decoder.DecoderColumnHandle> columns)  
    • 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 by GenericSchema.
      • Methods inherited from class java.lang.Object

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

      • PulsarProtobufNativeRowDecoder

        public PulsarProtobufNativeRowDecoder​(org.apache.pulsar.client.impl.schema.generic.GenericProtobufNativeSchema genericProtobufNativeSchema,
                                              java.util.Set<io.prestosql.decoder.DecoderColumnHandle> columns)
    • Method Detail

      • decodeRow

        public java.util.Optional<java.util.Map<io.prestosql.decoder.DecoderColumnHandle,​io.prestosql.decoder.FieldValueProvider>> decodeRow​(io.netty.buffer.ByteBuf byteBuf)
        Decode ByteBuf by GenericSchema.
        Specified by:
        decodeRow in interface PulsarRowDecoder
        Parameters:
        byteBuf -
        Returns: