Class KinesisDynamicSource

  • All Implemented Interfaces:
    org.apache.flink.table.connector.source.abilities.SupportsReadingMetadata, org.apache.flink.table.connector.source.DynamicTableSource, org.apache.flink.table.connector.source.ScanTableSource

    @Internal
    public class KinesisDynamicSource
    extends Object
    implements org.apache.flink.table.connector.source.ScanTableSource, org.apache.flink.table.connector.source.abilities.SupportsReadingMetadata
    Kinesis-backed ScanTableSource using Source API.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  KinesisDynamicSource.KinesisDynamicTableSourceBuilder
      Builder class for KinesisDynamicSource.
      • Nested classes/interfaces inherited from interface org.apache.flink.table.connector.source.DynamicTableSource

        org.apache.flink.table.connector.source.DynamicTableSource.Context, org.apache.flink.table.connector.source.DynamicTableSource.DataStructureConverter
      • Nested classes/interfaces inherited from interface org.apache.flink.table.connector.source.ScanTableSource

        org.apache.flink.table.connector.source.ScanTableSource.ScanContext, org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider
    • Constructor Summary

      Constructors 
      Constructor Description
      KinesisDynamicSource​(org.apache.flink.table.types.DataType physicalDataType, String streamArn, org.apache.flink.configuration.Configuration sourceConfig, org.apache.flink.table.connector.format.DecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>> decodingFormat)  
      KinesisDynamicSource​(org.apache.flink.table.types.DataType physicalDataType, String stream, org.apache.flink.configuration.Configuration sourceConfig, org.apache.flink.table.connector.format.DecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>> decodingFormat, org.apache.flink.table.types.DataType producedDataType, List<RowMetadata> requestedMetadataFields)  
    • Constructor Detail

      • KinesisDynamicSource

        public KinesisDynamicSource​(@Nullable
                                    org.apache.flink.table.types.DataType physicalDataType,
                                    String streamArn,
                                    org.apache.flink.configuration.Configuration sourceConfig,
                                    org.apache.flink.table.connector.format.DecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>> decodingFormat)
      • KinesisDynamicSource

        public KinesisDynamicSource​(@Nullable
                                    org.apache.flink.table.types.DataType physicalDataType,
                                    String stream,
                                    org.apache.flink.configuration.Configuration sourceConfig,
                                    org.apache.flink.table.connector.format.DecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>> decodingFormat,
                                    org.apache.flink.table.types.DataType producedDataType,
                                    List<RowMetadata> requestedMetadataFields)
    • Method Detail

      • getChangelogMode

        public org.apache.flink.table.connector.ChangelogMode getChangelogMode()
        Specified by:
        getChangelogMode in interface org.apache.flink.table.connector.source.ScanTableSource
      • getScanRuntimeProvider

        public org.apache.flink.table.connector.source.ScanTableSource.ScanRuntimeProvider getScanRuntimeProvider​(org.apache.flink.table.connector.source.ScanTableSource.ScanContext scanContext)
        Specified by:
        getScanRuntimeProvider in interface org.apache.flink.table.connector.source.ScanTableSource
      • copy

        public org.apache.flink.table.connector.source.DynamicTableSource copy()
        Specified by:
        copy in interface org.apache.flink.table.connector.source.DynamicTableSource
      • asSummaryString

        public String asSummaryString()
        Specified by:
        asSummaryString in interface org.apache.flink.table.connector.source.DynamicTableSource
      • listReadableMetadata

        public Map<String,​org.apache.flink.table.types.DataType> listReadableMetadata()
        Specified by:
        listReadableMetadata in interface org.apache.flink.table.connector.source.abilities.SupportsReadingMetadata
      • applyReadableMetadata

        public void applyReadableMetadata​(List<String> metadataKeys,
                                          org.apache.flink.table.types.DataType producedDataType)
        Specified by:
        applyReadableMetadata in interface org.apache.flink.table.connector.source.abilities.SupportsReadingMetadata
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object