Modifier and Type | Method and Description |
---|---|
Query |
build()
Builds an instance of
Query . |
Query.QueryBuilder |
filter(String filterTemplate)
Sets search filter template.
|
Query.QueryBuilder |
limit(int limit)
Sets the maximum number of entries to be returned as a result of the search.
|
Query.QueryBuilder |
map(String key,
String value)
Sets mapping between names in the search filter template and actual values.
|
Query.QueryBuilder |
returnAttribute(String attributeName)
Sets attribute that should be returned in results for the query.
|
public Query.QueryBuilder filter(String filterTemplate)
filterTemplate
- search filter templatepublic Query.QueryBuilder map(String key, String value)
key
- marker in the search filter template.value
- actual valuepublic Query.QueryBuilder returnAttribute(String attributeName)
attributeName
- attribute namepublic Query.QueryBuilder limit(int limit)
limit
- The maximum number of entries that will be returned.Copyright © 2016 The Apache Software Foundation. All rights reserved.