Interface DuplicateAttributeConfiguration<T>

Type Parameters:
T - The type of the attribute
All Known Implementing Classes:
AbstractDuplicateAttributeConfiguration, BooleanDuplicateAttributeConfiguration, ContentDuplicateAttributeConfiguration, DateDuplicateAttributeConfiguration, DateTimeDuplicateAttributeConfiguration, DoubleDuplicateAttributeConfiguration, LongDuplicateAttributeConfiguration, StringDuplicateAttributeConfiguration

Represents the configuration for an attribute of content duplicate detection configuration
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Check if we should check for near duplicate
    Set the path of the attribute
    getQuery(Object value, boolean nearDuplicateQuery)
    Get the query to find duplicate of this attributes
    Get the type of the attribute
    void
    Set the path of the attribute
    void
    Set the type of the attribute
  • Method Details

    • getType

      Get the type of the attribute
      Returns:
      the type of the attribute
    • setType

      void setType(String type)
      Set the type of the attribute
      Parameters:
      type - the type of the attribute
    • getPath

      Set the path of the attribute
      Returns:
      the path of the attribute
    • setPath

      void setPath(String path)
      Set the path of the attribute
      Parameters:
      path - the path of the attribute
    • checkNearDuplicate

      Check if we should check for near duplicate
      Returns:
      true if we should check for near duplicate
    • getQuery

      Query getQuery(Object value, boolean nearDuplicateQuery)
      Get the query to find duplicate of this attributes
      Parameters:
      value - the value of the attribute
      nearDuplicateQuery - true if the query should check near duplicates
      Returns:
      the query to find duplicate of this attributes