diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2024-02-07 13:42:34 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2024-02-07 13:42:34 -0500 |
| commit | 2c5d549b3618b9ea72e6eece4cb4f3da5a6811a8 (patch) | |
| tree | 17e08973d38bd20b8358aeb77a90c99cd7f1c835 /include/query | |
| parent | 10b4425e842d10b7fbfa85978969ed4591d6b98e (diff) | |
| download | dynamic-extension-2c5d549b3618b9ea72e6eece4cb4f3da5a6811a8.tar.gz | |
Fully realized shard concept interface
Diffstat (limited to 'include/query')
| -rw-r--r-- | include/query/irs.h | 2 | ||||
| -rw-r--r-- | include/query/rangecount.h | 2 | ||||
| -rw-r--r-- | include/query/rangequery.h | 2 | ||||
| -rw-r--r-- | include/query/wirs.h | 2 | ||||
| -rw-r--r-- | include/query/wss.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/include/query/irs.h b/include/query/irs.h index bef75bf..c14d0cf 100644 --- a/include/query/irs.h +++ b/include/query/irs.h @@ -44,7 +44,7 @@ struct BufferState { BufferState(BufferView<R> *buffer) : buffer(buffer) {} }; -template <ShardInterface S, RecordInterface R, bool Rejection=true> +template <RecordInterface R, ShardInterface<R> S, bool Rejection=true> class Query { public: constexpr static bool EARLY_ABORT=false; diff --git a/include/query/rangecount.h b/include/query/rangecount.h index a09ad64..6c57809 100644 --- a/include/query/rangecount.h +++ b/include/query/rangecount.h @@ -35,7 +35,7 @@ struct BufferState { : buffer(buffer) {} }; -template <ShardInterface S, KVPInterface R> +template <KVPInterface R, ShardInterface<R> S> class Query { public: constexpr static bool EARLY_ABORT=false; diff --git a/include/query/rangequery.h b/include/query/rangequery.h index c3985fa..24b38ec 100644 --- a/include/query/rangequery.h +++ b/include/query/rangequery.h @@ -36,7 +36,7 @@ struct BufferState { : buffer(buffer) {} }; -template <ShardInterface S, RecordInterface R> +template <RecordInterface R, ShardInterface<R> S> class Query { public: constexpr static bool EARLY_ABORT=false; diff --git a/include/query/wirs.h b/include/query/wirs.h index 07c5292..4fac7e7 100644 --- a/include/query/wirs.h +++ b/include/query/wirs.h @@ -57,7 +57,7 @@ struct BufferState { } }; -template <ShardInterface S, RecordInterface R, bool Rejection=true> +template <RecordInterface R, ShardInterface<R> S, bool Rejection=true> class Query { public: constexpr static bool EARLY_ABORT=false; diff --git a/include/query/wss.h b/include/query/wss.h index 9f192ee..ea36cb2 100644 --- a/include/query/wss.h +++ b/include/query/wss.h @@ -46,7 +46,7 @@ struct BufferState { } }; -template <ShardInterface S, RecordInterface R, bool Rejection=true> +template <RecordInterface R, ShardInterface<R> S, bool Rejection=true> class Query { public: constexpr static bool EARLY_ABORT=false; |