GigaSpaces XAP 9.7.2 API

org.openspaces.jpa.openjpa.query
Enum ExpressionNode.NodeType

java.lang.Object
  extended by java.lang.Enum<ExpressionNode.NodeType>
      extended by org.openspaces.jpa.openjpa.query.ExpressionNode.NodeType
All Implemented Interfaces:
Serializable, Comparable<ExpressionNode.NodeType>
Enclosing interface:
ExpressionNode

public static enum ExpressionNode.NodeType
extends Enum<ExpressionNode.NodeType>

Represents the node type in the translated query expression tree.


Enum Constant Summary
AGGREGATION_FUNCTION
           
BINARY_EXPRESSION
           
CONTAINS_EXPRESSION
           
EMPTY_EXPRESSION
           
FIELD_PATH
           
INNER_QUERY
           
LIKE_EXPRESSION
           
LITERAL_VALUE
           
LOGICAL_EXPRESSION
           
NULL_VALUE
           
PARAMETER
           
VARIABLE
           
VARIABLE_BINDING
           
 
Method Summary
static ExpressionNode.NodeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ExpressionNode.NodeType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BINARY_EXPRESSION

public static final ExpressionNode.NodeType BINARY_EXPRESSION

LOGICAL_EXPRESSION

public static final ExpressionNode.NodeType LOGICAL_EXPRESSION

NULL_VALUE

public static final ExpressionNode.NodeType NULL_VALUE

PARAMETER

public static final ExpressionNode.NodeType PARAMETER

VARIABLE

public static final ExpressionNode.NodeType VARIABLE

FIELD_PATH

public static final ExpressionNode.NodeType FIELD_PATH

LITERAL_VALUE

public static final ExpressionNode.NodeType LITERAL_VALUE

EMPTY_EXPRESSION

public static final ExpressionNode.NodeType EMPTY_EXPRESSION

INNER_QUERY

public static final ExpressionNode.NodeType INNER_QUERY

AGGREGATION_FUNCTION

public static final ExpressionNode.NodeType AGGREGATION_FUNCTION

CONTAINS_EXPRESSION

public static final ExpressionNode.NodeType CONTAINS_EXPRESSION

VARIABLE_BINDING

public static final ExpressionNode.NodeType VARIABLE_BINDING

LIKE_EXPRESSION

public static final ExpressionNode.NodeType LIKE_EXPRESSION
Method Detail

values

public static ExpressionNode.NodeType[] 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 (ExpressionNode.NodeType c : ExpressionNode.NodeType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ExpressionNode.NodeType 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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.