|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PlanNode.Type>
org.modeshape.graph.query.plan.PlanNode.Type
public static enum PlanNode.Type
An enumeration dictating the type of plan tree nodes.
Enum Constant Summary | |
---|---|
ACCESS
A node that represents an access of the underlying storage. |
|
DEPENDENT_QUERY
A node that contains two nodes, where the left side must be done before the right |
|
DUP_REMOVE
A node that defines the removal of duplicate tuples. |
|
GROUP
A node that groups sets of rows into groups (and where aggregation would be performed) |
|
JOIN
A node that defines the join type, join criteria, and join strategy |
|
LIMIT
A node that limits the number of tuples returned |
|
NULL
A node that produces no results |
|
PROJECT
A node that defines the columns returned from the node. |
|
SELECT
A node that selects a filters the tuples by applying a criteria evaluation filter node (WHERE / HAVING) |
|
SET_OPERATION
A node the performs set operations on two sets of tuples, including UNION |
|
SORT
A node that defines the columns to sort on, the sort direction for each column, and whether to remove duplicates. |
|
SOURCE
A node that defines the 'table' from which the tuples are being obtained |
Method Summary | |
---|---|
static PlanNode.Type |
forSymbol(String symbol)
Attempt to find the Type given a symbol. |
String |
getSymbol()
Get the symbol representation of this node type. |
String |
toString()
|
static PlanNode.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PlanNode.Type[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PlanNode.Type ACCESS
public static final PlanNode.Type DUP_REMOVE
public static final PlanNode.Type JOIN
public static final PlanNode.Type PROJECT
public static final PlanNode.Type SELECT
public static final PlanNode.Type SORT
public static final PlanNode.Type SOURCE
public static final PlanNode.Type GROUP
public static final PlanNode.Type NULL
public static final PlanNode.Type LIMIT
public static final PlanNode.Type SET_OPERATION
public static final PlanNode.Type DEPENDENT_QUERY
Method Detail |
---|
public static PlanNode.Type[] values()
for (PlanNode.Type c : PlanNode.Type.values()) System.out.println(c);
public static PlanNode.Type valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getSymbol()
public String toString()
toString
in class Enum<PlanNode.Type>
Enum.toString()
public static PlanNode.Type forSymbol(String symbol)
symbol
- the symbol
IllegalArgumentException
- if the symbol is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |