Package org.apache.pulsar.sql.presto
Class PulsarDispatchingRowDecoderFactory
java.lang.Object
org.apache.pulsar.sql.presto.PulsarDispatchingRowDecoderFactory
dispatcher RowDecoderFactory for
SchemaType.-
Constructor Summary
ConstructorsConstructorDescriptionPulsarDispatchingRowDecoderFactory(io.prestosql.spi.type.TypeManager typeManager) -
Method Summary
Modifier and TypeMethodDescriptioncreateRowDecoder(org.apache.pulsar.common.naming.TopicName topicName, org.apache.pulsar.common.schema.SchemaInfo schemaInfo, Set<io.prestosql.decoder.DecoderColumnHandle> columns) List<io.prestosql.spi.connector.ColumnMetadata>extractColumnMetadata(org.apache.pulsar.common.naming.TopicName topicName, org.apache.pulsar.common.schema.SchemaInfo schemaInfo, PulsarColumnHandle.HandleKeyValueType handleKeyValueType) io.prestosql.spi.type.TypeManager
-
Constructor Details
-
PulsarDispatchingRowDecoderFactory
@Inject public PulsarDispatchingRowDecoderFactory(io.prestosql.spi.type.TypeManager typeManager)
-
-
Method Details
-
createRowDecoder
public PulsarRowDecoder createRowDecoder(org.apache.pulsar.common.naming.TopicName topicName, org.apache.pulsar.common.schema.SchemaInfo schemaInfo, Set<io.prestosql.decoder.DecoderColumnHandle> columns) -
extractColumnMetadata
public List<io.prestosql.spi.connector.ColumnMetadata> extractColumnMetadata(org.apache.pulsar.common.naming.TopicName topicName, org.apache.pulsar.common.schema.SchemaInfo schemaInfo, PulsarColumnHandle.HandleKeyValueType handleKeyValueType) -
getTypeManager
public io.prestosql.spi.type.TypeManager getTypeManager()
-