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