Interface QueryPlanOrBuilder (3.16.1)

public interface QueryPlanOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPlanInfo()

public abstract Struct getPlanInfo()

Planning phase information for the query. It will include:

{ "indexes_used": [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ] }

.google.protobuf.Struct plan_info = 1;

Returns
TypeDescription
Struct

The planInfo.

getPlanInfoOrBuilder()

public abstract StructOrBuilder getPlanInfoOrBuilder()

Planning phase information for the query. It will include:

{ "indexes_used": [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ] }

.google.protobuf.Struct plan_info = 1;

Returns
TypeDescription
StructOrBuilder

hasPlanInfo()

public abstract boolean hasPlanInfo()

Planning phase information for the query. It will include:

{ "indexes_used": [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ] }

.google.protobuf.Struct plan_info = 1;

Returns
TypeDescription
boolean

Whether the planInfo field is set.