public function query()

in src/Apache/Ignite/Internal/Cache.php [248:263]


    public function query(Query $query): CursorInterface
    {
        $value = null;
        $this->communicator->send(
            $query->getOperation(),
            function (MessageBuffer $payload) use ($query)
            {
                $this->writeCacheInfo($payload);
                $query->write($this->communicator, $payload);
            },
            function (MessageBuffer $payload) use ($query, &$value)
            {
                $value = $query->getCursor($this->communicator, $payload, $this->keyType, $this->valueType);
            });
        return $value;
    }