public class PulsarAvroRowDecoder extends Object implements PulsarRowDecoder
io.prestosql.decoder.avro.AvroRowDecoder.| Constructor and Description |
|---|
PulsarAvroRowDecoder(org.apache.pulsar.client.impl.schema.generic.GenericAvroSchema genericAvroSchema,
Set<io.prestosql.decoder.DecoderColumnHandle> columns) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Map<io.prestosql.decoder.DecoderColumnHandle,io.prestosql.decoder.FieldValueProvider>> |
decodeRow(io.netty.buffer.ByteBuf byteBuf)
decode ByteBuf by
GenericSchema. |
public PulsarAvroRowDecoder(org.apache.pulsar.client.impl.schema.generic.GenericAvroSchema genericAvroSchema, Set<io.prestosql.decoder.DecoderColumnHandle> columns)
public Optional<Map<io.prestosql.decoder.DecoderColumnHandle,io.prestosql.decoder.FieldValueProvider>> decodeRow(io.netty.buffer.ByteBuf byteBuf)
GenericSchema.decodeRow in interface PulsarRowDecoderbyteBuf - Copyright © 2017–2021 Apache Software Foundation. All rights reserved.