File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
olp-cpp-sdk-core/include/olp/core/cache Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,20 @@ class CORE_API KeyValueCache {
244244 OLP_SDK_CORE_UNUSED (prefix);
245245 return client::ApiError (client::ErrorCode::Unknown, " Not implemented" );
246246 }
247+
248+ /* *
249+ * @brief Lists the keys that match the given prefix.
250+ *
251+ * @param prefix The prefix that matches the keys.
252+ *
253+ * @return The collection of matched keys or an error. Empty collection if not
254+ * keys match the prefix.
255+ */
256+ virtual OperationOutcome<KeyListType> ListKeysWithPrefix (
257+ const std::string& prefix) {
258+ OLP_SDK_CORE_UNUSED (prefix);
259+ return client::ApiError (client::ErrorCode::Unknown, " Not implemented" );
260+ }
247261};
248262
249263} // namespace cache
You can’t perform that action at this time.
0 commit comments