private function appendPage()
    {
        $result   = $this->executeNextSdkCommand();
        $iterator = $this->commands->parseResult($result, $this->hydrationMode, $this->refresh, $this->readOnly, $this->primers);

        $this->getInnerIterator()->append($iterator);

        if ($result instanceof SdkResultIterator) {
            //TODO: cant use $i here, not preserved by pool (not all commands may have executed successfully when paging=true)
            foreach ($result as $i => $r) {
                $this->commands[$i] = $this->commands[$i]->createNextCommand($r);
                if ($this->commands[$i] === null) {
                    unset($this->commands[$i]);
                }
            }

            if (count($this->commands) === 0) {
                $this->commands = null;
            }
        } else {
            $this->commands = $this->commands->createNextCommand($result);
        }
    }