Class BrowsePathsV2
- java.lang.Object
-
- io.datahubproject.openapi.generated.BrowsePathsV2
-
- All Implemented Interfaces:
OneOfChartSnapshotAspectsItems,OneOfDashboardSnapshotAspectsItems,OneOfDataFlowSnapshotAspectsItems,OneOfDataJobSnapshotAspectsItems,OneOfDatasetSnapshotAspectsItems,OneOfEnvelopedAspectValue,OneOfGenericAspectValue,OneOfMLFeatureSnapshotAspectsItems,OneOfMLFeatureTableSnapshotAspectsItems,OneOfMLModelGroupSnapshotAspectsItems,OneOfMLModelSnapshotAspectsItems
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-12-06T11:25:47.362934Z[Etc/UTC]") public class BrowsePathsV2 extends java.lang.Object implements OneOfChartSnapshotAspectsItems, OneOfDashboardSnapshotAspectsItems, OneOfDataFlowSnapshotAspectsItems, OneOfDataJobSnapshotAspectsItems, OneOfDatasetSnapshotAspectsItems, OneOfEnvelopedAspectValue, OneOfGenericAspectValue, OneOfMLFeatureSnapshotAspectsItems, OneOfMLFeatureTableSnapshotAspectsItems, OneOfMLModelGroupSnapshotAspectsItems, OneOfMLModelSnapshotAspectsItemsShared aspect containing a Browse Path to be indexed for an entity.
-
-
Constructor Summary
Constructors Constructor Description BrowsePathsV2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BrowsePathsV2addPathItem(BrowsePathEntry pathItem)booleanequals(java.lang.Object o)@NotNull java.lang.Stringget__type()Name of this subclass in SimpleClassName format@NotNull @Valid java.util.List<BrowsePathEntry>getPath()A valid browse path for the entity.inthashCode()BrowsePathsV2path(java.util.List<BrowsePathEntry> path)voidsetPath(java.util.List<BrowsePathEntry> path)java.lang.StringtoString()
-
-
-
Method Detail
-
get__type
@NotNull public @NotNull java.lang.String get__type()
Name of this subclass in SimpleClassName format- Returns:
- __type
-
path
public BrowsePathsV2 path(java.util.List<BrowsePathEntry> path)
-
addPathItem
public BrowsePathsV2 addPathItem(BrowsePathEntry pathItem)
-
getPath
@NotNull @Valid public @NotNull @Valid java.util.List<BrowsePathEntry> getPath()
A valid browse path for the entity. This field is provided by DataHub by default. This aspect is a newer version of browsePaths where we can encode more information in the path. This path is also based on containers for a given entity if it has containers. This is stored in elasticsearch as unit-separator delimited strings and only includes platform specific folders or containers. These paths should not include high level info captured elsewhere ie. Platform and Environment.- Returns:
- path
-
setPath
public void setPath(java.util.List<BrowsePathEntry> path)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-