Returns a pseudo-random subsample of the result set. Works by calculating the number of pages required for the entire data set and taking a random sample of pages until nsamples can be retrieved. So pages are random, but records within a page are not.
Methods
__init__(client, q[, fq, fields, pagesize, ...]) | |
next() | Overrides the default iteration by sequencing through records within a page |
processRow(row) | Override this method in derived classes to reformat the row response |