Package com.sap.cds.ql.cqn
Enum CqnJoin.Type
- java.lang.Object
-
- java.lang.Enum<CqnJoin.Type>
-
- com.sap.cds.ql.cqn.CqnJoin.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<CqnJoin.Type>
- Enclosing interface:
- CqnJoin
public static enum CqnJoin.Type extends Enum<CqnJoin.Type>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CqnJoin.Type
joinType(String type)
String
toString()
static CqnJoin.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static CqnJoin.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INNER
public static final CqnJoin.Type INNER
-
LEFT
public static final CqnJoin.Type LEFT
-
RIGHT
public static final CqnJoin.Type RIGHT
-
FULL
public static final CqnJoin.Type FULL
-
CROSS
public static final CqnJoin.Type CROSS
-
-
Method Detail
-
values
public static CqnJoin.Type[] 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 (CqnJoin.Type c : CqnJoin.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CqnJoin.Type 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
-
joinType
public static CqnJoin.Type joinType(String type)
-
toString
public String toString()
- Overrides:
toString
in classEnum<CqnJoin.Type>
-
-