Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Configuration > Erlang Modules > age_registry
get_key/3
Description
get_key/3 is an Erlang function exported by "age_registry" module.
Retrieves the terms associated to Key name from Cell within the Hive.
References
•allocate_hive/2
•add_key/4
Parameters
Name
Type
Hive
atom()
Hive identifier.
Cell
string()
Cell name.
Key
Key name.
Result
Value or Type
any()
On success returns the Key's value.
Code Sample
> age_registry:get_key(test, "CELL_1", "/key_a/1"). 12.5 > age_registry:get_key(test, "CELL_1", "/key_a/200"). {error,no_key_data}