Class Index


  • public class Index
    extends Object
    Configuration of the indexing phase for a matching operation.
    • Field Detail

      • PROP_KEYS

        public static final String PROP_KEYS
        Name of the property specifying the blocking keys for duplicate discovery
        See Also:
        Constant Field Values
      • PROP_LEFT_KEYS

        public static final String PROP_LEFT_KEYS
        Name of the property specifying the lefthand side keys for link discovery
        See Also:
        Constant Field Values
      • PROP_RIGHT_KEYS

        public static final String PROP_RIGHT_KEYS
        Name of the property specifying the righthand side keys for link discovery
        See Also:
        Constant Field Values
      • PROP_BUFFER_ROWS

        public static final String PROP_BUFFER_ROWS
        Name of the property specifying the buffer size used when generating comparison pairs.
        See Also:
        Constant Field Values
      • LEFT_PATTERN_DEFAULT

        public static final String LEFT_PATTERN_DEFAULT
        The default renaming pattern for lefthand side fields.
        See Also:
        Constant Field Values
      • RIGHT_PATTERN_DEFAULT

        public static final String RIGHT_PATTERN_DEFAULT
        The default renaming pattern for righthand side fields.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Index

        public Index()
    • Method Detail

      • getType

        public IndexType getType()
        Get the indexing type value.
        Returns:
        indexing type value
      • setType

        public void setType​(IndexType type)
        Set the indexing type value.
        Parameters:
        type - indexing type value
      • getProperties

        public Map<String,​Object> getProperties()
        Get the index implementation specific properties.
        Returns:
        index implementation specific properties
      • setProperties

        public void setProperties​(Map<String,​Object> properties)
        Set the index implementation specific properties.
        Parameters:
        properties - index implementation specific properties
      • addProperty

        public void addProperty​(String name,
                                Object value)
        Sets an individual index property.
        Parameters:
        name - the property name
        value - the property value
      • getLeftFieldPattern

        public String getLeftFieldPattern()
        Get the left field pattern value.
        Returns:
        left field pattern value
      • setLeftFieldPattern

        public void setLeftFieldPattern​(String leftFieldPattern)
        Set the left field pattern value.
        Parameters:
        leftFieldPattern - left field pattern value
      • getRightFieldPattern

        public String getRightFieldPattern()
        Get the right field pattern value.
        Returns:
        right field pattern value
      • setRightFieldPattern

        public void setRightFieldPattern​(String rightFieldPattern)
        Set the right field pattern value.
        Parameters:
        rightFieldPattern - rigth field pattern value