public interface QueryOptionsManager
| Modifier and Type | Method and Description |
|---|---|
void |
deleteOptions(String name)
Remove a search configuration from the REST server.
|
<T extends QueryOptionsListReadHandle> |
optionsList(T listHandle)
Retrieves the list of available named query options.
|
<T extends QueryOptionsReadHandle> |
readOptions(String name,
T queryOptionsHandle)
Fetch a query options configuration from the REST Server by name.
|
void |
writeOptions(String name,
QueryOptionsWriteHandle queryOptionsHandle)
Write a named QueryOptions configuration to the REST server.
|
<T extends QueryOptionsReadHandle> T readOptions(String name, T queryOptionsHandle)
Use a QueryOptionsHandle object for access to the configuration with Java.
T - A set of classes able to read query configurations from the database.name - Name of options configuration stored on MarkLogic REST instance.queryOptionsHandle - an object into which to fetch the query options.void writeOptions(String name, QueryOptionsWriteHandle queryOptionsHandle)
name - name given to the QueryOptions for use in runtime queries.queryOptionsHandle - an object able to serialize a QueryOptions configuration.void deleteOptions(String name)
name - name of query options to remove from the REST server.<T extends QueryOptionsListReadHandle> T optionsList(T listHandle)
listHandle - a handle for reading the list of name optionsCopyright © 2013-2014 MarkLogic Corporation.