Package com.atlan.model.assets
Class Table.TableBuilder<C extends Table,B extends Table.TableBuilder<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.Table.TableBuilder<C,B>
- Enclosing class:
- Table
public abstract static class Table.TableBuilder<C extends Table,B extends Table.TableBuilder<C,B>>
extends Asset.AssetBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) Alias for this table.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()
calculationViewName
(String calculationViewName) Simple name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view.calculationViewQualifiedName
(String calculationViewQualifiedName) Unique name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view.columnCount
(Long columnCount) Number of columns in this table.columns
(Collection<? extends IColumn> columns) databaseName
(String databaseName) Simple name of the database in which this SQL asset exists, or empty if it does not exist within a database.databaseQualifiedName
(String databaseQualifiedName) Unique name of the database in which this SQL asset exists, or empty if it does not exist within a database.dbtModels
(Collection<? extends IDbtModel> dbtModels) dbtSource
(IDbtSource dbtSource) dbtSources
(Collection<? extends IDbtSource> dbtSources) dbtTests
(Collection<? extends IDbtTest> dbtTests) dimensions
(Collection<? extends ITable> dimensions) externalLocation
(String externalLocation) External location of this table, for example: an S3 object location.externalLocationFormat
(String externalLocationFormat) Format of the external location of this table, for example: JSON, CSV, PARQUET, etc.externalLocationRegion
(String externalLocationRegion) Region of the external location of this table, for example: S3 region.facts
(Collection<? extends ITable> facts) icebergCatalogName
(String icebergCatalogName) iceberg table catalog name (can be any user defined name)icebergCatalogSource
(String icebergCatalogSource) iceberg table catalog type (glue, polaris, snowflake)icebergCatalogTableName
(String icebergCatalogTableName) catalog table name (actual table name on the catalog side).icebergCatalogTableNamespace
(String icebergCatalogTableNamespace) catalog table namespace (actual database name on the catalog side).icebergTableBaseLocation
(String icebergTableBaseLocation) iceberg table base location inside the external volume.icebergTableType
(String icebergTableType) iceberg table type (managed vs unmanaged)inputToAirflowTask
(IAirflowTask inputToAirflowTask) inputToAirflowTasks
(Collection<? extends IAirflowTask> inputToAirflowTasks) inputToProcess
(ILineageProcess inputToProcess) inputToProcesses
(Collection<? extends ILineageProcess> inputToProcesses) inputToSparkJob
(ISparkJob inputToSparkJob) inputToSparkJobs
(Collection<? extends ISparkJob> inputToSparkJobs) isPartitioned
(Boolean isPartitioned) Whether this table is partitioned (true) or not (false).isProfiled
(Boolean isProfiled) Whether this asset has been profiled (true) or not (false).isQueryPreview
(Boolean isQueryPreview) Whether preview queries are allowed for this table (true) or not (false).Whether this table is a sharded table (true) or not (false).isTemporary
(Boolean isTemporary) Whether this table is temporary (true) or not (false).lastProfiledAt
(Long lastProfiledAt) Time (epoch) at which this asset was last profiled, in milliseconds.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) partition
(ITablePartition partition) partitionCount
(Long partitionCount) Number of partitions in this table.partitionList
(String partitionList) List of partitions in this table.partitions
(Collection<? extends ITablePartition> partitions) partitionStrategy
(String partitionStrategy) Partition strategy for this table.putQueryPreviewConfig
(String putQueryPreviewConfigKey, String putQueryPreviewConfigValue) putQueryUserMap
(String putQueryUserMapKey, Long putQueryUserMapValue) queries
(Collection<? extends IAtlanQuery> queries) query
(IAtlanQuery query) queryCount
(Long queryCount) Number of times this asset has been queried.queryCountUpdatedAt
(Long queryCountUpdatedAt) Time (epoch) at which the query count was last updated, in milliseconds.queryPreviewConfig
(Map<? extends String, ? extends String> queryPreviewConfig) queryUserCount
(Long queryUserCount) Number of unique users who have queried this asset.queryUserMap
(Map<? extends String, ? extends Long> queryUserMap) Number of rows in this table.Schema in which this table exists.schemaName
(String schemaName) Simple name of the schema in which this SQL asset exists, or empty if it does not exist within a schema.schemaQualifiedName
(String schemaQualifiedName) Unique name of the schema in which this SQL asset exists, or empty if it does not exist within a schema.protected abstract B
self()
Size of this table, in bytes.sqlDbtModel
(IDbtModel sqlDbtModel) sqlDbtModels
(Collection<? extends IDbtModel> sqlDbtModels) sqlDBTSource
(IDbtSource sqlDBTSource) sqlDBTSources
(Collection<? extends IDbtSource> sqlDBTSources) tableExternalVolumeName
(String tableExternalVolumeName) external volume name for the table.Simple name of the table in which this SQL asset exists, or empty if it does not exist within a table.tableQualifiedName
(String tableQualifiedName) Unique name of the table in which this SQL asset exists, or empty if it does not exist within a table.tableRetentionTime
(Long tableRetentionTime) Data retention time in days.Type of the table.toString()
Fixed typeName for Tables.Simple name of the view in which this SQL asset exists, or empty if it does not exist within a view.viewQualifiedName
(String viewQualifiedName) Unique name of the view in which this SQL asset exists, or empty if it does not exist within a view.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
-
TableBuilder
public TableBuilder()
-
-
Method Details
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAsset.AssetBuilder<C extends Table,
B extends Table.TableBuilder<C, B>>
-
typeName
Fixed typeName for Tables.- Overrides:
typeName
in classReference.ReferenceBuilder<C extends Table,
B extends Table.TableBuilder<C, B>> - Returns:
this
.
-
alias
Alias for this table.- Returns:
this
.
-
applicationContainer
ApplicationContainer asset containing this Catalog asset.- Returns:
this
.
-
assetApplicationQualifiedName
Qualified name of the Application Container that contains this asset.- Returns:
this
.
-
calculationViewName
Simple name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view.- Returns:
this
.
-
calculationViewQualifiedName
Unique name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view.- Returns:
this
.
-
columnCount
Number of columns in this table.- Returns:
this
.
-
column
-
columns
-
clearColumns
-
databaseName
Simple name of the database in which this SQL asset exists, or empty if it does not exist within a database.- Returns:
this
.
-
databaseQualifiedName
Unique name of the database in which this SQL asset exists, or empty if it does not exist within a database.- Returns:
this
.
-
dbtModel
-
dbtModels
-
clearDbtModels
-
dbtSource
-
dbtSources
-
clearDbtSources
-
dbtTest
-
dbtTests
-
clearDbtTests
-
dimension
-
dimensions
-
clearDimensions
-
externalLocation
External location of this table, for example: an S3 object location.- Returns:
this
.
-
externalLocationFormat
Format of the external location of this table, for example: JSON, CSV, PARQUET, etc.- Returns:
this
.
-
externalLocationRegion
Region of the external location of this table, for example: S3 region.- Returns:
this
.
-
fact
-
facts
-
clearFacts
-
icebergCatalogName
iceberg table catalog name (can be any user defined name)- Returns:
this
.
-
icebergCatalogSource
iceberg table catalog type (glue, polaris, snowflake)- Returns:
this
.
-
icebergCatalogTableName
catalog table name (actual table name on the catalog side).- Returns:
this
.
-
icebergCatalogTableNamespace
catalog table namespace (actual database name on the catalog side).- Returns:
this
.
-
icebergTableBaseLocation
iceberg table base location inside the external volume.- Returns:
this
.
-
icebergTableType
iceberg table type (managed vs unmanaged)- Returns:
this
.
-
inputToAirflowTask
-
inputToAirflowTasks
-
clearInputToAirflowTasks
-
inputToProcess
-
inputToProcesses
-
clearInputToProcesses
-
inputToSparkJob
-
inputToSparkJobs
-
clearInputToSparkJobs
-
isPartitioned
Whether this table is partitioned (true) or not (false).- Returns:
this
.
-
isProfiled
Whether this asset has been profiled (true) or not (false).- Returns:
this
.
-
isQueryPreview
Whether preview queries are allowed for this table (true) or not (false).- Returns:
this
.
-
isSharded
Whether this table is a sharded table (true) or not (false).- Returns:
this
.
-
isTemporary
Whether this table is temporary (true) or not (false).- Returns:
this
.
-
lastProfiledAt
Time (epoch) at which this asset was last profiled, in milliseconds.- Returns:
this
.
-
modelImplementedEntity
-
modelImplementedEntities
-
clearModelImplementedEntities
-
outputFromAirflowTask
-
outputFromAirflowTasks
-
clearOutputFromAirflowTasks
-
outputFromProcess
-
outputFromProcesses
-
clearOutputFromProcesses
-
outputFromSparkJob
-
outputFromSparkJobs
-
clearOutputFromSparkJobs
-
partitionCount
Number of partitions in this table.- Returns:
this
.
-
partitionList
List of partitions in this table.- Returns:
this
.
-
partitionStrategy
Partition strategy for this table.- Returns:
this
.
-
partition
-
partitions
-
clearPartitions
-
query
-
queries
-
clearQueries
-
queryCount
Number of times this asset has been queried.- Returns:
this
.
-
queryCountUpdatedAt
Time (epoch) at which the query count was last updated, in milliseconds.- Returns:
this
.
-
putQueryPreviewConfig
-
queryPreviewConfig
-
clearQueryPreviewConfig
-
queryUserCount
Number of unique users who have queried this asset.- Returns:
this
.
-
putQueryUserMap
-
queryUserMap
-
clearQueryUserMap
-
rowCount
Number of rows in this table.- Returns:
this
.
-
schema
Schema in which this table exists.- Returns:
this
.
-
schemaName
Simple name of the schema in which this SQL asset exists, or empty if it does not exist within a schema.- Returns:
this
.
-
schemaQualifiedName
Unique name of the schema in which this SQL asset exists, or empty if it does not exist within a schema.- Returns:
this
.
-
sizeBytes
Size of this table, in bytes.- Returns:
this
.
-
sqlDBTSource
-
sqlDBTSources
-
clearSqlDBTSources
-
sqlDbtModel
-
sqlDbtModels
-
clearSqlDbtModels
-
tableExternalVolumeName
external volume name for the table.- Returns:
this
.
-
tableName
Simple name of the table in which this SQL asset exists, or empty if it does not exist within a table.- Returns:
this
.
-
tableQualifiedName
Unique name of the table in which this SQL asset exists, or empty if it does not exist within a table.- Returns:
this
.
-
tableRetentionTime
Data retention time in days.- Returns:
this
.
-
tableType
Type of the table.- Returns:
this
.
-
viewName
Simple name of the view in which this SQL asset exists, or empty if it does not exist within a view.- Returns:
this
.
-
viewQualifiedName
Unique name of the view in which this SQL asset exists, or empty if it does not exist within a view.- Returns:
this
.
-
self
- Specified by:
self
in classAsset.AssetBuilder<C extends Table,
B extends Table.TableBuilder<C, B>>
-
build
- Specified by:
build
in classAsset.AssetBuilder<C extends Table,
B extends Table.TableBuilder<C, B>>
-
toString
- Overrides:
toString
in classAsset.AssetBuilder<C extends Table,
B extends Table.TableBuilder<C, B>>
-