public interface QueryDefinition
A QueryDefinition represents the common parts of all kinds of searches that can be performed.
| Modifier and Type | Method and Description |
|---|---|
String[] |
getCollections()
Returns the array of collections to which the query is limited.
|
String |
getDirectory()
Returns the directory to which the query is limited.
|
String |
getOptionsName()
Returns the name of the query options used for this query.
|
ServerTransform |
getResponseTransform()
Returns the transform that modifies responses to this query on the server.
|
void |
setCollections(String... collections)
Sets the list of collections to which the query should be limited.
|
void |
setDirectory(String directory)
Sets the directory to which the query should be limited.
|
void |
setOptionsName(String name)
Sets the name of the query options to be used for this query.
|
void |
setResponseTransform(ServerTransform transform)
Specifies a transform that modifies responses to this query on the server.
|
String getOptionsName()
Returns the name of the query options used for this query.
void setOptionsName(String name)
Sets the name of the query options to be used for this query.
If no query options node with the specified name exists, the search will fail.
name - The name of the saved query options node on the server.String[] getCollections()
Returns the array of collections to which the query is limited.
void setCollections(String... collections)
Sets the list of collections to which the query should be limited.
collections - The list of collection URIs.String getDirectory()
Returns the directory to which the query is limited.
void setDirectory(String directory)
Sets the directory to which the query should be limited.
directory - The directory URI.ServerTransform getResponseTransform()
Returns the transform that modifies responses to this query on the server.
void setResponseTransform(ServerTransform transform)
Specifies a transform that modifies responses to this query on the server.
transform - A server transform to modify the query response.Copyright © 2013-2017 MarkLogic Corporation.