Class LineageSearchEntity


  • @Validated
    @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen",
               date="2023-05-10T05:58:32.374063Z[Etc/UTC]")
    public class LineageSearchEntity
    extends java.lang.Object
    The model for each entity returned by the lineage search query
    • Constructor Detail

      • LineageSearchEntity

        public LineageSearchEntity()
    • Method Detail

      • getEntity

        @NotNull
        public @NotNull java.lang.String getEntity()
        Urn of the entity being returned
        Returns:
        entity
      • setEntity

        public void setEntity​(java.lang.String entity)
      • getMatchedFields

        @NotNull
        @Valid
        public @NotNull @Valid java.util.List<MatchedField> getMatchedFields()
        Matched field name and values
        Returns:
        matchedFields
      • setMatchedFields

        public void setMatchedFields​(java.util.List<MatchedField> matchedFields)
      • features

        public LineageSearchEntity features​(java.util.Map<java.lang.String,​java.math.BigDecimal> features)
      • putFeaturesItem

        public LineageSearchEntity putFeaturesItem​(java.lang.String key,
                                                   java.math.BigDecimal featuresItem)
      • getFeatures

        @Valid
        public @Valid java.util.Map<java.lang.String,​java.math.BigDecimal> getFeatures()
        Get features
        Returns:
        features
      • setFeatures

        public void setFeatures​(java.util.Map<java.lang.String,​java.math.BigDecimal> features)
      • getScore

        @Valid
        public @Valid java.math.BigDecimal getScore()
        Get score
        Returns:
        score
      • setScore

        public void setScore​(java.math.BigDecimal score)
      • paths

        public LineageSearchEntity paths​(java.util.List<java.util.List<java.lang.String>> paths)
      • addPathsItem

        public LineageSearchEntity addPathsItem​(java.util.List<java.lang.String> pathsItem)
      • getPaths

        @NotNull
        @Valid
        public @NotNull @Valid java.util.List<java.util.List<java.lang.String>> getPaths()
        Optional list of entities between the source and destination node. There can be multiple paths from the source to the destination.
        Returns:
        paths
      • setPaths

        public void setPaths​(java.util.List<java.util.List<java.lang.String>> paths)
      • getPath

        @NotNull
        public @NotNull java.util.List<java.lang.String> getPath()
        Optional list of entities between the source and destination node
        Returns:
        path
      • setPath

        public void setPath​(java.util.List<java.lang.String> path)
      • getDegree

        @NotNull
        @Min(-2147483648L)
        @Max(2147483647L)
        public @NotNull @Min(-2147483648L) @Max(2147483647L) java.lang.Integer getDegree()
        Degree of relationship (number of hops to get to entity) minimum: -2147483648 maximum: 2147483647
        Returns:
        degree
      • setDegree

        public void setDegree​(java.lang.Integer degree)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object