Package lumis.portal.bigdata.query
Class DocumentLocaleClause
- java.lang.Object
-
- lumis.portal.bigdata.query.DocumentLocaleClause
-
- All Implemented Interfaces:
ISearchQueryFilter
@StableMinor(version="15.0", sinceVersion="8.1") public class DocumentLocaleClause extends java.lang.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: 25303 $ $Date: 2022-10-22 22:48:02 -0300 (Sat, 22 Oct 2022) $
- See Also:
StandardDocument.Standard
,StandardDocumentType
-
-
Constructor Summary
Constructors Constructor Description DocumentLocaleClause(java.lang.String targetLocale)
Creates a new instance.DocumentLocaleClause(java.util.Locale targetLocale)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getTargetLocale()
Returns the target locale.
-
-
-
Constructor Detail
-
DocumentLocaleClause
public DocumentLocaleClause(java.util.Locale targetLocale)
Creates a new instance.- Parameters:
targetLocale
- the target locale.- Since:
- 8.1.0
-
DocumentLocaleClause
public DocumentLocaleClause(java.lang.String targetLocale)
Creates a new instance.- Parameters:
targetLocale
- the target locale.- Since:
- 8.1.0
-
-