Package com.google.cloud.firestore
Class ExplainStats
java.lang.Object
com.google.cloud.firestore.ExplainStats
A wrapper object to access explain stats if explain or analyze was enabled for the Pipeline query
execution.
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.AnyReturns the explain stats in an encoded proto format, as returned from the Firestore backend.getText()When explain stats were requested with `outputFormat = 'text'`, this returns the explain stats string verbatim as returned from the Firestore backend.
-
Method Details
-
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. -
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.
-