com.marklogic.client.impl.ParamAttachments 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!
package com.marklogic.client.impl;
import com.marklogic.client.io.marker.AbstractWriteHandle;
import java.util.Map;
/**
* Captures attachments associated with a parameter name in a {@code PlanBase} along with the column that the
* client uses to refer to attachments. The {@code attachments} map associates attachment names and attachment
* content. It is expected that the values in the given {@code columnName} match the attachment names.
*/
class ParamAttachments {
private PlanBuilderBaseImpl.PlanParamBase planParam;
private String columnName;
private Map attachments;
public ParamAttachments(PlanBuilderBaseImpl.PlanParamBase planParam, String columnName, Map attachments) {
this.planParam = planParam;
this.columnName = columnName;
this.attachments = attachments;
}
public PlanBuilderBaseImpl.PlanParamBase getPlanParam() {
return planParam;
}
public String getColumnName() {
return columnName;
}
public Map getAttachments() {
return attachments;
}
}