Class PulsarJsonRowDecoderFactory

    • Constructor Summary

      Constructors 
      Constructor Description
      PulsarJsonRowDecoderFactory​(io.prestosql.spi.type.TypeManager typeManager)  
    • Method Summary

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

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

      • PulsarJsonRowDecoderFactory

        public PulsarJsonRowDecoderFactory​(io.prestosql.spi.type.TypeManager typeManager)
    • Method Detail

      • createRowDecoder

        public PulsarJsonRowDecoder createRowDecoder​(org.apache.pulsar.common.naming.TopicName topicName,
                                                     org.apache.pulsar.common.schema.SchemaInfo schemaInfo,
                                                     java.util.Set<io.prestosql.decoder.DecoderColumnHandle> columns)
        Description copied from interface: PulsarRowDecoderFactory
        createRowDecoder RowDecoder by pulsar SchemaInfo and column DecoderColumnHandles.
        Specified by:
        createRowDecoder in interface PulsarRowDecoderFactory
        Returns: