ContentDescriptor
,
AbstractReadHandle
,
ValuesListReadHandle
,
ValuesListResults
public class ValuesListHandle extends BaseHandle<java.io.InputStream,OperationNotSupported> implements ValuesListReadHandle, ValuesListResults
UNKNOWN_LENGTH
Constructor | Description |
---|---|
ValuesListHandle() |
The constructor.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getOptionsName() |
Returns the name of the query options used for
this query.
|
java.util.HashMap<java.lang.String,java.lang.String> |
getValuesMap() |
Returns a HashMap of the named lexicon
configurations.
|
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.
|
void |
setOptionsName(java.lang.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,
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 ValuesListHandle withFormat(Format format)
format
- The format, which must be Format.XML or
an exception will be raised.public java.lang.String getOptionsName()
public void setOptionsName(java.lang.String name)
name
- The name of the saved query options node on
the server.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 ValuesListResults
Copyright © 2022 MarkLogic Corporation