Key-Value マップには多くのエントリを保存できます。
このポリシー サンプルで、Key-Value マップが作成されます。
一般に、未加工のテレメトリデータは、水平スケーリングやシャーディングに適したKey-Valueストアに保存されます。
Raw telemetry data is typically stored in key-value stores, which are well suited for horizontal scaling and sharding.
たとえば、条件文で Key-Value マップから値を取得し、参照される変数をその値に設定できます。
For example, a conditional statement might grab a value from a key-value map and set the referenced variable to that value
Key-Value マップの作成、管理、取得はいくつかの方法で行うことができます。
You can create, manage, and retrieve key value maps in a number of ways.
作成後に Key-Value マップを暗号化または復号することはできません。
You can't encrypt or decrypt a key value map after it's been created.
たとえばトークン有効期限値を Key-Value マップに格納し、取得し、変数に割り当て、ポリシーで参照できます。
For example, you can store a token expiration value in a key value map, retrieve it, assign it to a variable, and reference it in the policy.
接頭辞を使用せずに暗号化された Key-Value マップを取得しようとすると、ポリシーはエラーを返します。
The policy throws an error if you try to retrieve an encrypted key value map without using the prefix.
private. 接頭辞の付いていない変数は、データが暗号化された Key-Value マップなどの暗号化されたデータストアから取得された場合でも、トレース セッションとデバッグ セッション内ではクリアテキストで表示されます。
Variables without the "private." prefix are displayed in clear text in Trace and debug sessions even if the data comes from an encrypted data store such as an encrypted key value map.
リテラル値 を設定するか、 Key-Value マップ に格納されている値を参照できます。
You can set a literal value or reference a value stored in a Key Value Map.
下記の手順に従って、Key-Value マップの構成ページに移動します。
Access the Key Value Maps configuration page, as described below.
Key-Valueをグループ化するコンテナというRDBのテーブルに似た概念を導入 コンテナに対してデータ型を定義するスキーマ設定が可能。
A concept resembling a RDB table that is a container for grouping Key-Value has been introduced. A schema to define the data type for the container can be set.
Web Storage のように単純な Key-Value マッピングを行いつつ、リレーショナル データベースのようなインデックスもサポートするため、特定フィールドに一致するオブジェクトをすばやく検索できます。ストア内のオブジェクト 1 つ 1 つに手動で同じことを繰り返す必要はありません。
Like Web Storage, it's a straightforward key-value mapping, but it supports indexes like those of relational databases, so searching objects matching a particular field is fast; you don't have to manually iterate through every object in the store.