public function buildIndex($bucketName, $indexNames)
    {
        $sql = $this->db->getQueryBuilder()->buildIndex($bucketName, $indexNames);

        return $this->setSql($sql)->setBucketName($bucketName);
    }