public class PulsarPrimitiveRowDecoderFactory extends Object implements PulsarRowDecoderFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
PRIMITIVE_COLUMN_NAME |
| Constructor and Description |
|---|
PulsarPrimitiveRowDecoderFactory() |
| 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.
|
public static final String PRIMITIVE_COLUMN_NAME
public PulsarRowDecoder createRowDecoder(TopicName topicName, org.apache.pulsar.common.schema.SchemaInfo schemaInfo, Set<io.prestosql.decoder.DecoderColumnHandle> columns)
PulsarRowDecoderFactorycreateRowDecoder in interface PulsarRowDecoderFactorypublic List<io.prestosql.spi.connector.ColumnMetadata> extractColumnMetadata(TopicName topicName, org.apache.pulsar.common.schema.SchemaInfo schemaInfo, PulsarColumnHandle.HandleKeyValueType handleKeyValueType)
PulsarRowDecoderFactoryextractColumnMetadata in interface PulsarRowDecoderFactoryCopyright © 2017–2022 Apache Software Foundation. All rights reserved.