Package datahub.client.patch.common
Class GlossaryTermsPatchBuilder
- java.lang.Object
-
- datahub.client.patch.AbstractPatchBuilder<GlossaryTermsPatchBuilder>
-
- datahub.client.patch.common.GlossaryTermsPatchBuilder
-
public class GlossaryTermsPatchBuilder extends AbstractPatchBuilder<GlossaryTermsPatchBuilder>
-
-
Field Summary
-
Fields inherited from class datahub.client.patch.AbstractPatchBuilder
OBJECT_MAPPER, op, OP_KEY, PATH_KEY, targetEntityUrn, VALUE_KEY
-
-
Constructor Summary
Constructors Constructor Description GlossaryTermsPatchBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlossaryTermsPatchBuildercontext(java.lang.String context)protected java.lang.StringgetAspectName()The aspect name associated with this builderprotected java.lang.StringgetPath()Path of the patch to apply, patch builders with complex object subpath will use a FieldPath enum to specifyprotected java.util.stream.Stream<java.lang.Object>getRequiredProperties()Properties required by this builder to properly construct a patchprotected com.fasterxml.jackson.databind.JsonNodegetValue()Json Patch value in JsonNode format, Note: field values initialize as null, so setting a field to null will be ignored rather than actually setting the field to null.GlossaryTermsPatchBuilderurn(com.linkedin.common.urn.GlossaryTermUrn urn)-
Methods inherited from class datahub.client.patch.AbstractPatchBuilder
build, buildPatch, op, urn
-
-
-
-
Method Detail
-
urn
public GlossaryTermsPatchBuilder urn(com.linkedin.common.urn.GlossaryTermUrn urn)
-
context
public GlossaryTermsPatchBuilder context(java.lang.String context)
-
getRequiredProperties
protected java.util.stream.Stream<java.lang.Object> getRequiredProperties()
Description copied from class:AbstractPatchBuilderProperties required by this builder to properly construct a patch- Specified by:
getRequiredPropertiesin classAbstractPatchBuilder<GlossaryTermsPatchBuilder>- Returns:
- a list of properties to execute a null check on
-
getPath
protected java.lang.String getPath()
Description copied from class:AbstractPatchBuilderPath of the patch to apply, patch builders with complex object subpath will use a FieldPath enum to specify- Specified by:
getPathin classAbstractPatchBuilder<GlossaryTermsPatchBuilder>- Returns:
- path string
-
getValue
protected com.fasterxml.jackson.databind.JsonNode getValue()
Description copied from class:AbstractPatchBuilderJson Patch value in JsonNode format, Note: field values initialize as null, so setting a field to null will be ignored rather than actually setting the field to null.- Specified by:
getValuein classAbstractPatchBuilder<GlossaryTermsPatchBuilder>- Returns:
JsonNode
-
getAspectName
protected java.lang.String getAspectName()
Description copied from class:AbstractPatchBuilderThe aspect name associated with this builder- Specified by:
getAspectNamein classAbstractPatchBuilder<GlossaryTermsPatchBuilder>- Returns:
- aspect name
-
-