<分区>
Possible Duplicate:
how to have 64 bit integer on PHP?
是否可以使用 PHPCassa 在 Cassandra 中使用 64 位长整型作为键?
例如,
$pool = new ConnectionPool('main', array("127.0.0.1"));
$table = new ColumnFamily($pool, 'messages'); // ColumnFamily
$table->insert("5601379860409749867", array("sampleKey" => "sampleValue));
每次插入时,我都会得到 0 作为键。在此表中,key_validation_class 是 LongType。