Enum MySqlReadableMetadata

    • Enum Constant Detail

      • TABLE_NAME

        public static final MySqlReadableMetadata TABLE_NAME
        Name of the table that contain the row.
      • DATABASE_NAME

        public static final MySqlReadableMetadata DATABASE_NAME
        Name of the database that contain the row.
      • OP_TS

        public static final MySqlReadableMetadata OP_TS
        It indicates the time that the change was made in the database. If the record is read from snapshot of the table instead of the binlog, the value is always 0.
      • ROW_KIND

        public static final MySqlReadableMetadata ROW_KIND
        It indicates the row kind of the changelog. '+I' means INSERT message, '-D' means DELETE message, '-U' means UPDATE_BEFORE message and '+U' means UPDATE_AFTER message
    • Method Detail

      • values

        public static MySqlReadableMetadata[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MySqlReadableMetadata c : MySqlReadableMetadata.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MySqlReadableMetadata valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getKey

        public String getKey()
      • getDataType

        public org.apache.flink.table.types.DataType getDataType()