public class PulsarJsonRowDecoderFactory extends Object implements PulsarRowDecoderFactory
SchemaType.JSON.| Constructor and Description |
|---|
PulsarJsonRowDecoderFactory(io.prestosql.spi.type.TypeManager typeManager) |
| Modifier and Type | Method and Description |
|---|---|
PulsarJsonRowDecoder |
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 PulsarJsonRowDecoderFactory(io.prestosql.spi.type.TypeManager typeManager)
public PulsarJsonRowDecoder 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.