QueryDefinition
, RawQueryDefinition
public interface RawStructuredQueryDefinition extends RawQueryDefinition
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getCriteria() |
Returns the query criteria, that is the query string.
|
java.lang.String |
serialize() |
Returns the structured query definition as a serialized XML string.
|
void |
setCriteria(java.lang.String criteria) |
Sets the query criteria as a query string.
|
RawStructuredQueryDefinition |
withCriteria(java.lang.String criteria) |
Sets the query criteria as a query string and returns the query
definition as a fluent convenience.
|
RawStructuredQueryDefinition |
withHandle(StructureWriteHandle handle) |
Specifies the handle for the JSON or XML representation
of a structured query and returns the query definition.
|
getCollections, getDirectory, getOptionsName, getResponseTransform, setCollections, setDirectory, setOptionsName, setResponseTransform
getHandle, setHandle
RawStructuredQueryDefinition withHandle(StructureWriteHandle handle)
handle
- the JSON or XML handle.java.lang.String serialize()
java.lang.String getCriteria()
void setCriteria(java.lang.String criteria)
criteria
- The query string.RawStructuredQueryDefinition withCriteria(java.lang.String criteria)
criteria
- The query string.Copyright © 2013-2019 MarkLogic Corporation.