diff --git a/schema.hh b/schema.hh index 0eb74a612f..5732038b32 100644 --- a/schema.hh +++ b/schema.hh @@ -40,6 +40,7 @@ public: column_kind kind; ::shared_ptr column_specification; bool is_static() const { return kind == column_kind::STATIC; } + bool is_regular() const { return kind == column_kind::REGULAR; } bool is_partition_key() const { return kind == column_kind::PARTITION; } bool is_clustering_key() const { return kind == column_kind::CLUSTERING; } bool is_primary_key() const { return kind == column_kind::PARTITION || kind == column_kind::CLUSTERING; }