PrefixQuery
extends Message
in package
Generated from protobuf message <code>couchbase.search.v1.PrefixQuery</code>
Table of Contents
- $boost : mixed
- Generated from protobuf field <code>optional float boost = 1;</code>
- $field : mixed
- Generated from protobuf field <code>optional string field = 2;</code>
- $prefix : mixed
- Generated from protobuf field <code>string prefix = 3;</code>
- __construct() : mixed
- Constructor.
- clearBoost() : mixed
- clearField() : mixed
- getBoost() : float
- Generated from protobuf field <code>optional float boost = 1;</code>
- getField() : string
- Generated from protobuf field <code>optional string field = 2;</code>
- getPrefix() : string
- Generated from protobuf field <code>string prefix = 3;</code>
- hasBoost() : mixed
- hasField() : mixed
- setBoost() : $this
- Generated from protobuf field <code>optional float boost = 1;</code>
- setField() : $this
- Generated from protobuf field <code>optional string field = 2;</code>
- setPrefix() : $this
- Generated from protobuf field <code>string prefix = 3;</code>
Properties
$boost
Generated from protobuf field <code>optional float boost = 1;</code>
protected
mixed
$boost
= null
$field
Generated from protobuf field <code>optional string field = 2;</code>
protected
mixed
$field
= null
$prefix
Generated from protobuf field <code>string prefix = 3;</code>
protected
mixed
$prefix
= ''
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 float $boost @type string $field @type string $prefix
}
Return values
mixed —clearBoost()
public
clearBoost() : mixed
Return values
mixed —clearField()
public
clearField() : mixed
Return values
mixed —getBoost()
Generated from protobuf field <code>optional float boost = 1;</code>
public
getBoost() : float
Return values
float —getField()
Generated from protobuf field <code>optional string field = 2;</code>
public
getField() : string
Return values
string —getPrefix()
Generated from protobuf field <code>string prefix = 3;</code>
public
getPrefix() : string
Return values
string —hasBoost()
public
hasBoost() : mixed
Return values
mixed —hasField()
public
hasField() : mixed
Return values
mixed —setBoost()
Generated from protobuf field <code>optional float boost = 1;</code>
public
setBoost(float $var) : $this
Parameters
- $var : float
Return values
$this —setField()
Generated from protobuf field <code>optional string field = 2;</code>
public
setField(string $var) : $this
Parameters
- $var : string
Return values
$this —setPrefix()
Generated from protobuf field <code>string prefix = 3;</code>
public
setPrefix(string $var) : $this
Parameters
- $var : string