Package com.atlan.model.assets
Class DbtMetric.DbtMetricBuilder<C extends DbtMetric,B extends DbtMetric.DbtMetricBuilder<C,B>>
java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.relations.Reference.ReferenceBuilder<C,B>
com.atlan.model.assets.Asset.AssetBuilder<C,B>
com.atlan.model.assets.DbtMetric.DbtMetricBuilder<C,B>
- Enclosing class:
DbtMetric
public abstract static class DbtMetric.DbtMetricBuilder<C extends DbtMetric,B extends DbtMetric.DbtMetricBuilder<C,B>>
extends Asset.AssetBuilder<C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) assets
(Collection<? extends IAsset> assets) abstract C
build()
dbtAccountName
(String dbtAccountName) Name of the account in which this asset exists in dbt.Alias of this asset in dbt.dbtConnectionContext
(String dbtConnectionContext) Connection context for this asset in dbt.dbtEnvironmentDbtVersion
(String dbtEnvironmentDbtVersion) Version of dbt used in the environment.dbtEnvironmentName
(String dbtEnvironmentName) Name of the environment in which this asset exists in dbt.dbtJobLastRun
(Long dbtJobLastRun) Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds.dbtJobName
(String dbtJobName) Name of the job that materialized this asset in dbt.dbtJobNextRun
(Long dbtJobNextRun) Time (epoch) at which the job that materialized this asset in dbt will next run, in milliseconds.dbtJobNextRunHumanized
(String dbtJobNextRunHumanized) Human-readable time at which the job that materialized this asset in dbt will next run.dbtJobRuns
(Collection<? extends DbtJobRun> dbtJobRuns) dbtJobSchedule
(String dbtJobSchedule) Schedule of the job that materialized this asset in dbt.dbtJobScheduleCronHumanized
(String dbtJobScheduleCronHumanized) Human-readable cron schedule of the job that materialized this asset in dbt.dbtJobStatus
(String dbtJobStatus) Status of the job that materialized this asset in dbt.Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object.dbtMetricFilter
(DbtMetricFilter dbtMetricFilter) dbtMetricFilterColumn
(IColumn dbtMetricFilterColumn) dbtMetricFilterColumns
(Collection<? extends IColumn> dbtMetricFilterColumns) dbtMetricFilters
(Collection<? extends DbtMetricFilter> dbtMetricFilters) Model in which this metric exists.dbtPackageName
(String dbtPackageName) Name of the package in which this asset exists in dbt.dbtProjectName
(String dbtProjectName) Name of the project in which this asset exists in dbt.dbtSemanticLayerProxyUrl
(String dbtSemanticLayerProxyUrl) URL of the semantic layer proxy for this asset in dbt.dbtTags
(Collection<? extends String> dbtTags) dbtUniqueId
(String dbtUniqueId) Unique identifier of this asset in dbt.dqIsPartOfContract
(Boolean dqIsPartOfContract) Whether this data quality is part of contract (true) or not (false).inputToAirflowTask
(IAirflowTask inputToAirflowTask) inputToAirflowTasks
(Collection<? extends IAirflowTask> inputToAirflowTasks) inputToProcess
(ILineageProcess inputToProcess) inputToProcesses
(Collection<? extends ILineageProcess> inputToProcesses) inputToSparkJob
(ISparkJob inputToSparkJob) inputToSparkJobs
(Collection<? extends ISparkJob> inputToSparkJobs) metricDimensionColumn
(IColumn metricDimensionColumn) metricDimensionColumns
(Collection<? extends IColumn> metricDimensionColumns) metricFilters
(String metricFilters) Filters to be applied to the metric query.SQL query used to compute the metric.metricTimeGrain
(String metricTimeGrain) metricTimeGrains
(Collection<? extends String> metricTimeGrains) metricTimestampColumn
(IColumn metricTimestampColumn) TBCmetricType
(String metricType) Type of the metric.modelImplementedAttribute
(IModelAttribute modelImplementedAttribute) modelImplementedAttributes
(Collection<? extends IModelAttribute> modelImplementedAttributes) modelImplementedEntities
(Collection<? extends IModelEntity> modelImplementedEntities) modelImplementedEntity
(IModelEntity modelImplementedEntity) outputFromAirflowTask
(IAirflowTask outputFromAirflowTask) outputFromAirflowTasks
(Collection<? extends IAirflowTask> outputFromAirflowTasks) outputFromProcess
(ILineageProcess outputFromProcess) outputFromProcesses
(Collection<? extends ILineageProcess> outputFromProcesses) outputFromSparkJob
(ISparkJob outputFromSparkJob) outputFromSparkJobs
(Collection<? extends ISparkJob> outputFromSparkJobs) protected abstract B
self()
toString()
Fixed typeName for DbtMetrics.Methods inherited from class com.atlan.model.assets.Asset.AssetBuilder
addStarredBy, adminGroup, adminGroups, adminRole, adminRoles, adminUser, adminUsers, announcementMessage, announcementTitle, announcementType, announcementUpdatedAt, announcementUpdatedBy, anomaloCheck, anomaloChecks, appendAssignedTerm, appendAtlanTag, appendAtlanTag, appendAtlanTags, appendAtlanTags, application, applicationField, applicationFieldQualifiedName, applicationQualifiedName, assetAnomaloAppliedCheckType, assetAnomaloAppliedCheckTypes, assetAnomaloCheckCount, assetAnomaloCheckStatuses, assetAnomaloDQStatus, assetAnomaloFailedCheckCount, assetAnomaloFailedCheckType, assetAnomaloFailedCheckTypes, assetAnomaloLastCheckRunAt, assetAnomaloSourceUrl, assetCoverImage, assetDbtAccountName, assetDbtAlias, assetDbtEnvironmentDbtVersion, assetDbtEnvironmentName, assetDbtJobLastRun, assetDbtJobLastRunArtifactS3Path, assetDbtJobLastRunArtifactsSaved, assetDbtJobLastRunCreatedAt, assetDbtJobLastRunDequedAt, assetDbtJobLastRunExecutedByThreadId, assetDbtJobLastRunGitBranch, assetDbtJobLastRunGitSha, assetDbtJobLastRunHasDocsGenerated, assetDbtJobLastRunHasSourcesGenerated, assetDbtJobLastRunNotificationsSent, assetDbtJobLastRunOwnerThreadId, assetDbtJobLastRunQueuedDuration, assetDbtJobLastRunQueuedDurationHumanized, assetDbtJobLastRunRunDuration, assetDbtJobLastRunRunDurationHumanized, assetDbtJobLastRunStartedAt, assetDbtJobLastRunStatusMessage, assetDbtJobLastRunTotalDuration, assetDbtJobLastRunTotalDurationHumanized, assetDbtJobLastRunUpdatedAt, assetDbtJobLastRunUrl, assetDbtJobName, assetDbtJobNextRun, assetDbtJobNextRunHumanized, assetDbtJobSchedule, assetDbtJobScheduleCronHumanized, assetDbtJobStatus, assetDbtMeta, assetDbtPackageName, assetDbtProjectName, assetDbtSemanticLayerProxyUrl, assetDbtSourceFreshnessCriteria, assetDbtTag, assetDbtTags, assetDbtTestStatus, assetDbtUniqueId, assetDbtWorkflowLastUpdated, assetIcon, assetMcAlertQualifiedName, assetMcAlertQualifiedNames, assetMcIncidentName, assetMcIncidentNames, assetMcIncidentPriorities, assetMcIncidentPriority, assetMcIncidentQualifiedName, assetMcIncidentQualifiedNames, assetMcIncidentSeverities, assetMcIncidentSeverity, assetMcIncidentState, assetMcIncidentStates, assetMcIncidentSubType, assetMcIncidentSubTypes, assetMcIncidentType, assetMcIncidentTypes, assetMcIsMonitored, assetMcLastSyncRunAt, assetMcMonitorName, assetMcMonitorNames, assetMcMonitorQualifiedName, assetMcMonitorQualifiedNames, assetMcMonitorScheduleType, assetMcMonitorScheduleTypes, assetMcMonitorStatus, assetMcMonitorStatuses, assetMcMonitorType, assetMcMonitorTypes, assetPoliciesCount, assetPolicyGUID, assetPolicyGUIDs, assetRedirectGUID, assetRedirectGUIDs, assetSodaCheckCount, assetSodaCheckStatuses, assetSodaDQStatus, assetSodaLastScanAt, assetSodaLastSyncRunAt, assetSodaSourceURL, assetTag, assetTags, assetThemeHex, assetUserDefinedType, assignedTerm, assignedTerms, atlanTag, atlanTagName, atlanTagNames, atlanTags, certificateStatus, certificateStatusMessage, certificateUpdatedAt, certificateUpdatedBy, clearAdminGroups, clearAdminRoles, clearAdminUsers, clearAnomaloChecks, clearAssetAnomaloAppliedCheckTypes, clearAssetAnomaloFailedCheckTypes, clearAssetDbtTags, clearAssetMcAlertQualifiedNames, clearAssetMcIncidentNames, clearAssetMcIncidentPriorities, clearAssetMcIncidentQualifiedNames, clearAssetMcIncidentSeverities, clearAssetMcIncidentStates, clearAssetMcIncidentSubTypes, clearAssetMcIncidentTypes, clearAssetMcMonitorNames, clearAssetMcMonitorQualifiedNames, clearAssetMcMonitorScheduleTypes, clearAssetMcMonitorStatuses, clearAssetMcMonitorTypes, clearAssetPolicyGUIDs, clearAssetRedirectGUIDs, clearAssetTags, clearAssignedTerms, clearAtlanTagNames, clearAtlanTags, clearCustomMetadataSets, clearDomainGUIDs, clearFiles, clearInputPortDataProducts, clearLinks, clearMcIncidents, clearMcMonitors, clearMeaningNames, clearMeanings, clearMetrics, clearNonCompliantAssetPolicyGUIDs, clearNullFields, clearOutputPortDataProducts, clearOutputProductGUIDs, clearOwnerGroups, clearOwnerUsers, clearPendingTasks, clearProductGUIDs, clearSchemaRegistrySubjects, clearSodaChecks, clearSourceQueryComputeCostRecords, clearSourceQueryComputeCosts, clearSourceReadExpensiveQueryRecords, clearSourceReadPopularQueryRecords, clearSourceReadRecentUserRecords, clearSourceReadRecentUsers, clearSourceReadSlowQueryRecords, clearSourceReadTopUserRecords, clearSourceReadTopUsers, clearStarredBy, clearStarredDetails, clearUserDefRelationshipFroms, clearUserDefRelationshipTos, clearViewerGroups, clearViewerUsers, connectionName, connectionQualifiedName, connectorName, connectorType, createdBy, createTime, customConnectorType, customMetadata, customMetadataSets, dataContractLatest, dataContractLatestCertified, dbtQualifiedName, deleteHandler, depth, description, displayName, domainGUID, domainGUIDs, file, files, hasContract, hasLineage, iconUrl, immediateDownstream, immediateUpstream, inputPortDataProduct, inputPortDataProducts, isAIGenerated, isDiscoverable, isEditable, isIncomplete, isPartial, lastRowChangedAt, lastSyncRun, lastSyncRunAt, lastSyncWorkflowName, lexicographicalSortOrder, link, links, mcIncident, mcIncidents, mcMonitor, mcMonitors, meaning, meaningName, meaningNames, meanings, metric, metrics, name, nonCompliantAssetPolicyGUID, nonCompliantAssetPolicyGUIDs, nullField, nullFields, outputPortDataProduct, outputPortDataProducts, outputProductGUID, outputProductGUIDs, ownerGroup, ownerGroups, ownerUser, ownerUsers, pendingTask, pendingTasks, popularityScore, productGUID, productGUIDs, qualifiedName, readme, removeAnnouncement, removeAssignedTerm, removeAssignedTerms, removeAtlanTag, removeAtlanTags, removeAtlanTags, removeCertificate, removeCustomMetadata, removeDescription, removeOwners, removeUserDescription, sampleDataUrl, schemaRegistrySubject, schemaRegistrySubjects, sodaCheck, sodaChecks, sourceCostUnit, sourceCreatedAt, sourceCreatedBy, sourceEmbedURL, sourceLastReadAt, sourceOwners, sourceQueryComputeCost, sourceQueryComputeCostRecord, sourceQueryComputeCostRecords, sourceQueryComputeCosts, sourceReadCount, sourceReadExpensiveQueryRecord, sourceReadExpensiveQueryRecords, sourceReadPopularQueryRecord, sourceReadPopularQueryRecords, sourceReadQueryCost, sourceReadRecentUser, sourceReadRecentUserRecord, sourceReadRecentUserRecords, sourceReadRecentUsers, sourceReadSlowQueryRecord, sourceReadSlowQueryRecords, sourceReadTopUser, sourceReadTopUserRecord, sourceReadTopUserRecords, sourceReadTopUsers, sourceReadUserCount, sourceTotalCost, sourceUpdatedAt, sourceUpdatedBy, sourceURL, starredBy, starredCount, starredDetail, starredDetails, status, subType, tenantId, updatedBy, updateTime, userDefRelationshipFrom, userDefRelationshipFroms, userDefRelationshipTo, userDefRelationshipTos, userDescription, viewerGroup, viewerGroups, viewerUser, viewerUsers, viewScore
Methods inherited from class com.atlan.model.relations.Reference.ReferenceBuilder
clearCustomAttributes, clearLabels, completeObject, customAttribute, customAttributes, displayText, entityStatus, guid, label, labels, relationshipAttributes, relationshipGuid, relationshipStatus, relationshipType, semantic, uniqueAttributes
Methods inherited from class com.atlan.model.core.AtlanObject.AtlanObjectBuilder
rawJsonObject
-
Constructor Details
-
DbtMetricBuilder
public DbtMetricBuilder()
-
-
Method Details
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAsset.AssetBuilder<C extends DbtMetric,
B extends DbtMetric.DbtMetricBuilder<C, B>>
-
typeName
Fixed typeName for DbtMetrics.- Overrides:
typeName
in classReference.ReferenceBuilder<C extends DbtMetric,
B extends DbtMetric.DbtMetricBuilder<C, B>> - Returns:
this
.
-
asset
-
assets
-
clearAssets
-
dbtAccountName
Name of the account in which this asset exists in dbt.- Returns:
this
.
-
dbtAlias
Alias of this asset in dbt.- Returns:
this
.
-
dbtConnectionContext
Connection context for this asset in dbt.- Returns:
this
.
-
dbtEnvironmentDbtVersion
Version of dbt used in the environment.- Returns:
this
.
-
dbtEnvironmentName
Name of the environment in which this asset exists in dbt.- Returns:
this
.
-
dbtJobLastRun
Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds.- Returns:
this
.
-
dbtJobName
Name of the job that materialized this asset in dbt.- Returns:
this
.
-
dbtJobNextRun
Time (epoch) at which the job that materialized this asset in dbt will next run, in milliseconds.- Returns:
this
.
-
dbtJobNextRunHumanized
Human-readable time at which the job that materialized this asset in dbt will next run.- Returns:
this
.
-
dbtJobRun
-
dbtJobRuns
-
clearDbtJobRuns
-
dbtJobSchedule
Schedule of the job that materialized this asset in dbt.- Returns:
this
.
-
dbtJobScheduleCronHumanized
Human-readable cron schedule of the job that materialized this asset in dbt.- Returns:
this
.
-
dbtJobStatus
Status of the job that materialized this asset in dbt.- Returns:
this
.
-
dbtMeta
Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object.- Returns:
this
.
-
dbtMetricFilterColumn
-
dbtMetricFilterColumns
-
clearDbtMetricFilterColumns
-
dbtMetricFilter
-
dbtMetricFilters
-
clearDbtMetricFilters
-
dbtModel
Model in which this metric exists.- Returns:
this
.
-
dbtPackageName
Name of the package in which this asset exists in dbt.- Returns:
this
.
-
dbtProjectName
Name of the project in which this asset exists in dbt.- Returns:
this
.
-
dbtSemanticLayerProxyUrl
URL of the semantic layer proxy for this asset in dbt.- Returns:
this
.
-
dbtTag
-
dbtTags
-
clearDbtTags
-
dbtUniqueId
Unique identifier of this asset in dbt.- Returns:
this
.
-
dqIsPartOfContract
Whether this data quality is part of contract (true) or not (false).- Returns:
this
.
-
inputToAirflowTask
-
inputToAirflowTasks
-
clearInputToAirflowTasks
-
inputToProcess
-
inputToProcesses
-
clearInputToProcesses
-
inputToSparkJob
-
inputToSparkJobs
-
clearInputToSparkJobs
-
metricDimensionColumn
-
metricDimensionColumns
-
clearMetricDimensionColumns
-
metricFilters
Filters to be applied to the metric query.- Returns:
this
.
-
metricSQL
SQL query used to compute the metric.- Returns:
this
.
-
metricTimeGrain
-
metricTimeGrains
-
clearMetricTimeGrains
-
metricTimestampColumn
TBC- Returns:
this
.
-
metricType
Type of the metric.- Returns:
this
.
-
modelImplementedAttribute
-
modelImplementedAttributes
public B modelImplementedAttributes(Collection<? extends IModelAttribute> modelImplementedAttributes) -
clearModelImplementedAttributes
-
modelImplementedEntity
-
modelImplementedEntities
-
clearModelImplementedEntities
-
outputFromAirflowTask
-
outputFromAirflowTasks
-
clearOutputFromAirflowTasks
-
outputFromProcess
-
outputFromProcesses
-
clearOutputFromProcesses
-
outputFromSparkJob
-
outputFromSparkJobs
-
clearOutputFromSparkJobs
-
self
- Specified by:
self
in classAsset.AssetBuilder<C extends DbtMetric,
B extends DbtMetric.DbtMetricBuilder<C, B>>
-
build
- Specified by:
build
in classAsset.AssetBuilder<C extends DbtMetric,
B extends DbtMetric.DbtMetricBuilder<C, B>>
-
toString
- Overrides:
toString
in classAsset.AssetBuilder<C extends DbtMetric,
B extends DbtMetric.DbtMetricBuilder<C, B>>
-