Class ColumnTransformer


  • public final class ColumnTransformer
    extends Object
    Column transformer parameters.
    • Constructor Detail

      • ColumnTransformer

        public ColumnTransformer()
    • Method Detail

      • fields

        public List<String> fields()
        Get the fields property: Fields to apply transformer logic on.
        Returns:
        the fields value.
      • withFields

        public ColumnTransformer withFields​(List<String> fields)
        Set the fields property: Fields to apply transformer logic on.
        Parameters:
        fields - the fields value to set.
        Returns:
        the ColumnTransformer object itself.
      • parameters

        public Object parameters()
        Get the parameters property: Different properties to be passed to transformer. Input expected is dictionary of key,value pairs in JSON format.
        Returns:
        the parameters value.
      • withParameters

        public ColumnTransformer withParameters​(Object parameters)
        Set the parameters property: Different properties to be passed to transformer. Input expected is dictionary of key,value pairs in JSON format.
        Parameters:
        parameters - the parameters value to set.
        Returns:
        the ColumnTransformer object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.