datahub.client.patch.common.GlossaryTermsPatchBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datahub-client Show documentation
Show all versions of datahub-client Show documentation
DataHub Java client for metadata integration
package datahub.client.patch.common;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.linkedin.common.urn.GlossaryTermUrn;
import datahub.client.patch.AbstractPatchBuilder;
import java.util.stream.Stream;
import static com.fasterxml.jackson.databind.node.JsonNodeFactory.*;
import static com.linkedin.metadata.Constants.*;
public class GlossaryTermsPatchBuilder extends AbstractPatchBuilder {
private static final String BASE_PATH = "/glossaryTerms/";
private static final String URN_KEY = "urn";
private static final String CONTEXT_KEY = "context";
/**
* The glossary term urn to perform the patch operation on
*/
private GlossaryTermUrn urn = null;
private String context = null;
public GlossaryTermsPatchBuilder urn(GlossaryTermUrn urn) {
this.urn = urn;
return this;
}
public GlossaryTermsPatchBuilder context(String context) {
this.context = context;
return this;
}
@Override
protected Stream
© 2015 - 2025 Weber Informatics LLC | Privacy Policy