Package datahub.client.patch.dataset
Class UpstreamLineagePatchBuilder
- java.lang.Object
-
- datahub.client.patch.AbstractPatchBuilder<UpstreamLineagePatchBuilder>
-
- datahub.client.patch.dataset.UpstreamLineagePatchBuilder
-
public class UpstreamLineagePatchBuilder extends AbstractPatchBuilder<UpstreamLineagePatchBuilder>
-
-
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 UpstreamLineagePatchBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpstreamLineagePatchBuilderdataset(com.linkedin.common.urn.DatasetUrn datasetUrn)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.UpstreamLineagePatchBuilderlineageType(com.linkedin.dataset.DatasetLineageType lineageType)-
Methods inherited from class datahub.client.patch.AbstractPatchBuilder
build, buildPatch, op, urn
-
-
-
-
Method Detail
-
dataset
public UpstreamLineagePatchBuilder dataset(com.linkedin.common.urn.DatasetUrn datasetUrn)
-
lineageType
public UpstreamLineagePatchBuilder lineageType(com.linkedin.dataset.DatasetLineageType lineageType)
-
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<UpstreamLineagePatchBuilder>- 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<UpstreamLineagePatchBuilder>- 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<UpstreamLineagePatchBuilder>- Returns:
JsonNode
-
getAspectName
protected java.lang.String getAspectName()
Description copied from class:AbstractPatchBuilderThe aspect name associated with this builder- Specified by:
getAspectNamein classAbstractPatchBuilder<UpstreamLineagePatchBuilder>- Returns:
- aspect name
-
-