Class PulsarDispatchingRowDecoderFactory


  • public class PulsarDispatchingRowDecoderFactory
    extends java.lang.Object
    dispatcher RowDecoderFactory for SchemaType.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PulsarRowDecoder createRowDecoder​(org.apache.pulsar.common.naming.TopicName topicName, org.apache.pulsar.common.schema.SchemaInfo schemaInfo, java.util.Set<io.prestosql.decoder.DecoderColumnHandle> columns)  
      java.util.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 getTypeManager()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PulsarDispatchingRowDecoderFactory

        @Inject
        public PulsarDispatchingRowDecoderFactory​(io.prestosql.spi.type.TypeManager typeManager)
    • Method Detail

      • createRowDecoder

        public PulsarRowDecoder createRowDecoder​(org.apache.pulsar.common.naming.TopicName topicName,
                                                 org.apache.pulsar.common.schema.SchemaInfo schemaInfo,
                                                 java.util.Set<io.prestosql.decoder.DecoderColumnHandle> columns)
      • extractColumnMetadata

        public java.util.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()