Package | Description |
---|---|
com.marklogic.client |
The package provides the core classes,
interfaces and exceptions for working with the database.
|
com.marklogic.client.eval |
Modifier and Type | Method | Description |
---|---|---|
ServerEvaluationCall |
DatabaseClient.newServerEval() |
Creates a ServerEvaluationCall for eval and
invoke of server-side xquery or javascript code.
|
Modifier and Type | Method | Description |
---|---|---|
ServerEvaluationCall |
ServerEvaluationCall.addNamespace(java.lang.String prefix,
java.lang.String namespaceURI) |
Add a single namespace prefix-to-uri mapping to
the namespace context.
|
ServerEvaluationCall |
ServerEvaluationCall.addVariable(java.lang.String name,
AbstractWriteHandle value) |
Set a variable name-value pair to pass to the
code executing server-side.
|
ServerEvaluationCall |
ServerEvaluationCall.addVariable(java.lang.String name,
java.lang.Boolean value) |
Set a variable name-value pair to pass to the
code executing server-side.
|
ServerEvaluationCall |
ServerEvaluationCall.addVariable(java.lang.String name,
java.lang.Number value) |
Set a variable name-value pair to pass to the
code executing server-side.
|
ServerEvaluationCall |
ServerEvaluationCall.addVariable(java.lang.String name,
java.lang.String value) |
Set a variable name-value pair to pass to the
code executing server-side.
|
ServerEvaluationCall |
ServerEvaluationCall.addVariableAs(java.lang.String name,
java.lang.Object value) |
Convenience method to set a variable of a type
mapped to an io handle.
|
ServerEvaluationCall |
ServerEvaluationCall.javascript(TextWriteHandle javascript) |
Initialize this server-side eval call with
javascript-syntax source code.
|
ServerEvaluationCall |
ServerEvaluationCall.javascript(java.lang.String javascript) |
Initialize this server-side eval with
javascript-syntax source code.
|
ServerEvaluationCall |
ServerEvaluationCall.modulePath(java.lang.String modulePath) |
Initialize this server-side invoke call with a
path to the module to invoke.
|
ServerEvaluationCall |
ServerEvaluationCall.namespaceContext(EditableNamespaceContext namespaces) |
Initialize this call with namespaces so
variables with prefixes can be sent with their prefixes translated
to uris that will match the uris in the code to be executed on the
server.
|
ServerEvaluationCall |
ServerEvaluationCall.transaction(Transaction transaction) |
Initialize this call with a transaction under
which server-side execution should occur.
|
ServerEvaluationCall |
ServerEvaluationCall.xquery(TextWriteHandle xquery) |
Initialize this server-side eval with
xquery-syntax source code.
|
ServerEvaluationCall |
ServerEvaluationCall.xquery(java.lang.String xquery) |
Initialize this server-side eval with
xquery-syntax source code.
|
Copyright © 2022 MarkLogic Corporation