From 0612066490e26a2c8392e50e965e4bdddc0cdd53 Mon Sep 17 00:00:00 2001 From: Tomasz Grabiec Date: Wed, 4 Mar 2015 18:13:34 +0100 Subject: [PATCH] schema: Introduce column_definition::is_regular() --- schema.hh | 1 + 1 file changed, 1 insertion(+) 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; }