Package net.bluemind.backend.mail.api
Class SearchQuery
java.lang.Object
net.bluemind.backend.mail.api.SearchQuery
Defines message search parameters
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Definition of aMailboxFolder
search restrictionstatic class
Header key/value pairstatic class
Header searchstatic enum
Defines the search operator of the requested header search valuesstatic class
The scope of a search -
Field Summary
Modifier and TypeFieldDescriptionEnables the search by the specific header valuesDefines the default search operator ofquery
andrecordQuery
long
Maximum resultsEnables the search by the MessageId headerlong
Result Set offsetAn Elasticsearch compliant query string body document onlyAn Elasticsearch compliant query string record document onlyEnables the search by the References headerThe scope of this searchAn optional id associated to this query -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SearchQuery
allHeaders
(Map<String, String> headerValues, SearchQuery.LogicalOperator operator)
-
Field Details
-
searchSessionId
An optional id associated to this query -
query
An Elasticsearch compliant query string body document only -
recordQuery
An Elasticsearch compliant query string record document only -
messageId
Enables the search by the MessageId header -
references
Enables the search by the References header -
headerQuery
Enables the search by the specific header values -
maxResults
public long maxResultsMaximum results -
offset
public long offsetResult Set offset -
scope
The scope of this search -
logicalOperator
Defines the default search operator ofquery
andrecordQuery
-
-
Constructor Details
-
SearchQuery
public SearchQuery()
-
-
Method Details
-
allHeaders
public static SearchQuery allHeaders(Map<String, String> headerValues, SearchQuery.LogicalOperator operator)
-