Package ru.curs.celesta.score
Enum TableRef.JoinType
- java.lang.Object
-
- java.lang.Enum<TableRef.JoinType>
-
- ru.curs.celesta.score.TableRef.JoinType
-
- All Implemented Interfaces:
Serializable
,Comparable<TableRef.JoinType>
- Enclosing class:
- TableRef
public static enum TableRef.JoinType extends Enum<TableRef.JoinType>
JOIN type. FULL JOIN isn't supported because of historical reasons, maybe someday it will be added. CROSS JOIN isn't supported for security and speed reasons.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TableRef.JoinType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TableRef.JoinType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INNER
public static final TableRef.JoinType INNER
INNER JOIN.
-
LEFT
public static final TableRef.JoinType LEFT
LEFT JOIN.
-
RIGHT
public static final TableRef.JoinType RIGHT
RIGHT JOIN.
-
-
Method Detail
-
values
public static TableRef.JoinType[] 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 (TableRef.JoinType c : TableRef.JoinType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TableRef.JoinType 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 nameNullPointerException
- if the argument is null
-
-