public interface ProvenanceService
| Modifier and Type | Method and Description |
|---|---|
com.marklogic.client.SessionState |
newSessionState()
Creates an object to track a session for a set of operations
that require session state on the database server.
|
static ProvenanceService |
on(com.marklogic.client.DatabaseClient db)
Creates a ProvenanceService object for executing operations on the database server.
|
static ProvenanceService |
on(com.marklogic.client.DatabaseClient db,
com.marklogic.client.io.marker.JSONWriteHandle serviceDeclaration)
Creates a ProvenanceService object for executing operations on the database server.
|
java.io.Reader |
pruneProvenance(com.marklogic.client.SessionState session,
java.io.Reader endpointState,
java.io.Reader endpointConstants)
Prunes provenance according to the retainDuration property provided in endpointConstants.
|
static ProvenanceService on(com.marklogic.client.DatabaseClient db)
db - provides a client for communicating with the database serverstatic ProvenanceService 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.marklogic.client.SessionState newSessionState()
java.io.Reader pruneProvenance(com.marklogic.client.SessionState session,
java.io.Reader endpointState,
java.io.Reader endpointConstants)
session - provides inputendpointState - provides inputendpointConstants - provides input