public function streamExecuteKeyspaceIds(Context $ctx, $query, $keyspace, array $keyspace_ids, array $bind_vars, $tablet_type) { $request = new Proto\Vtgate\StreamExecuteKeyspaceIdsRequest(); $request->setQuery(ProtoUtils::BoundQuery($query, $bind_vars)); $request->setKeyspace($keyspace); $request->setKeyspaceIds($keyspace_ids); $request->setTabletType($tablet_type); if ($ctx->getCallerId()) { $request->setCallerId($ctx->getCallerId()); } $call = $this->client->streamExecuteKeyspaceIds($ctx, $request); return new StreamCursor($call); }