VertexCacheSdk.Command.Impl.GetSecondaryIdxOneCommand (vertexcache_sdk v1.0.0)

View Source

Handles the GET Secondary Idx (idx1) command in VertexCache.

Retrieves the value for a given key from the cache using a secondary index. Returns an error if the key is missing or expired.

Requires the client to have READ, READ_WRITE, or ADMIN access.

Summary

Types

t()

@type t() :: %VertexCacheSdk.Command.Impl.GetSecondaryIdxOneCommand{key: String.t()}

Functions

execute(get_secondary_idx_one_command, connector)

@spec execute(t(), VertexCacheSdk.Comm.ClientConnector.t()) ::
  VertexCacheSdk.Model.GetResult.t()

new(key)

@spec new(String.t()) :: t()

parse_response(response)

@spec parse_response(String.t()) :: String.t() | no_return()

Callback implementation for VertexCacheSdk.Command.parse_response/1.