Class TextSearchOptions

    • Constructor Detail

      • TextSearchOptions

        public TextSearchOptions()
    • Method Detail

      • getLanguage

        @Nullable
        public java.lang.String getLanguage()
        Returns the language to be used with the text search
        Returns:
        the language to use for the text search if set or null
      • language

        public TextSearchOptions language​(@Nullable
                                          java.lang.String language)
        Set the language for the text search
        Parameters:
        language - the language to use for the text search
        Returns:
        this
      • getCaseSensitive

        @Nullable
        public java.lang.Boolean getCaseSensitive()
        Returns the case-sensitive flag to use with the text search
        Returns:
        the case-sensitive flag if set or null
      • caseSensitive

        public TextSearchOptions caseSensitive​(@Nullable
                                               java.lang.Boolean caseSensitive)
        Set the case-sensitive flag for the text search
        Parameters:
        caseSensitive - the case-sensitive flag for the text search
        Returns:
        this
      • getDiacriticSensitive

        @Nullable
        public java.lang.Boolean getDiacriticSensitive()
        Returns the diacritic-sensitive flag to use with the text search
        Returns:
        the diacritic-sensitive flag if set or null
      • diacriticSensitive

        public TextSearchOptions diacriticSensitive​(@Nullable
                                                    java.lang.Boolean diacriticSensitive)
        Set the diacritic-sensitive flag for the text search
        Parameters:
        diacriticSensitive - the diacritic-sensitive flag for the text search
        Returns:
        this
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object