Package com.atlan.model.assets
Class RedashQuery.RedashQueryBuilder<C extends RedashQuery,B extends RedashQuery.RedashQueryBuilder<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.RedashQuery.RedashQueryBuilder<C,B>
- Enclosing class:
- RedashQuery
public abstract static class RedashQuery.RedashQueryBuilder<C extends RedashQuery,B extends RedashQuery.RedashQueryBuilder<C,B>>
extends Asset.AssetBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) applicationContainer
(IApplicationContainer applicationContainer) ApplicationContainer asset containing this Catalog asset.assetApplicationQualifiedName
(String assetApplicationQualifiedName) Qualified name of the Application Container that contains this asset.abstract C
build()
inputToAirflowTask
(IAirflowTask inputToAirflowTask) inputToAirflowTasks
(Collection<? extends IAirflowTask> inputToAirflowTasks) inputToProcess
(ILineageProcess inputToProcess) inputToProcesses
(Collection<? extends ILineageProcess> inputToProcesses) inputToSparkJob
(ISparkJob inputToSparkJob) inputToSparkJobs
(Collection<? extends ISparkJob> inputToSparkJobs) 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) putRedashQuerySchedule
(String putRedashQueryScheduleKey, String putRedashQueryScheduleValue) redashIsPublished
(Boolean redashIsPublished) Whether this asset is published in Redash (true) or not (false).redashQueryLastExecutedAt
(Long redashQueryLastExecutedAt) Time (epoch) when this query was last executed, in milliseconds.redashQueryLastExecutionRuntime
(Double redashQueryLastExecutionRuntime) Elapsed time of the last execution of this query.redashQueryParameters
(String redashQueryParameters) Parameters of this query.redashQuerySchedule
(Map<? extends String, ? extends String> redashQuerySchedule) redashQueryScheduleHumanized
(String redashQueryScheduleHumanized) Schdule for this query in readable text for overview tab and filtering.redashQuerySQL
(String redashQuerySQL) SQL code of this query.redashVisualization
(IRedashVisualization redashVisualization) redashVisualizations
(Collection<? extends IRedashVisualization> redashVisualizations) protected abstract B
self()
toString()
Fixed typeName for RedashQuerys.Methods inherited from class com.atlan.model.assets.Asset.AssetBuilder
addStarredBy, adminGroup, adminGroups, adminRole, adminRoles, adminUser, adminUsers, announcementMessage, announcementTitle, announcementType, announcementUpdatedAt, announcementUpdatedBy, anomaloCheck, anomaloChecks, 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, assetMcLastSyncRunAt, assetMcMonitorName, assetMcMonitorNames, assetMcMonitorQualifiedName, assetMcMonitorQualifiedNames, assetMcMonitorScheduleType, assetMcMonitorScheduleTypes, assetMcMonitorStatus, assetMcMonitorStatuses, assetMcMonitorType, assetMcMonitorTypes, assetPoliciesCount, assetPolicyGUID, assetPolicyGUIDs, assetSodaCheckCount, assetSodaCheckStatuses, assetSodaDQStatus, assetSodaLastScanAt, assetSodaLastSyncRunAt, assetSodaSourceURL, assetTag, assetTags, assetThemeHex, 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, clearAssetTags, clearAssignedTerms, clearAtlanTagNames, clearAtlanTags, clearCustomMetadataSets, clearDomainGUIDs, clearFiles, clearInputPortDataProducts, clearLinks, clearMcIncidents, clearMcMonitors, clearMeaningNames, clearMeanings, clearMetrics, clearNonCompliantAssetPolicyGUIDs, clearNullFields, clearOutputPortDataProducts, clearOwnerGroups, clearOwnerUsers, clearPendingTasks, clearSchemaRegistrySubjects, clearSodaChecks, clearSourceQueryComputeCostRecords, clearSourceQueryComputeCosts, clearSourceReadExpensiveQueryRecords, clearSourceReadPopularQueryRecords, clearSourceReadRecentUserRecords, clearSourceReadRecentUsers, clearSourceReadSlowQueryRecords, clearSourceReadTopUserRecords, clearSourceReadTopUsers, clearStarredBy, clearStarredDetails, clearUserDefRelationshipFroms, clearUserDefRelationshipTos, clearViewerGroups, clearViewerUsers, connectionName, connectionQualifiedName, connectorType, createdBy, createTime, customMetadata, customMetadataSets, dataContractLatest, dataContractLatestCertified, dbtQualifiedName, deleteHandler, depth, description, displayName, domainGUID, domainGUIDs, file, files, hasContract, hasLineage, 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, ownerGroup, ownerGroups, ownerUser, ownerUsers, pendingTask, pendingTasks, popularityScore, qualifiedName, readme, removeAnnouncement, removeAssignedTerms, 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
-
RedashQueryBuilder
public RedashQueryBuilder()
-
-
Method Details
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAsset.AssetBuilder<C extends RedashQuery,
B extends RedashQuery.RedashQueryBuilder<C, B>>
-
typeName
Fixed typeName for RedashQuerys.- Overrides:
typeName
in classReference.ReferenceBuilder<C extends RedashQuery,
B extends RedashQuery.RedashQueryBuilder<C, B>> - Returns:
this
.
-
applicationContainer
ApplicationContainer asset containing this Catalog asset.- Returns:
this
.
-
assetApplicationQualifiedName
Qualified name of the Application Container that contains this asset.- Returns:
this
.
-
inputToAirflowTask
-
inputToAirflowTasks
-
clearInputToAirflowTasks
-
inputToProcess
-
inputToProcesses
-
clearInputToProcesses
-
inputToSparkJob
-
inputToSparkJobs
-
clearInputToSparkJobs
-
modelImplementedEntity
-
modelImplementedEntities
-
clearModelImplementedEntities
-
outputFromAirflowTask
-
outputFromAirflowTasks
-
clearOutputFromAirflowTasks
-
outputFromProcess
-
outputFromProcesses
-
clearOutputFromProcesses
-
outputFromSparkJob
-
outputFromSparkJobs
-
clearOutputFromSparkJobs
-
redashIsPublished
Whether this asset is published in Redash (true) or not (false).- Returns:
this
.
-
redashQueryLastExecutedAt
Time (epoch) when this query was last executed, in milliseconds.- Returns:
this
.
-
redashQueryLastExecutionRuntime
Elapsed time of the last execution of this query.- Returns:
this
.
-
redashQueryParameters
Parameters of this query.- Returns:
this
.
-
redashQuerySQL
SQL code of this query.- Returns:
this
.
-
putRedashQuerySchedule
-
redashQuerySchedule
-
clearRedashQuerySchedule
-
redashQueryScheduleHumanized
Schdule for this query in readable text for overview tab and filtering.- Returns:
this
.
-
redashVisualization
-
redashVisualizations
-
clearRedashVisualizations
-
self
- Specified by:
self
in classAsset.AssetBuilder<C extends RedashQuery,
B extends RedashQuery.RedashQueryBuilder<C, B>>
-
build
- Specified by:
build
in classAsset.AssetBuilder<C extends RedashQuery,
B extends RedashQuery.RedashQueryBuilder<C, B>>
-
toString
- Overrides:
toString
in classAsset.AssetBuilder<C extends RedashQuery,
B extends RedashQuery.RedashQueryBuilder<C, B>>
-