clc multimap
clc multimap put
Put a value in the given MultiMap.
Usage:
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Name of the MultiMap. |
|
|
Required |
Key of the MultiMap entry. |
N/A |
|
Required |
Value to set for the key. |
N/A |
|
Optional |
Data type of the key. One of: |
String |
|
Optional |
Data type of the value. One of: |
String |
Example:
clc multimap get
Prints entries from the MultiMap.
Usage:
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Name of the MultiMap. |
|
|
Required |
Key of the MultiMap entry. |
N/A |
|
Optional |
Data type of the key. One of: |
string |
|
Optional |
Output format. Supported formats:
|
|
clc multimap remove
Remove values from the given MultiMap.
Usage:
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Name of the MultiMap. |
|
|
Required |
Key of the MultiMap entries. |
N/A |
|
Optional |
Data type of the key. One of: |
String |
|
Optional |
Output format. Supported formats:
|
|
Example:
clc multimap key-set
Gets all the keys of the specified MultiMap.
Usage:
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Name of the MultiMap. |
|
|
Optional |
Output format. Supported formats:
|
|
Example:
clc multimap entry-set
Gets all the entries of the specified MultiMap.
Usage:
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Name of the MultiMap. |
|
|
Optional |
Output format. Supported formats:
|
|
Example:
clc multimap values
Gets all values of the specified MultiMap.
Usage:
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Name of the MultiMap. |
|
|
Optional |
Output format. Supported formats:
|
|
Example:
clc multimap lock
Lock a key in the given MultiMap.
This command is only available in the interactive mode.
Usage:
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Name of the MultiMap. |
|
|
Optional |
Data type of the key. One of: |
String |
Example:
clc multimap try-lock
Tries to lock the key of the given the MultiMap. Returns a result without waiting.
This command is only available in the interactive mode.
Usage:
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Name of the MultiMap. |
|
|
Optional |
Data type of the key. One of: |
String |
Example:
clc multimap unlock
Unlock a key in the given MultiMap.
This command is only available in the interactive mode.
Usage:
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Name of the MultiMap. |
|
|
Optional |
Data type of the key. One of: |
String |
Example: