public interface PulsarRowDecoderFactory
| Modifier and Type | Method and Description |
|---|---|
PulsarRowDecoder |
createRowDecoder(TopicName topicName,
org.apache.pulsar.common.schema.SchemaInfo schemaInfo,
Set<io.prestosql.decoder.DecoderColumnHandle> columns)
createRowDecoder RowDecoder by pulsar SchemaInfo and column DecoderColumnHandles.
|
List<io.prestosql.spi.connector.ColumnMetadata> |
extractColumnMetadata(TopicName topicName,
org.apache.pulsar.common.schema.SchemaInfo schemaInfo,
PulsarColumnHandle.HandleKeyValueType handleKeyValueType)
extract ColumnMetadata from pulsar SchemaInfo and HandleKeyValueType.
|
List<io.prestosql.spi.connector.ColumnMetadata> extractColumnMetadata(TopicName topicName, org.apache.pulsar.common.schema.SchemaInfo schemaInfo, PulsarColumnHandle.HandleKeyValueType handleKeyValueType)
schemaInfo - handleKeyValueType - PulsarRowDecoder createRowDecoder(TopicName topicName, org.apache.pulsar.common.schema.SchemaInfo schemaInfo, Set<io.prestosql.decoder.DecoderColumnHandle> columns)
schemaInfo - columns - Copyright © 2017–2022 Apache Software Foundation. All rights reserved.