Class ExplainOptions (2.19.0)

public class ExplainOptions

Model class for com.google.datastore.v1.ExplainOptions. Contains the explain options for the query. Analyze is set to 'false' by default.

Inheritance

Object > ExplainOptions

Static Methods

newBuilder()

public static ExplainOptions.Builder newBuilder()
Returns
TypeDescription
ExplainOptions.Builder

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

shouldAnalyze()

public boolean shouldAnalyze()

Returns whether analyze is set to true or false. When false (the default), the query will be planned, returning only metrics from the planning stages. When true, the query will be planned and executed, returning the full query results along with both planning and execution stage metrics.

Returns
TypeDescription
boolean

toPb()

public ExplainOptions toPb()
Returns
TypeDescription
ExplainOptions