public interface DirectorySearchQuery extends SearchQuery
DirectorySearchQuery.SearchFlag.SUMMARY
for the SearchFlags argument.Modifier and Type | Interface and Description |
---|---|
static class |
DirectorySearchQuery.SearchFlag
Flags to control result of the
Database.queryDQL(com.hcl.domino.dql.DQL.DQLTerm) . |
Modifier and Type | Method and Description |
---|---|
void |
forEach(int skip,
int limit,
BiConsumer<DirEntry,Loop> consumer)
Iterates over each
DirEntry in the search result |
DirectorySearchQuery |
since(TemporalAccessor since)
The date of the earliest modified file that is matched.
|
Stream<DirEntry> |
stream()
|
DirectorySearchQuery |
withDirectory(String directory)
Configure the directory to scan in
|
DirectorySearchQuery |
withFileTypes(Collection<FileType> fileTypes)
Set the types of file to be returned by the query.
|
DirectorySearchQuery |
withFlags(Collection<DirectorySearchQuery.SearchFlag> searchFlags)
Configures some flags for the query.
|
DirectorySearchQuery |
withFormula(String formula)
Configures a formula for the search.
|
DirectorySearchQuery |
withServer(String server)
Configures a server for the search.
|
DirectorySearchQuery withServer(String server)
server
- the serverDirectorySearchQuery withDirectory(String directory)
directory
- directory ("" for top level)DirectorySearchQuery withFormula(String formula)
formula
- the formulaDirectorySearchQuery withFlags(Collection<DirectorySearchQuery.SearchFlag> searchFlags)
searchFlags
- the flags to be usedDirectorySearchQuery withFileTypes(Collection<FileType> fileTypes)
fileTypes
- the file-typesDirectorySearchQuery since(TemporalAccessor since)
since
- the time or null if you do not wish any filtering by datevoid forEach(int skip, int limit, BiConsumer<DirEntry,Loop> consumer) throws DominoException
DirEntry
in the search resultskip
- paging offsetlimit
- paging countconsumer
- consumer to receive documentDominoException
- thrown if an error occured, e.g. the formula could not be evaluatedStream<DirEntry> stream() throws DominoException
DominoException
- thrown if an error occured, e.g. the formula could not be evaluatedCopyright © 2019–2021 HCL. All rights reserved.