mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-28 12:17:02 +00:00
compound: Add method for checking if type is compound or not
Will be used by legacy comparator.
This commit is contained in:
@@ -58,6 +58,10 @@ public:
|
||||
return _types;
|
||||
}
|
||||
|
||||
bool is_singular() const {
|
||||
return _types.size() == 1;
|
||||
}
|
||||
|
||||
prefix_type as_prefix() {
|
||||
return prefix_type(_types);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user