public class BoolQuery extends AbstractSearchQuery
| Constructor and Description |
|---|
BoolQuery() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFilter(AbstractSearchLeaf leaf) |
void |
addMust(AbstractSearchLeaf leaf) |
void |
addMustNot(AbstractSearchLeaf leaf) |
void |
addShould(AbstractSearchLeaf leaf) |
List<AbstractSearchLeaf> |
getFilter() |
List<AbstractSearchLeaf> |
getMust() |
List<AbstractSearchLeaf> |
getMustNot() |
protected com.fasterxml.jackson.databind.node.ObjectNode |
getNodeContent(com.fasterxml.jackson.databind.node.JsonNodeFactory factory) |
String |
getNodeName() |
List<AbstractSearchLeaf> |
getShould() |
getQueryType, mapToNodepublic String getNodeName()
getNodeName in class AbstractSearchQuerypublic List<AbstractSearchLeaf> getMust()
public void addMust(AbstractSearchLeaf leaf)
public List<AbstractSearchLeaf> getFilter()
public void addFilter(AbstractSearchLeaf leaf)
leaf - to add to listFilterpublic List<AbstractSearchLeaf> getShould()
public void addShould(AbstractSearchLeaf leaf)
leaf - to add to listShouldpublic List<AbstractSearchLeaf> getMustNot()
public void addMustNot(AbstractSearchLeaf leaf)
leaf - to add to listMustNotprotected com.fasterxml.jackson.databind.node.ObjectNode getNodeContent(com.fasterxml.jackson.databind.node.JsonNodeFactory factory)
getNodeContent in class AbstractSearchQueryCopyright © 2019 City of Paris. All rights reserved.