Class PopularityInsights

All Implemented Interfaces:
Serializable

@Generated("com.atlan.generators.ModelGeneratorV2") public class PopularityInsights extends AtlanStruct
Detailed information about an asset's usage or popularity based on aggregated queries.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • of

      public static PopularityInsights of(String recordUser, String recordQuery, Long recordQueryDuration, Long recordQueryCount, Long recordTotalUserCount, Double recordComputeCost, Double recordMaxComputeCost, SourceCostUnitType recordComputeCostUnit, Long recordLastTimestamp, String recordWarehouse)
      Quickly create a new PopularityInsights.
      Parameters:
      recordUser - Username or email of the user who ran the queries.
      recordQuery - Query run at source.
      recordQueryDuration - Duration for which the query ran at source.
      recordQueryCount - Number of queries run by the user.
      recordTotalUserCount - Total number of users who ran queries.
      recordComputeCost - Total compute cost for running all queries.
      recordMaxComputeCost - Maximum compute cost across all query runs.
      recordComputeCostUnit - Unit of measure for recordComputeCost.
      recordLastTimestamp - Timestamp of last operation or query run by the user.
      recordWarehouse - Name of the warehouse on which the queries were run.
      Returns:
      a PopularityInsights with the provided information
    • builder

      public static PopularityInsights.PopularityInsightsBuilder<?,?> builder()
    • toBuilder

    • getRecordUser

      public String getRecordUser()
      Username or email of the user who ran the queries.
    • getRecordQuery

      public String getRecordQuery()
      Query run at source.
    • getRecordQueryDuration

      public Long getRecordQueryDuration()
      Duration for which the query ran at source.
    • getRecordQueryCount

      public Long getRecordQueryCount()
      Number of queries run by the user.
    • getRecordTotalUserCount

      public Long getRecordTotalUserCount()
      Total number of users who ran queries.
    • getRecordComputeCost

      public Double getRecordComputeCost()
      Total compute cost for running all queries.
    • getRecordMaxComputeCost

      public Double getRecordMaxComputeCost()
      Maximum compute cost across all query runs.
    • getRecordComputeCostUnit

      public SourceCostUnitType getRecordComputeCostUnit()
      Unit of measure for recordComputeCost.
    • getRecordLastTimestamp

      public Long getRecordLastTimestamp()
      Timestamp of last operation or query run by the user.
    • getRecordWarehouse

      public String getRecordWarehouse()
      Name of the warehouse on which the queries were run.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AtlanStruct
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class AtlanStruct
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AtlanStruct
    • toString

      public String toString()
      Description copied from class: AtlanObject
      Overrides:
      toString in class AtlanObject
    • getTypeName

      public String getTypeName()
      Fixed typeName for PopularityInsights.
      Overrides:
      getTypeName in class AtlanStruct