Interface PulsarRowDecoderFactory

    • Method Summary

      All Methods Instance Methods Abstract 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.
    • Method Detail

      • extractColumnMetadata

        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.
        Parameters:
        schemaInfo -
        handleKeyValueType -
        Returns:
      • createRowDecoder

        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.
        Parameters:
        schemaInfo -
        columns -
        Returns: