public class ValuesListHandle extends BaseHandle<InputStream,OperationNotSupported> implements ValuesListReadHandle, ValuesListResults
UNKNOWN_LENGTH
Constructor and Description |
---|
ValuesListHandle()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getOptionsName()
Returns the name of the query options used for this query.
|
HashMap<String,String> |
getValuesMap()
Returns a HashMap of the named lexicon configurations.
|
void |
setFormat(Format format)
Sets the format associated with this handle.
|
void |
setOptionsName(String name)
Sets the name of the query options to be used for this query.
|
ValuesListHandle |
withFormat(Format format)
Fluent setter for the format associated with this handle.
|
getByteLength, getFormat, getMimetype, setByteLength, setMimetype
public void setFormat(Format format)
setFormat
in interface ContentDescriptor
setFormat
in class BaseHandle<InputStream,OperationNotSupported>
format
- The format, which must be Format.XML or an exception will be raised.public ValuesListHandle withFormat(Format format)
format
- The format, which must be Format.XML or an exception will be raised.public String getOptionsName()
public void setOptionsName(String name)
name
- The name of the saved query options node on the server.public HashMap<String,String> getValuesMap()
getValuesMap
in interface ValuesListResults
Copyright © 2013-2016 MarkLogic Corporation.