public static enum PlanNode.Type extends Enum<PlanNode.Type>
Enum Constant and Description |
---|
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)
|
INDEX
A node that defines an index that can be used for the parent SOURCE node
|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
public static final PlanNode.Type INDEX
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 nameNullPointerException
- 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 symbolIllegalArgumentException
- if the symbol is nullCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.