Lines Matching refs:key
26 # Get the value of a given key.
28 # key (string) - Which key to get the value of.
29 # column_family (string) - Which column family to check for the key.
33 # Returns the value (string) that is associated with the given key if
35 db_obj.get(key, column_family = { default })
39 # Associate a value with a key.
41 # key (string) - Which key to associate the value with.
42 # value (string) - The value to associate with the key.
43 # column_family (string) - Which column family to put the key-value pair
47 # Returns true if the key-value pair was successfully stored in the
49 db_obj.put(key, value, column_family = { default })
53 # Delete a value associated with a given key.
55 # key (string) - Which key to delete the value of..
56 # column_family (string) - Which column family to check for the key.
60 # Returns true if an error occurred while trying to delete the key in
62 # whether a value was deleted; in the case of a specified key not having
65 db_obj.delete(key, column_family = { default })
69 # Print out all the key-value pairs in a given column family of the
110 # begin (string) - First key in the range to compact.
111 # end (string) - Last key in the range to compact.
112 # options (object) - Contains a subset of the following key-value
136 A BatchObject must have at least one of the following key-value pairs:
139 the key 'string1' should be associated with the value 'string2'
140 * 'delete' => Array of strings, each of which is a key whose value should be
143 The following key-value pair is optional:
150 # Writes the key-value pairs 'firstname' => 'Saghm' and
160 # the default column family and adds the key 'number_of_people' with
161 # with the value '2'. Additionally, adds the key-value pair