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 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;
    • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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 interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null