- All Implemented Interfaces:
ContentDescriptor,
AbstractReadHandle,
ValuesListReadHandle,
ValuesListResults
A ValuesListHandle represents a list of
available named lexicon configurations from saved query
options.
-
Field Summary
-
Constructor Summary
Constructors
-
Method Summary
Returns the name of the query options used for
this query.
Returns a HashMap of the named lexicon
configurations.
protected void
void
Sets the format associated with this
handle.
void
Sets the name of the query options to be used
for this query.
Fluent setter for the format associated with
this handle.
Methods inherited from
class com.marklogic.client.impl.HandleImplementation
getPointInTimeQueryTimestamp, isResendable, sendContent,
setPointInTimeQueryTimestamp, setResendable,
setResponseServerTimestamp
Methods
inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Method Details
-
setFormat
public void setFormat(Format format)
Sets the format associated with this handle.
This handle only supports XML.
- Specified by:
setFormat in interface ContentDescriptor
- Overrides:
setFormat in
class BaseHandle<InputStream,OperationNotSupported>
- Parameters:
format - The format, which must be Format.XML or
an exception will be raised.
-
withFormat
Fluent setter for the format associated with
this handle. This handle only supports XML.
- Parameters:
format - The format, which must be Format.XML or
an exception will be raised.
- Returns:
- The QueryOptionsListHandle instance on which this method was
called.
-
getOptionsName
public String getOptionsName()
Returns the name of the query options used for
this query.
- Returns:
- The options name.
-
setOptionsName
public 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 query will fail.
- Parameters:
name - The name of the saved query options node on
the server.
-
receiveAs
- Overrides:
receiveAs in
class com.marklogic.client.impl.HandleImplementation<InputStream,OperationNotSupported>
-
receiveContent
- Overrides:
receiveContent in
class com.marklogic.client.impl.HandleImplementation<InputStream,OperationNotSupported>
-
getValuesMap
Returns a HashMap of the named lexicon
configurations. The keys are the names of the lexicons, the values
are the corresponding URIs on the server.
- Specified by:
getValuesMap in
interface ValuesListResults
- Returns:
- The map of names to URIs.
Copyright (c) 2010-2025 Progress
Software Corporation and/or its subsidiaries or affiliates. All
Rights Reserved.