Closed sarral closed 12 years ago
I was able to get ALL columns by using a slice. Luckily what I'm storing I can figure out my slice without looking at the data.
$slice = new ColumnSlice($sip,$eip,50000);
return $this->Obj2Array( $this->rCF_rep->get_range($sREP,$eREP,60000,$slice) );
In the original call above, no slice (Passing: row_count AND buffer_size) didn't do anything about the number of Columns returned.
Looks like you figured this out, but your original call was just passing an integer instead of a ColumnSlice object, which is the correct way to do this in phpcassa 1.0.x.
Initialize with this: $this->rCF_rep = new ColumnFamily($this->rCONN, self::CF_rep,TRUE,TRUE,1,1,5000);
Call, trying to set again: $this->rCF_rep->get_range($sREP, $eREP, 60000,null,null,null,5000);
I only get 100 records.
Using cassandra-cli: I have 502 records.