$darkmode
Elektra 0.11.0
|
Key
This use case is implemented as keyNew()
.
Key
NameThe name of a Key
is stored in two forms: escaped and unescaped.
The escaped from can be accessed via keyName()
and the unescaped form via keyUnescapedName()
.
Manipulating the name is possible via the keySetName()
, keySetBaseName()
, keyAddName()
and keyAddBaseName()
functions, which allow various kinds of manipulation.
Key
NamespaceThis use case implemented via the keyGetNamespace()
and keySetNamespace()
functions.
Key
ValueThe value of a Key
can be accessed via keyValue()
and keyString()
. It can be changed via keySetString()
and keySetBinary()
.
Key
MetadataThis use case is implemented as the keyMeta()
function.
Key
OrderingThis use case is implemented as the keyCmp()
function.
Key
HierarchyThis use case is currently implemented via the keyIsBelow()
, keyIsBelowOrSame()
and keyIsDirectlyBelow()
functions, instead of being a single function.
KeySet
This use case is implemented as ksNew()
. Beyond the described use case, the ksNew()
function also supports creating a KeySet
with predefined contents.
Key
into KeySet
This use case is implemented as ksAppendKey()
and ksAppend()
.
Key
from KeySet
This use case is implemented via ksLookup()
with the KDB_O_POP
option.
KeySet
This use case is implemented via ksLookup()
.
KeySet
This use case is implemented via ksLookup()
.
KeySet
This use case is implemented as ksAtCursor()
.
Key
hierarchy from KeySet
This use case is implemented as ksCut()
.