Class ClusteringUtils
Object
io.delta.kernel.internal.clustering.ClusteringUtils
-
Method Summary
Modifier and TypeMethodDescriptiongetClusteringColumnsOptional
(SnapshotImpl snapshot) Extract ClusteringColumns from a given snapshot.static DomainMetadata
getClusteringDomainMetadata
(List<Column> clusteringColumns) Get the domain metadata for the clustering columns.
-
Method Details
-
getClusteringDomainMetadata
Get the domain metadata for the clustering columns. If column mapping is enabled, pass the list of physical names assigned; otherwise, use the logical column names. -
getClusteringColumnsOptional
Extract ClusteringColumns from a given snapshot. Return None if the clustering domain metadata is missing.
-