|
XCC/J 6.0-3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ModuleInvoke
An specialization of Request that contains the URI of an XQuery module (resident in the
server) to be evaluated by the MarkLogic Server.
XCC can connect to a 3.0 MarkLogic Server, but there was an change in the way module invocations
are encoded between 3.0 and 3.1. If you wish use XCC to invoke or spawn a module on a 3.0 server,
you must set the system property "xcc.module.invoke.oldstyle" to the value "true". System
properties can be set at JVM startup with a command line argument of the form
System.setProperty(String, String)
programmatically.
| Method Summary | |
|---|---|
String |
getModuleUri()
Returns the currently set URI for this Request. |
void |
setModuleUri(String uri)
Replace the URI associated with this Request, which specifies an XQuery module
(server-side code) to be invoked on the server. |
| Methods inherited from interface com.marklogic.xcc.Request |
|---|
clearVariable, clearVariables, getCount, getEffectiveOptions, getOptions, getPosition, getSession, getVariables, setCount, setNewIntegerVariable, setNewIntegerVariable, setNewStringVariable, setNewStringVariable, setNewVariable, setNewVariable, setNewVariable, setOptions, setPosition, setVariable |
| Method Detail |
|---|
void setModuleUri(String uri)
Request, which specifies an XQuery module
(server-side code) to be invoked on the server.
uri - A String that represents the URI of a text document known to the server which is
an XQuery module.String getModuleUri()
Request.
Session.submitRequest(Request).
|
XCC/J 6.0-3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com