Reference documentation and code samples for the Google Cloud Vector Search V1 Client class CombinedQuery.
A query that combines multiple sub-queries with a boolean operator.
Generated from protobuf message google.cloud.vectorsearch.v1.CombinedQuery
Namespace
Google \ Cloud \ VectorSearch \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ op |
int
Required. The boolean operator used to combine the sub-queries. |
↳ sub_queries |
array<StructuredQuery>
Required. The sub-queries to be combined. |
getOp
Required. The boolean operator used to combine the sub-queries.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Operator. |
setOp
Required. The boolean operator used to combine the sub-queries.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Operator. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSubQueries
Required. The sub-queries to be combined.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<StructuredQuery> |
|
setSubQueries
Required. The sub-queries to be combined.
| Parameter | |
|---|---|
| Name | Description |
var |
array<StructuredQuery>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|