Package com.google.spanner.v1
Enum PlanNode.Kind
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PlanNode.Kind>
- Enclosing class:
- PlanNode
public static enum PlanNode.Kind
extends Enum<PlanNode.Kind>
implements com.google.protobuf.ProtocolMessageEnum
The kind of [PlanNode][google.spanner.v1.PlanNode]. Distinguishes between the two different kinds of nodes that can appear in a query plan.Protobuf enum
google.spanner.v1.PlanNode.Kind-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNot specified.Denotes a Relational operator node in the expression tree.Denotes a Scalar node in the expression tree. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intNot specified.static final intDenotes a Relational operator node in the expression tree.static final intDenotes a Scalar node in the expression tree. -
Method Summary
Modifier and TypeMethodDescriptionstatic PlanNode.KindforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PlanNode.Kind>static PlanNode.KindvalueOf(int value) Deprecated.static PlanNode.KindvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static PlanNode.KindReturns the enum constant of this type with the specified name.static PlanNode.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
KIND_UNSPECIFIED
Not specified.
KIND_UNSPECIFIED = 0; -
RELATIONAL
Denotes a Relational operator node in the expression tree. Relational operators represent iterative processing of rows during query execution. For example, a `TableScan` operation that reads rows from a table.
RELATIONAL = 1; -
SCALAR
Denotes a Scalar node in the expression tree. Scalar nodes represent non-iterable entities in the query plan. For example, constants or arithmetic operators appearing inside predicate expressions or references to column names.
SCALAR = 2; -
UNRECOGNIZED
-
-
Field Details
-
KIND_UNSPECIFIED_VALUE
public static final int KIND_UNSPECIFIED_VALUENot specified.
KIND_UNSPECIFIED = 0;- See Also:
-
RELATIONAL_VALUE
public static final int RELATIONAL_VALUEDenotes a Relational operator node in the expression tree. Relational operators represent iterative processing of rows during query execution. For example, a `TableScan` operation that reads rows from a table.
RELATIONAL = 1;- See Also:
-
SCALAR_VALUE
public static final int SCALAR_VALUEDenotes a Scalar node in the expression tree. Scalar nodes represent non-iterable entities in the query plan. For example, constants or arithmetic operators appearing inside predicate expressions or references to column names.
SCALAR = 2;- See Also:
-
-
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
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.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:
value- 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
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
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:
desc- 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
-