public function getDefaultValue()

in src/Apache/Ignite/Cache/QueryField.php [189:204]


    public function getDefaultValue($valueType = null)
    {
        if ($this->defaultValue === null) {
            if ($this->buffer) {
                $position = $this->buffer->getPosition();
                $this->buffer->setPosition($this->index);
                $result = $this->communicator->readObject($this->buffer, $valueType);
                $this->buffer->setPosition($position);
                return $result;
            } else {
                return null;
            }
        } else {
            return $this->defaultValue;
        }
    }