Class ClusterKeySpec

java.lang.Object
org.apache.druid.catalog.model.table.ClusterKeySpec

public class ClusterKeySpec extends Object
Description of one clustering key (column) for a datasource. Clustering is the process of physically sorting data by a sort key. This class represents one column of that sort key. The key consists of a name and a sort direction. Sort direction is optional: omitted, ascending is assumed. (In Druid, clustering is always NULLS LOW in SQL terms, so that attribute does not appear here.)
  • Field Details

    • CLUSTER_KEY_LIST_TYPE_REF

      public static final com.fasterxml.jackson.core.type.TypeReference<List<ClusterKeySpec>> CLUSTER_KEY_LIST_TYPE_REF
  • Constructor Details

    • ClusterKeySpec

      public ClusterKeySpec(String expr, @Nullable Boolean desc)
  • Method Details