public function get($hashValue = null, $rangeValue = null)
    {
        if ($this->expr->condition->count() > 0) {
            throw ODMException::queryGetOperationConditionsNotSupported();
        }

        $this->setQueryClass(GetItem::class);

        if ($hashValue !== null) {
            $this->setPrimaryKey($hashValue, $rangeValue);
        }

        return $this;
    }