Interface Descriptor

  • All Known Implementing Classes:
    PreserveWatermarks, Rowtime, Schema, TimestampExtractor, WatermarkStrategy

    @Deprecated
    @Internal
    public interface Descriptor
    Deprecated.
    Descriptor was primarily used for the legacy connector stack and have been deprecated. Use TableDescriptor for creating sources and sinks from the Table API.
    Interface that adds a set of string-based, normalized properties for describing DDL information.

    Typical characteristics of a descriptor are: - descriptors have a default constructor - descriptors themselves contain very little logic - corresponding validators validate the correctness (goal: have a single point of validation)

    A descriptor is similar to a builder in a builder pattern, thus, mutable for building properties.

    • Method Detail

      • toProperties

        Map<String,​String> toProperties()
        Deprecated.
        Converts this descriptor into a set of properties.