QueryProfile

enum QueryProfile : Enum<QueryProfile>

Controls how much query profiling information is included in the response metadata.

Access the returned info via QueryMetadata.profile.

Entries

Link copied to clipboard
TIMINGS(CoreQueryProfile.TIMINGS)

Besides the phase times, the profile section of the query response document will include a full query plan with timing and information about the number of processed documents at each phase.

Link copied to clipboard
PHASES(CoreQueryProfile.PHASES)

The query response includes a profile section with stats and details about various phases of the query plan and execution.

Link copied to clipboard
OFF(CoreQueryProfile.OFF)

No profiling information is added to the query response.

Functions

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int