Enum ETLValueSchemaTransformation

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ETLValueSchemaTransformation>

    public enum ETLValueSchemaTransformation
    extends java.lang.Enum<ETLValueSchemaTransformation>
    In ETL jobs, when a "delete" record is seen, "value" is set to "null" and "DELETED_TS" is set to the offset where this delete record was seen. To allow the value field to be set as "null", the schema may need to be modified if it doesn't already allow for a "null" value. For "union" schemas, "null" must be added to the union if it is not already one of the allowed types. For all other avro types, the value schema is set to a union schema of "null" and the original value schema.
    • Method Detail

      • values

        public static ETLValueSchemaTransformation[] 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 (ETLValueSchemaTransformation c : ETLValueSchemaTransformation.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ETLValueSchemaTransformation valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null