Class PulsarPrimitiveRowDecoder
java.lang.Object
org.apache.pulsar.sql.presto.decoder.primitive.PulsarPrimitiveRowDecoder
- All Implemented Interfaces:
PulsarRowDecoder
Primitive Schema PulsarRowDecoder.
-
Constructor Summary
ConstructorsConstructorDescriptionPulsarPrimitiveRowDecoder(org.apache.pulsar.client.impl.schema.AbstractSchema schema, io.prestosql.decoder.DecoderColumnHandle column) -
Method Summary
-
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:PulsarRowDecoderdecode byteBuf to Column FieldValueProvider.- Specified by:
decodeRowin interfacePulsarRowDecoder- Returns:
-