Class FieldMappingFunction


  • public final class FieldMappingFunction
    extends Object
    Represents a function that transforms a value from a data source before indexing.
    • Constructor Detail

      • FieldMappingFunction

        public FieldMappingFunction​(String name)
        Creates an instance of FieldMappingFunction class.
        Parameters:
        name - the name value to set.
    • Method Detail

      • getName

        public String getName()
        Get the name property: The name of the field mapping function.
        Returns:
        the name value.
      • getParameters

        public Map<String,​Object> getParameters()
        Get the parameters property: A dictionary of parameter name/value pairs to pass to the function. Each value must be of a primitive type.
        Returns:
        the parameters value.
      • setParameters

        public FieldMappingFunction setParameters​(Map<String,​Object> parameters)
        Set the parameters property: A dictionary of parameter name/value pairs to pass to the function. Each value must be of a primitive type.
        Parameters:
        parameters - the parameters value to set.
        Returns:
        the FieldMappingFunction object itself.