public interface MasteringService
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
calculateMatchingActivity(java.lang.String stepName)
Invokes the calculateMatchingActivity operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
calculateMergingActivity(java.lang.String stepName)
Calculates tangential information about a merging step to provide configuration insights.
|
com.fasterxml.jackson.databind.JsonNode |
getDefaultCollections(java.lang.String entityType)
Invokes the getDefaultCollections operation on the database server
|
static MasteringService |
on(com.marklogic.client.DatabaseClient db)
Creates a MasteringService object for executing operations on the database server.
|
static MasteringService |
on(com.marklogic.client.DatabaseClient db,
com.marklogic.client.io.marker.JSONWriteHandle serviceDeclaration)
Creates a MasteringService object for executing operations on the database server.
|
com.fasterxml.jackson.databind.JsonNode |
previewMatchingActivity(java.lang.Integer sampleSize,
java.util.stream.Stream<java.lang.String> uris,
java.lang.String stepName,
java.lang.Boolean restrictToUris,
java.lang.Boolean nonMatches)
Invokes the previewMatchingActivity operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
updateMatchOptions(com.fasterxml.jackson.databind.JsonNode options)
Invokes the updateMatchOptions operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
updateMergeOptions(com.fasterxml.jackson.databind.JsonNode options)
Invokes the updateMergeOptions operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
validateMatchingStep(java.lang.String stepName)
Invokes the validateMatchingStep operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
validateMergingStep(java.lang.String stepName,
java.lang.String view,
java.lang.String entityPropertyPath)
Provides feedback in the form of errors and warnings about a merge step.
|
static MasteringService on(com.marklogic.client.DatabaseClient db)
db
- provides a client for communicating with the database serverstatic MasteringService 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 calculateMergingActivity(java.lang.String stepName)
stepName
- provides inputcom.fasterxml.jackson.databind.JsonNode validateMatchingStep(java.lang.String stepName)
stepName
- provides inputcom.fasterxml.jackson.databind.JsonNode updateMergeOptions(com.fasterxml.jackson.databind.JsonNode options)
options
- provides inputcom.fasterxml.jackson.databind.JsonNode calculateMatchingActivity(java.lang.String stepName)
stepName
- provides inputcom.fasterxml.jackson.databind.JsonNode updateMatchOptions(com.fasterxml.jackson.databind.JsonNode options)
options
- provides inputcom.fasterxml.jackson.databind.JsonNode previewMatchingActivity(java.lang.Integer sampleSize, java.util.stream.Stream<java.lang.String> uris, java.lang.String stepName, java.lang.Boolean restrictToUris, java.lang.Boolean nonMatches)
sampleSize
- provides inputuris
- provides inputstepName
- provides inputrestrictToUris
- provides inputnonMatches
- provides inputcom.fasterxml.jackson.databind.JsonNode getDefaultCollections(java.lang.String entityType)
entityType
- provides inputcom.fasterxml.jackson.databind.JsonNode validateMergingStep(java.lang.String stepName, java.lang.String view, java.lang.String entityPropertyPath)
stepName
- provides inputview
- Designates the view the messages are for. Valid values are 'settings' or 'rules'entityPropertyPath
- Restricts property warnings to a given entity property path