Method |
Description |
|
__construct ( $keyspace, $column_family, $is_super = false, $column_type = self::DEFAULT_COLUMN_TYPE, $subcolumn_type = self::DEFAULT_SUBCOLUMN_TYPE, $read_consistency_level = cassandra_ConsistencyLevel::ONE, $write_consistency_level = cassandra_ConsistencyLevel::ZERO ) |
*
BytesType: Simple sort by byte value. No validation is performed. |
|
array_to_columns ( $array, $timestamp = null ) |
|
|
array_to_mutation ( $array, $timestamp = null ) |
Helpers for turning PHP arrays into Cassandra's thrift objects |
|
array_to_supercolumns_or_columns ( $array, $timestamp = null ) |
|
|
columns_to_array ( $array_of_c ) |
|
|
get ( $key, $super_column = NULL, $slice_start = "", $slice_finish = "", $column_reversed = False, $column_count = self::DEFAULT_COLUMN_LIMIT ) |
|
|
get_count ( $key, $super_column = null ) |
|
|
get_list ( $key, $key_name = 'key', $slice_start = "", $slice_finish = "" ) |
Wrappers |
|
get_range ( $start_key = "", $end_key = "", $row_count = self::DEFAULT_ROW_LIMIT, $slice_start = "", $slice_finish = "" ) |
|
|
get_range_iterator ( $start_key = "", $end_key = "", $row_count = self::DEFAULT_ROW_LIMIT, $slice_start = "", $slice_finish = "" ) |
|
|
get_range_list ( $key_name = 'key', $start_key = "", $end_key = "", $row_count = self::DEFAULT_ROW_LIMIT, $slice_start = "", $slice_finish = "" ) |
|
|
insert ( $key, $columns = null ) |
|
|
keyslices_to_array ( $keyslices ) |
Helpers for parsing Cassandra's thrift objects into PHP arrays |
|
multiget ( $keys, $slice_start = "", $slice_finish = "" ) |
|
|
multiget_list ( $keys, $key_name = 'key', $slice_start = "", $slice_finish = "" ) |
|
|
pack_longtype ( $x ) |
See http://webcache.googleusercontent.com/search?q=cache:9jjbeSy434UJ:wiki.apache.org/cassandra/FAQ+cassandra+php+%22A+long+is+exactly+8+bytes%22&cd=1&hl=en&ct=clnk&gl=us |
|
parse_column_name ( $column_name, $is_column = true ) |
ARGH |
|
remove ( $key, $column_name = null ) |
|
|
supercolumns_or_columns_to_array ( $array_of_c_or_sc, $parse_as_columns = true ) |
|
|
to_column_value ( $thing ) |
|
|
unpack_longtype ( $x ) |
|
|
unparse_column_name ( $column_name, $is_column = true ) |
|
|