VertexCacheSdk.Command.CommandType (vertexcache_sdk v1.0.0)

View Source

Enum-like module representing the different types of commands supported by the VertexCache SDK.

Each command type corresponds to a specific cache operation or internal SDK operation, such as GET, SET, DELETE, or IDX1/IDX2 (used for secondary/tertiary index lookups).

This module is used throughout the SDK to identify and validate command behavior, facilitate routing, and enforce permission checks based on role capabilities.

Summary

Types

t()

@type t() :: :ping | :set | :del | :idx1 | :idx2

Functions

keyword(type)

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

to_string(type)

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