Package datahub.client.patch.dataset
Class DatasetPropertiesPatchBuilder
- java.lang.Object
-
- datahub.client.patch.AbstractPatchBuilder<DatasetPropertiesPatchBuilder>
-
- datahub.client.patch.dataset.DatasetPropertiesPatchBuilder
-
public class DatasetPropertiesPatchBuilder extends AbstractPatchBuilder<DatasetPropertiesPatchBuilder>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CUSTOM_PROPERTIES_KEY
static java.lang.String
DESCRIPTION_KEY
static java.lang.String
EXTERNAL_URL_KEY
static java.lang.String
NAME_KEY
static java.lang.String
QUALIFIED_NAME_KEY
static java.lang.String
TAGS_KEY
static java.lang.String
URI_KEY
-
Fields inherited from class datahub.client.patch.AbstractPatchBuilder
OBJECT_MAPPER, op, OP_KEY, PATH_KEY, targetEntityUrn, VALUE_KEY
-
-
Constructor Summary
Constructors Constructor Description DatasetPropertiesPatchBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getAspectName()
The aspect name associated with this builderprotected java.lang.String
getPath()
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.JsonNode
getValue()
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.-
Methods inherited from class datahub.client.patch.AbstractPatchBuilder
build, buildPatch, op, urn
-
-
-
-
Field Detail
-
CUSTOM_PROPERTIES_KEY
public static final java.lang.String CUSTOM_PROPERTIES_KEY
- See Also:
- Constant Field Values
-
DESCRIPTION_KEY
public static final java.lang.String DESCRIPTION_KEY
- See Also:
- Constant Field Values
-
TAGS_KEY
public static final java.lang.String TAGS_KEY
- See Also:
- Constant Field Values
-
EXTERNAL_URL_KEY
public static final java.lang.String EXTERNAL_URL_KEY
- See Also:
- Constant Field Values
-
NAME_KEY
public static final java.lang.String NAME_KEY
- See Also:
- Constant Field Values
-
QUALIFIED_NAME_KEY
public static final java.lang.String QUALIFIED_NAME_KEY
- See Also:
- Constant Field Values
-
URI_KEY
public static final java.lang.String URI_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRequiredProperties
protected java.util.stream.Stream<java.lang.Object> getRequiredProperties()
Description copied from class:AbstractPatchBuilder
Properties required by this builder to properly construct a patch- Specified by:
getRequiredProperties
in classAbstractPatchBuilder<DatasetPropertiesPatchBuilder>
- Returns:
- a list of properties to execute a null check on
-
getPath
protected java.lang.String getPath()
Description copied from class:AbstractPatchBuilder
Path of the patch to apply, patch builders with complex object subpath will use a FieldPath enum to specify- Specified by:
getPath
in classAbstractPatchBuilder<DatasetPropertiesPatchBuilder>
- Returns:
- path string
-
getValue
protected com.fasterxml.jackson.databind.JsonNode getValue()
Description copied from class:AbstractPatchBuilder
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.- Specified by:
getValue
in classAbstractPatchBuilder<DatasetPropertiesPatchBuilder>
- Returns:
JsonNode
-
getAspectName
protected java.lang.String getAspectName()
Description copied from class:AbstractPatchBuilder
The aspect name associated with this builder- Specified by:
getAspectName
in classAbstractPatchBuilder<DatasetPropertiesPatchBuilder>
- Returns:
- aspect name
-
-