Package com.atlan.model.structs
Class PopularityInsights
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.structs.AtlanStruct
com.atlan.model.structs.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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
PopularityInsights.PopularityInsightsBuilder<C extends PopularityInsights,
B extends PopularityInsights.PopularityInsightsBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.structs.AtlanStruct
AtlanStruct.AtlanStructBuilder<C extends AtlanStruct,
B extends AtlanStruct.AtlanStructBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.core.AtlanObject
AtlanObject.AtlanObjectBuilder<C extends AtlanObject,
B extends AtlanObject.AtlanObjectBuilder<C, B>> -
Field Summary
Fields inherited from class com.atlan.model.core.AtlanObject
rawJsonObject
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionstatic PopularityInsights.PopularityInsightsBuilder<?,
?> builder()
protected boolean
boolean
Total compute cost for running all queries.Unit of measure for recordComputeCost.Timestamp of last operation or query run by the user.Maximum compute cost across all query runs.Query run at source.Number of queries run by the user.Duration for which the query ran at source.Total number of users who ran queries.Username or email of the user who ran the queries.Name of the warehouse on which the queries were run.Fixed typeName for PopularityInsights.int
hashCode()
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.toString()
Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
PopularityInsights
-
-
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
-
toBuilder
-
getRecordUser
Username or email of the user who ran the queries. -
getRecordQuery
Query run at source. -
getRecordQueryDuration
Duration for which the query ran at source. -
getRecordQueryCount
Number of queries run by the user. -
getRecordTotalUserCount
Total number of users who ran queries. -
getRecordComputeCost
Total compute cost for running all queries. -
getRecordMaxComputeCost
Maximum compute cost across all query runs. -
getRecordComputeCostUnit
Unit of measure for recordComputeCost. -
getRecordLastTimestamp
Timestamp of last operation or query run by the user. -
getRecordWarehouse
Name of the warehouse on which the queries were run. -
equals
- Overrides:
equals
in classAtlanStruct
-
canEqual
- Overrides:
canEqual
in classAtlanStruct
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAtlanStruct
-
toString
Description copied from class:AtlanObject
- Overrides:
toString
in classAtlanObject
-
getTypeName
Fixed typeName for PopularityInsights.- Overrides:
getTypeName
in classAtlanStruct
-