Package datahub.client.patch.dataset
Class UpstreamLineagePatchBuilder
- java.lang.Object
-
- datahub.client.patch.AbstractMultiFieldPatchBuilder<UpstreamLineagePatchBuilder>
-
- datahub.client.patch.dataset.UpstreamLineagePatchBuilder
-
public class UpstreamLineagePatchBuilder extends AbstractMultiFieldPatchBuilder<UpstreamLineagePatchBuilder>
-
-
Field Summary
-
Fields inherited from class datahub.client.patch.AbstractMultiFieldPatchBuilder
OP_KEY, PATH_KEY, pathValues, targetEntityUrn, VALUE_KEY
-
-
Constructor Summary
Constructors Constructor Description UpstreamLineagePatchBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpstreamLineagePatchBuilderaddUpstream(com.linkedin.common.urn.DatasetUrn datasetUrn, com.linkedin.dataset.DatasetLineageType lineageType)protected java.lang.StringgetAspectName()The aspect name associated with this builderprotected java.lang.StringgetEntityType()Returns the String representation of the Entity type associated with this aspectUpstreamLineagePatchBuilderremoveUpstream(com.linkedin.common.urn.DatasetUrn datasetUrn)-
Methods inherited from class datahub.client.patch.AbstractMultiFieldPatchBuilder
build, buildPatch, getPathValues, urn
-
-
-
-
Method Detail
-
addUpstream
public UpstreamLineagePatchBuilder addUpstream(@Nonnull com.linkedin.common.urn.DatasetUrn datasetUrn, @Nonnull com.linkedin.dataset.DatasetLineageType lineageType)
-
removeUpstream
public UpstreamLineagePatchBuilder removeUpstream(@Nonnull com.linkedin.common.urn.DatasetUrn datasetUrn)
-
getAspectName
protected java.lang.String getAspectName()
Description copied from class:AbstractMultiFieldPatchBuilderThe aspect name associated with this builder- Specified by:
getAspectNamein classAbstractMultiFieldPatchBuilder<UpstreamLineagePatchBuilder>- Returns:
- aspect name
-
getEntityType
protected java.lang.String getEntityType()
Description copied from class:AbstractMultiFieldPatchBuilderReturns the String representation of the Entity type associated with this aspect- Specified by:
getEntityTypein classAbstractMultiFieldPatchBuilder<UpstreamLineagePatchBuilder>- Returns:
- entity type name
-
-