/**
  * @return OqlHavingClause
  **/
 public static function having($clause)
 {
     return OqlHavingParser::create()->parse($clause);
 }
 private function havingState()
 {
     if ($this->checkKeyword($this->tokenizer->peek(), 'having')) {
         $this->tokenizer->next();
         $this->oqlObject->addHaving(OqlHavingParser::create()->setTokenizer($this->tokenizer)->parse());
     }
     return self::LIMIT_STATE;
 }