Package com.google.spanner.v1
Enum PlanNode.Kind
- java.lang.Object
-
- java.lang.Enum<PlanNode.Kind>
-
- com.google.spanner.v1.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 enumgoogle.spanner.v1.PlanNode.Kind
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KIND_UNSPECIFIED
Not specified.RELATIONAL
Denotes a Relational operator node in the expression tree.SCALAR
Denotes a Scalar node in the expression tree.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
KIND_UNSPECIFIED_VALUE
Not specified.static int
RELATIONAL_VALUE
Denotes a Relational operator node in the expression tree.static int
SCALAR_VALUE
Denotes a Scalar node in the expression tree.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PlanNode.Kind
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<PlanNode.Kind>
internalGetValueMap()
static PlanNode.Kind
valueOf(int value)
Deprecated.static PlanNode.Kind
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static PlanNode.Kind
valueOf(String name)
Returns 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 Detail
-
KIND_UNSPECIFIED
public static final PlanNode.Kind KIND_UNSPECIFIED
Not specified.
KIND_UNSPECIFIED = 0;
-
RELATIONAL
public static final PlanNode.Kind 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
public static final PlanNode.Kind 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
public static final PlanNode.Kind UNRECOGNIZED
-
-
Field Detail
-
KIND_UNSPECIFIED_VALUE
public static final int KIND_UNSPECIFIED_VALUE
Not specified.
KIND_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
RELATIONAL_VALUE
public static final int RELATIONAL_VALUE
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;
- See Also:
- Constant Field Values
-
SCALAR_VALUE
public static final int SCALAR_VALUE
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;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static PlanNode.Kind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PlanNode.Kind c : PlanNode.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlanNode.Kind valueOf(String name)
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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static PlanNode.Kind valueOf(int value)
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
public static PlanNode.Kind forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<PlanNode.Kind> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static PlanNode.Kind valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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
-
-