Package com.mongodb.client.model
Class TextSearchOptions
- java.lang.Object
-
- com.mongodb.client.model.TextSearchOptions
-
@Deprecated(since="2021-05-27") public final class TextSearchOptions extends java.lang.Object
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.Text search options for theFilters.text(String, TextSearchOptions)
helper- Since:
- 3.2
-
-
Constructor Summary
Constructors Constructor Description TextSearchOptions()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TextSearchOptions
caseSensitive(java.lang.Boolean caseSensitive)
Deprecated.Set the case-sensitive flag for the text searchTextSearchOptions
diacriticSensitive(java.lang.Boolean diacriticSensitive)
Deprecated.Set the diacritic-sensitive flag for the text searchboolean
equals(java.lang.Object o)
Deprecated.java.lang.Boolean
getCaseSensitive()
Deprecated.Returns the case-sensitive flag to use with the text searchjava.lang.Boolean
getDiacriticSensitive()
Deprecated.Returns the diacritic-sensitive flag to use with the text searchjava.lang.String
getLanguage()
Deprecated.Returns the language to be used with the text searchint
hashCode()
Deprecated.TextSearchOptions
language(java.lang.String language)
Deprecated.Set the language for the text searchjava.lang.String
toString()
Deprecated.
-
-
-
Method Detail
-
getLanguage
@Nullable public java.lang.String getLanguage()
Deprecated.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)
Deprecated.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()
Deprecated.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)
Deprecated.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()
Deprecated.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)
Deprecated.Set the diacritic-sensitive flag for the text search- Parameters:
diacriticSensitive
- the diacritic-sensitive flag for the text search- Returns:
- this
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-