/** * Fetch the next set of results * * @return void */ protected function _fetchNext() { $this->_query->setStart($this->_start)->setRows($this->getPrefetch()); $this->_result = $this->_client->execute($this->_query); $this->_documents = $this->_result->getDocuments(); $this->_start += $this->getPrefetch(); }
public function testSetAndGetStart() { $this->_query->setStart(234); $this->assertEquals(234, $this->_query->getStart()); }