public class JobInformationRecorder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
JobInformationRecorder.addQueryBatchFailureInformationListener |
class |
JobInformationRecorder.addQueryBatchSuccessInformationListener |
class |
JobInformationRecorder.addWriteBatchFailureInformationListener |
class |
JobInformationRecorder.addWriteBatchSuccessInformationListener |
Modifier and Type | Method and Description |
---|---|
JobInformationRecorder |
withBatchInformation()
Indicates the JobInformationRecorder to persist batch information.
|
JobInformationRecorder |
withCollection(java.lang.String collection)
Sets the collection in which the job information documents would be written.
|
JobInformationRecorder |
withDatabaseClient(DatabaseClient client)
Sets the DatabaseClient from which the internal WriteBatcher object is created if an external
WriteBatcher object is not passed.
|
JobInformationRecorder |
withProperty(java.util.Map<java.lang.String,java.lang.String> properties)
Sets the map of key value pairs to the job information.
|
JobInformationRecorder |
withProperty(java.lang.String key,
java.lang.String value)
Sets the key value pair to the job information.
|
JobInformationRecorder |
withWriteBatcher(DataMovementManager dataMovementManager,
WriteBatcher writeBatcher)
Sets the WriteBatcher object which should be used for writing the job information.
|
public JobInformationRecorder withWriteBatcher(DataMovementManager dataMovementManager, WriteBatcher writeBatcher)
dataMovementManager
- The manager associated with the write batcherwriteBatcher
- The WriteBatcher object with which we should write the job information.public JobInformationRecorder withDatabaseClient(DatabaseClient client)
client
- The DatabaseClient object for creating internal WriteBatcherpublic JobInformationRecorder withCollection(java.lang.String collection)
collection
- The collection in which the job information documents should be writtenpublic JobInformationRecorder withBatchInformation()
public JobInformationRecorder withProperty(java.lang.String key, java.lang.String value)
key
- key of the key value pairvalue
- value of the key value pairpublic JobInformationRecorder withProperty(java.util.Map<java.lang.String,java.lang.String> properties)
properties
- map of Key value pairsCopyright © 2013-2021 MarkLogic Corporation.