Package com.couchbase.client.java.query
Enum QueryProfile
- All Implemented Interfaces:
Serializable
,Comparable<QueryProfile>
Query profiling information received from the server query engine.
- Since:
- 3.0.0
-
Enum Constant Summary
Enum ConstantDescriptionNo profiling information is added to the query response.The query response includes a profile section with stats and details about various phases of the query plan and execution.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. -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryProfile
Returns the enum constant of this type with the specified name.static QueryProfile[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OFF
No profiling information is added to the query response. -
PHASES
The query response includes a profile section with stats and details about various phases of the query plan and execution.Three phase times will be included in the system:active_requests and system:completed_requests monitoring keyspaces.
-
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.This information will be included in the system:active_requests and system:completed_requests keyspaces.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-