Interface FieldMapping

    • Method Detail

      • getName

        String getName()
        Returns:
        name of the field
      • isStored

        boolean isStored()
        Returns:
        true if the original field value is stored, so it can be retrieved.
      • isIndexed

        boolean isIndexed()
        Returns:
        true if the field is indexed, so it can be searched
      • accept

        <R> R accept​(FieldMappingVisitor<R> visitor)
        Applies the supplied visitor to this field mapping with its respective callback.
        Parameters:
        visitor - The visitor to dispatch
        Returns:
        The value that is returned by the supplied visitor