public function reset()
    {
        $this->isNew = true;
        $this->nodesMap = array();
        $this->relationshipsMap = array();
        $this->nodesByLabel = array();
        $this->result = new Result();
    }