Méthode |
Description |
|
__construct ( cassandra\Type $keyType, cassandra\Type $valueType ) |
Creates a new map of a given key and value type. |
|
count ( ) : integer |
Total number of elements in this map |
|
current ( ) : mixed |
Current value for iteration |
|
get ( mixed $key ) : mixed |
Gets the value of the key in the map. |
|
has ( mixed $key ) : boolean |
Returns whether the key is in the map. |
|
key ( ) : integer |
Current key for iteration |
|
keys ( ) : array |
Returns all keys in the map as an array. |
|
next ( ) : void |
Move internal iterator forward |
|
offsetExists ( mixed $key ) : boolean |
Returns whether the value a given key is present |
|
offsetGet ( mixed $key ) : mixed |
Retrieves the value at a given key |
|
offsetSet ( mixed $key, mixed $value ) : void |
Sets the value at a given key |
|
offsetUnset ( mixed $key ) : void |
Deletes the value at a given key |
|
remove ( mixed $key ) : boolean |
Removes the key from the map. |
|
rewind ( ) : void |
Rewind internal iterator |
|
set ( mixed $key, mixed $value ) |
Sets key/value in the map. |
|
type ( ) : cassandra\Type |
The type of this map. |
|
valid ( ) : boolean |
Check whether a current value exists |
|
values ( ) : array |
Returns all values in the map as an array. |
|