public interface StepRunnerService
Modifier and Type | Method and Description |
---|---|
static StepRunnerService |
on(com.marklogic.client.DatabaseClient db)
Creates a StepRunnerService object for executing operations on the database server.
|
static StepRunnerService |
on(com.marklogic.client.DatabaseClient db,
com.marklogic.client.io.marker.JSONWriteHandle serviceDeclaration)
Creates a StepRunnerService object for executing operations on the database server.
|
com.fasterxml.jackson.databind.JsonNode |
processBatch(com.fasterxml.jackson.databind.JsonNode inputs)
Replacement for the mlRunFlow REST extension; processes a batch of items using the given flow and step
|
static StepRunnerService on(com.marklogic.client.DatabaseClient db)
db
- provides a client for communicating with the database serverstatic StepRunnerService on(com.marklogic.client.DatabaseClient db, com.marklogic.client.io.marker.JSONWriteHandle serviceDeclaration)
db
- provides a client for communicating with the database serverserviceDeclaration
- substitutes a custom implementation of the servicecom.fasterxml.jackson.databind.JsonNode processBatch(com.fasterxml.jackson.databind.JsonNode inputs)
inputs
- provides input