public function getQuery()
    {
        switch ($this->queryClass) {
            case DeleteItem::class:
                return $this->makeDelete();
            case GetItem::class:
                return $this->makeGet();
            case PutItem::class:
                return $this->makePut();
            case Scan::class:
                return $this->makeScan();
            case UpdateItem::class:
                return $this->makeUpdate();
            case Query::class:
                return $this->makeQuery();
        }

        throw new \LogicException;
    }
public function getQuery()
    {
        switch ($this->queryClass) {
            case DeleteItem::class:
                return $this->makeDelete();
            case GetItem::class:
                return $this->makeGet();
            case PutItem::class:
                return $this->makePut();
            case Scan::class:
                return $this->makeScan();
            case UpdateItem::class:
                return $this->makeUpdate();
            case Query::class:
                return $this->makeQuery();
        }

        throw new \LogicException;
    }
public function getQuery ( ) { switch ( $ this -> queryClass ) { case DeleteItem :: class : return $ this -> makeDelete ( ) ; case GetItem :: class : return $ this -> makeGet ( ) ; case PutItem :: class : return $ this -> makePut ( ) ; case Scan :: class : return $ this -> makeScan ( ) ; case UpdateItem :: class : return $ this -> makeUpdate ( ) ; case Query :: class : return $ this -> makeQuery ( ) ; } throw new \ LogicException ; }
Build and return the query object.

@return Scan|Query|GetItem|PutItem|UpdateItem|DeleteItem
Build and return the query object .