
com.marklogic.client.datamovement.impl.WriteEventImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of marklogic-client-api Show documentation
Show all versions of marklogic-client-api Show documentation
The official MarkLogic Java client API.
The newest version!
/*
* Copyright © 2024 MarkLogic Corporation. All Rights Reserved.
*/
package com.marklogic.client.datamovement.impl;
import com.marklogic.client.io.marker.AbstractWriteHandle;
import com.marklogic.client.io.marker.DocumentMetadataWriteHandle;
import com.marklogic.client.datamovement.WriteEvent;
public class WriteEventImpl extends DataMovementEventImpl implements WriteEvent {
private String targetUri;
private AbstractWriteHandle content;
private DocumentMetadataWriteHandle metadata;
@Override
public String getTargetUri() {
return targetUri;
}
public WriteEventImpl withTargetUri(String targetUri) {
this.targetUri = targetUri;
return this;
}
@Override
public AbstractWriteHandle getContent() {
return content;
}
public WriteEventImpl withContent(AbstractWriteHandle content) {
this.content = content;
return this;
}
@Override
public DocumentMetadataWriteHandle getMetadata() {
return metadata;
}
public WriteEventImpl withMetadata(DocumentMetadataWriteHandle metadata) {
this.metadata = metadata;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy