Interface IDocumentTypeFieldBuilder<T extends DocumentTypeField>

    • Method Detail

      • build

        T build()
        Returns the immutable field.
        Returns:
        the immutable field.
        Since:
        8.1.0
      • setId

        IDocumentTypeFieldBuilder<T> setId​(String fieldId)
        Sets the identifier of the field.
        Parameters:
        fieldId - the identifier.
        Returns:
        this builder.
        Since:
        8.1.0
      • setIncludeInGlobalSearch

        IDocumentTypeFieldBuilder<T> setIncludeInGlobalSearch​(boolean includeInGlobalSearch)
        Sets whether the field should be included in global search field.
        Parameters:
        includeInGlobalSearch - whether the field should be included in global search field.
        Returns:
        this builder.
        Since:
        8.1.0
      • setList

        IDocumentTypeFieldBuilder<T> setList​(boolean isList)
        Sets whether the field's value is a list.
        Parameters:
        isList - whether the field's value is a list.
        Returns:
        this builder.
        Since:
        8.1.0
      • setAggregatable

        IDocumentTypeFieldBuilder<T> setAggregatable​(boolean isAggregatable)
        Sets whether the field's value is aggregatable.
        Parameters:
        isAggregatable - whether the field's value is aggregatable.
        Returns:
        this builder.
        Since:
        9.0.0
      • setAnalyzer

        IDocumentTypeFieldBuilder<T> setAnalyzer​(String analyzer)
        Sets the field analyzer.
        The analyzer is an identifier that must be recognized by the current IBigDataRepository implementation.
        Parameters:
        analyzer - the field analyzer.
        Returns:
        this builder.
        Since:
        8.1.0