@Stability.Volatile public enum QueryProfile extends Enum<QueryProfile>
Enum Constant and Description |
---|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static QueryProfile |
valueOf(String name)
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.
|
public static final QueryProfile OFF
public static final QueryProfile PHASES
Three phase times will be included in the system:active_requests and system:completed_requests monitoring keyspaces.
public static final QueryProfile TIMINGS
This information will be included in the system:active_requests and system:completed_requests keyspaces.
public static QueryProfile[] values()
for (QueryProfile c : QueryProfile.values()) System.out.println(c);
public static QueryProfile valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021 Couchbase, Inc.. All rights reserved.