Class PulsarPrimitiveRowDecoderFactory

    • 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)
      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
    • Field Detail

      • PRIMITIVE_COLUMN_NAME

        public static final java.lang.String PRIMITIVE_COLUMN_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • PulsarPrimitiveRowDecoderFactory

        public PulsarPrimitiveRowDecoderFactory()
    • 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)
        Description copied from interface: PulsarRowDecoderFactory
        createRowDecoder RowDecoder by pulsar SchemaInfo and column DecoderColumnHandles.
        Specified by:
        createRowDecoder in interface PulsarRowDecoderFactory
        Returns: