QueryResponse
extends Message
in package
Generated from protobuf message <code>couchbase.query.v1.QueryResponse</code>
Table of Contents
- $meta_data : mixed
- Generated from protobuf field <code>optional .couchbase.query.v1.QueryResponse.MetaData meta_data = 2;</code>
- $rows : mixed
- Generated from protobuf field <code>repeated bytes rows = 1;</code>
- __construct() : mixed
- Constructor.
- clearMetaData() : mixed
- getMetaData() : MetaData|null
- Generated from protobuf field <code>optional .couchbase.query.v1.QueryResponse.MetaData meta_data = 2;</code>
- getRows() : RepeatedField
- Generated from protobuf field <code>repeated bytes rows = 1;</code>
- hasMetaData() : mixed
- setMetaData() : $this
- Generated from protobuf field <code>optional .couchbase.query.v1.QueryResponse.MetaData meta_data = 2;</code>
- setRows() : $this
- Generated from protobuf field <code>repeated bytes rows = 1;</code>
Properties
$meta_data
Generated from protobuf field <code>optional .couchbase.query.v1.QueryResponse.MetaData meta_data = 2;</code>
protected
mixed
$meta_data
= null
$rows
Generated from protobuf field <code>repeated bytes rows = 1;</code>
private
mixed
$rows
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
- $data : array<string|int, mixed> = NULL
-
{ Optional. Data for populating the Message object.
@type array<string>|\Google\Protobuf\Internal\RepeatedField $rows @type \Couchbase\Protostellar\Generated\Query\V1\QueryResponse\MetaData $meta_data
}
Return values
mixed —clearMetaData()
public
clearMetaData() : mixed
Return values
mixed —getMetaData()
Generated from protobuf field <code>optional .couchbase.query.v1.QueryResponse.MetaData meta_data = 2;</code>
public
getMetaData() : MetaData|null
Return values
MetaData|null —getRows()
Generated from protobuf field <code>repeated bytes rows = 1;</code>
public
getRows() : RepeatedField
Return values
RepeatedField —hasMetaData()
public
hasMetaData() : mixed
Return values
mixed —setMetaData()
Generated from protobuf field <code>optional .couchbase.query.v1.QueryResponse.MetaData meta_data = 2;</code>
public
setMetaData(MetaData $var) : $this
Parameters
- $var : MetaData
Return values
$this —setRows()
Generated from protobuf field <code>repeated bytes rows = 1;</code>
public
setRows(array<string|int, string>|RepeatedField $var) : $this
Parameters
- $var : array<string|int, string>|RepeatedField