Package com.google.cloud.spanner
Enum ReadContext.QueryAnalyzeMode
- All Implemented Interfaces:
Serializable
,Comparable<ReadContext.QueryAnalyzeMode>
- Enclosing interface:
- ReadContext
Used to specify the mode in which the query should be analyzed by
ReadContext.analyzeQuery(Statement,QueryAnalyzeMode)
.-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReadContext.QueryAnalyzeMode
Returns the enum constant of this type with the specified name.static ReadContext.QueryAnalyzeMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PLAN
Retrieves only the query plan information. No result data is returned. -
PROFILE
Retrieves both query plan and query execution statistics along with the result data.
-
-
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
-