diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2023-05-22 13:25:20 -0400 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2023-05-22 13:25:20 -0400 |
| commit | 08d6c84b9d69b500c964a8ff66e726e1f01f2095 (patch) | |
| tree | 8bc156b54383de8a4a347e463901dcb7bdd1da10 /include/framework/ShardInterface.h | |
| parent | 6fd50506d2e50d2faf2478a2883a2ef1b4840a78 (diff) | |
| download | dynamic-extension-08d6c84b9d69b500c964a8ff66e726e1f01f2095.tar.gz | |
Progress towards generalization of shard interface
Diffstat (limited to 'include/framework/ShardInterface.h')
| -rw-r--r-- | include/framework/ShardInterface.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/framework/ShardInterface.h b/include/framework/ShardInterface.h index 5d07a99..1f48a45 100644 --- a/include/framework/ShardInterface.h +++ b/include/framework/ShardInterface.h @@ -1,5 +1,5 @@ /* - * include/shard/ShardInterface.h + * include/framework/ShardInterface.h * * Copyright (C) 2023 Douglas Rumbaugh <drumbaugh@psu.edu> * @@ -14,12 +14,7 @@ template <typename S> concept ShardInterface = requires(S s, void *p) { - //s.point_lookup(); - //s.tombstone_lookup(); - //s.delete_record(); - - {s.get_query_state(p)} -> std::convertible_to<void*>; - {s.delete_query_state(p)}; + s.point_lookup(); {s.get_record_count()} -> std::convertible_to<size_t>; {s.get_tombstone_count()} -> std::convertible_to<size_t>; |