public class DQL extends Object
import static com.hcl.domino.dql.DQL.*;
item(String), in(String...),
inAll(String...) or view(String)
directly without the prefix DQL.":
DQLTerm dqlQuery = and(
item("Lastname").isEqualTo("Abbott"),
item("Firstname").isGreaterThan("B")
);
DQL.DQLTerm.toString().| Modifier and Type | Class and Description |
|---|---|
static class |
DQL.AllTerm |
static class |
DQL.AndTerm |
static class |
DQL.DQLTerm
Base class for a variety of DQL search terms
|
static class |
DQL.InViewsOrFoldersTerm |
static class |
DQL.NamedItem |
static class |
DQL.NamedView |
static class |
DQL.NamedViewColumn |
static class |
DQL.NoteContainsTerm |
static class |
DQL.NotTerm |
static class |
DQL.OrTerm |
static class |
DQL.SpecialValue |
static class |
DQL.ValueComparisonTerm |
static class |
DQL.ValueContainsTerm |
| Constructor and Description |
|---|
DQL() |
| Modifier and Type | Method and Description |
|---|---|
static DQL.DQLTerm |
all()
Returns a DQL term that matches all documents
|
static DQL.DQLTerm |
and(DQL.DQLTerm... terms)
Returns a DQL term to do an AND operation on multiple other terms
|
static DQL.DQLTerm |
contains(String... values)
Returns a DQL term to run a FT search on the whole note with one or multiple search words.
|
static DQL.DQLTerm |
containsAll(String... values)
Returns a DQL term to run a FT search on the whole note with one or multiple search words.
All search words must exist in the note for it to be a match. |
static DQL.SpecialValue |
created()
Use this method to filter by @Created value
|
static DQL.SpecialValue |
documentUniqueId()
Use this method to filter by @DocumentUniqueId value
|
static DQL.InViewsOrFoldersTerm |
in(String... views)
Creates a search term to find documents that exist in at least
one of the specified views.
|
static DQL.InViewsOrFoldersTerm |
inAll(String... views)
Creates a search term to find documents that exist in multiple
views
|
static DQL.NamedItem |
item(String itemName)
Use this method to filter for documents with a specific item
value
|
static DQL.SpecialValue |
modifiedInThisFile()
Use this method to filter by @ModifiedInThisFile value
|
static DQL.DQLTerm |
not(DQL.DQLTerm term)
Returns a DQL term to negate the specified term
|
static DQL.DQLTerm |
or(DQL.DQLTerm... terms)
Returns a DQL term to do an OR operation on multiple other terms
|
static DQL.NamedView |
view(String viewName)
Use this method to filter for documents with a specific view
column value
|
public static DQL.NamedItem item(String itemName)
itemName - item namepublic static DQL.NamedView view(String viewName)
viewName - view namepublic static DQL.InViewsOrFoldersTerm in(String... views)
views - view names (V10.0 does not support alias names)public static DQL.InViewsOrFoldersTerm inAll(String... views)
views - view names (V10.0 does not support alias names)public static DQL.DQLTerm all()
public static DQL.DQLTerm contains(String... values)
values - search words with optional wildcards like Lehm* or Lehman?public static DQL.DQLTerm containsAll(String... values)
values - search words with optional wildcards like Lehm* or Lehman?public static DQL.DQLTerm and(DQL.DQLTerm... terms)
terms - terms for AND operationpublic static DQL.DQLTerm or(DQL.DQLTerm... terms)
terms - terms for OR operationpublic static DQL.DQLTerm not(DQL.DQLTerm term)
term - term to negatepublic static DQL.SpecialValue modifiedInThisFile()
public static DQL.SpecialValue documentUniqueId()
public static DQL.SpecialValue created()
Copyright © 2019–2021 HCL. All rights reserved.