public class QueryOptionsListHandle extends BaseHandle<java.io.InputStream,OperationNotSupported> implements QueryOptionsListReadHandle, QueryOptionsListResults
UNKNOWN_LENGTH
Constructor and Description |
---|
QueryOptionsListHandle()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<java.lang.String,java.lang.String> |
getValuesMap()
Returns a HashMap of the named query options from the server.
|
protected java.lang.Class<java.io.InputStream> |
receiveAs() |
protected void |
receiveContent(java.io.InputStream content) |
void |
setFormat(Format format)
Sets the format associated with this handle.
|
QueryOptionsListHandle |
withFormat(Format format)
Fluent setter for the format associated with this handle.
|
getByteLength, getFormat, getMimetype, getServerTimestamp, setByteLength, setMimetype, setServerTimestamp
public void setFormat(Format format)
setFormat
in interface ContentDescriptor
setFormat
in class BaseHandle<java.io.InputStream,OperationNotSupported>
format
- The format, which must be Format.XML or an exception will be raised.public QueryOptionsListHandle withFormat(Format format)
format
- The format, which must be Format.XML or an exception will be raised.protected java.lang.Class<java.io.InputStream> receiveAs()
receiveAs
in class com.marklogic.client.impl.HandleImplementation<java.io.InputStream,OperationNotSupported>
protected void receiveContent(java.io.InputStream content)
receiveContent
in class com.marklogic.client.impl.HandleImplementation<java.io.InputStream,OperationNotSupported>
public java.util.HashMap<java.lang.String,java.lang.String> getValuesMap()
getValuesMap
in interface QueryOptionsListResults
Copyright © 2013-2021 MarkLogic Corporation.