Class ExplainStats (3.35.1)

public final class ExplainStats

A wrapper object to access explain stats if explain or analyze was enabled for the Pipeline query execution.

Inheritance

java.lang.Object > ExplainStats

Methods

getRawData()

public Any getRawData()

Returns the explain stats in an encoded proto format, as returned from the Firestore backend. The caller is responsible for unpacking this proto message.

Returns
Type Description
Any

getText()

public String getText()

When explain stats were requested with outputFormat = 'text', this returns the explain stats string verbatim as returned from the Firestore backend.

If explain stats were requested with outputFormat = 'json', this returns the explain stats as stringified JSON, which was returned from the Firestore backend.

Returns
Type Description
String