public function toString() { $result = ''; foreach ($this->getChunkCursor() as $chunk) { $result .= $chunk['data']->getData(); } return $result; }