Package lumis.portal.bigdata.query
Class DocumentLocaleClause
- java.lang.Object
-
- lumis.portal.bigdata.query.DocumentLocaleClause
-
- All Implemented Interfaces:
ISearchQueryFilter
@StableMinor(version="14.1", sinceVersion="8.1") public class DocumentLocaleClause extends Object implements ISearchQueryFilter
Clause to filter documents by their locale.
The matched documents must match one of the following rules:
-
Document
locale
equals to the target locale. -
Document
locale
does not match the target local, but it is thedefault document for missing locales
and there's noequivalent document
for the target locale. -
Document has no
locale
set.
- Since:
- 8.1.0
- Version:
- $Revision: 24683 $ $Date: 2021-08-23 18:55:58 -0300 (Mon, 23 Aug 2021) $
- See Also:
StandardDocument.Standard
,StandardDocumentType
-
-
Constructor Summary
Constructors Constructor Description DocumentLocaleClause(String targetLocale)
Creates a new instance.DocumentLocaleClause(Locale targetLocale)
Creates a new instance.
-
-
-
Constructor Detail
-
DocumentLocaleClause
public DocumentLocaleClause(Locale targetLocale)
Creates a new instance.- Parameters:
targetLocale
- the target locale.- Since:
- 8.1.0
-
DocumentLocaleClause
public DocumentLocaleClause(String targetLocale)
Creates a new instance.- Parameters:
targetLocale
- the target locale.- Since:
- 8.1.0
-
-
Method Detail
-
getTargetLocale
public String getTargetLocale()
Returns the target locale.- Returns:
- the target locale.
- Since:
- 8.1.0
-
-