Name

ml:adhoc-query — Run an adhoc query on MarkLogic Server.

Synopsis

<p:declare-step type="ml:adhoc-query" xmlns:ml="http://xmlcalabash.com/ns/extensions/marklogic">
     <p:input port="source"/>
     <p:input port="parameters" kind="parameter"/>
     <p:output port="result" sequence="true"/>
     <p:option name="host"/>                                       <!-- string -->
     <p:option name="port"/>                                       <!-- integer -->
     <p:option name="user"/>                                       <!-- string -->
     <p:option name="password"/>                                   <!-- string -->
     <p:option name="content-base"/>                               <!-- string -->
     <p:option name="wrapper"/>                                    <!-- QName -->
</p:declare-step>

Description

The ml:adhoc-query step performs an adhoc query on a Mark Logic Server.

Implementation

To use this step you must have MarkLogic Server and the xmlcalabash1-xcc module. The jar file from that project must be in the class path in order to use this step.