QuadTreeIndexCacheRepository
Constructors
constructor
- new
Quad Tree Index Cache Repository(cache: KeyValueCache): QuadTreeIndexCacheRepository
-
Generates the QuadTreeIndexCacheRepository instance.
Parameters-
cache: KeyValueCache
The KeyValueCache instance.
Returns QuadTreeIndexCacheRepositoryThe QuadTreeIndexCacheRepository instance.
-
Methods
put
- put(params: QuadTreeIndexCacheParams & {</span>tree<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-modules-olp_sdk_dataservice_api-queryapi" class="typedoc-tsd-signature-type" data-tsd-kind="Namespace">QueryApi</a><span class="typedoc-tsd-signature-symbol">.</span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-queryapi-index" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">Index</a><span class="typedoc-tsd-signature-symbol">}): boolean
-
Stores a key-value pair in the cache.
Parameters-
params: QuadTreeIndexCacheParams & {</span>tree<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-modules-olp_sdk_dataservice_api-queryapi" class="typedoc-tsd-signature-type" data-tsd-kind="Namespace">QueryApi</a><span class="typedoc-tsd-signature-symbol">.</span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-queryapi-index" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">Index</a><span class="typedoc-tsd-signature-symbol">}
Returns booleanTrue if the operation is successful, false otherwise.
-
Caches the QuadTreeIndex using a key-value pair.