public static enum PlanNode.Kind extends Enum<PlanNode.Kind> implements 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 and 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 |
Modifier and Type | Field and 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.
|
Modifier and Type | Method and Description |
---|---|
static PlanNode.Kind |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<PlanNode.Kind> |
internalGetValueMap() |
static PlanNode.Kind |
valueOf(Descriptors.EnumValueDescriptor desc) |
static PlanNode.Kind |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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.
|
public static final PlanNode.Kind KIND_UNSPECIFIED
Not specified.
KIND_UNSPECIFIED = 0;
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;
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;
public static final PlanNode.Kind UNRECOGNIZED
public static final int KIND_UNSPECIFIED_VALUE
Not specified.
KIND_UNSPECIFIED = 0;
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;
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;
public static PlanNode.Kind[] values()
for (PlanNode.Kind c : PlanNode.Kind.values()) System.out.println(c);
public static PlanNode.Kind 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 nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static PlanNode.Kind valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static PlanNode.Kind forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<PlanNode.Kind> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static PlanNode.Kind valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.