Class ClusteringMetadataDomain
Object
io.delta.kernel.internal.metadatadomain.JsonMetadataDomain
io.delta.kernel.internal.clustering.ClusteringMetadataDomain
Represents the metadata domain for clustering.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ClusteringMetadataDomainfromClusteringColumns(List<Column> clusteringColumns) Constructs a ClusteringMetadataDomain with the clustering columns.static ClusteringMetadataDomainfromJsonConfiguration(String json) Creates an instance ofClusteringMetadataDomainfrom a JSON configuration string.static Optional<ClusteringMetadataDomain> fromSnapshot(SnapshotImpl snapshot) Creates an optional instance ofClusteringMetadataDomainfrom aSnapshotImplif present.Returns the name of the domain.Methods inherited from class io.delta.kernel.internal.metadatadomain.JsonMetadataDomain
toDomainMetadata, toJsonConfiguration
-
Field Details
-
DOMAIN_NAME
- See Also:
-
-
Method Details
-
fromClusteringColumns
Constructs a ClusteringMetadataDomain with the clustering columns.- Parameters:
clusteringColumns- the columns used for clustering. If column mapping is enabled, use the physical name assigned; otherwise, use the logical column name.
-
fromJsonConfiguration
Creates an instance ofClusteringMetadataDomainfrom a JSON configuration string.- Parameters:
json- the JSON configuration string
-
fromSnapshot
Creates an optional instance ofClusteringMetadataDomainfrom aSnapshotImplif present.- Parameters:
snapshot- the snapshot instance
-
getDomainName
Description copied from class:JsonMetadataDomainReturns the name of the domain.- Specified by:
getDomainNamein classJsonMetadataDomain- Returns:
- the domain name
-
getClusteringColumns
-