@StableMinor(version="12.2", sinceVersion="8.1") public class FieldPresenceClause extends Object implements ISearchQueryFilter
ISearchQueryFilter
that checks whether a given field is present or not, accordingly to the chosen operator.FieldPresenceClause.Operator.PRESENT
.Modifier and Type | Class and Description |
---|---|
static class |
FieldPresenceClause.Operator
The available operators for this clause.
|
Constructor and Description |
---|
FieldPresenceClause(DocumentTypeField field)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
DocumentTypeField |
getField()
Returns the field that will be checked.
|
FieldPresenceClause.Operator |
getOperator()
Returns the operator of this clause.
|
FieldPresenceClause |
setOperator(FieldPresenceClause.Operator operator)
Sets the operator.
|
public FieldPresenceClause(DocumentTypeField field)
field
- the field to be checked.public FieldPresenceClause setOperator(FieldPresenceClause.Operator operator)
operator
- the operator.public FieldPresenceClause.Operator getOperator()
public DocumentTypeField getField()
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.