Enum SelectType
- java.lang.Object
-
- java.lang.Enum<SelectType>
-
- com.couchbase.client.java.query.dsl.path.SelectType
-
- All Implemented Interfaces:
Serializable
,Comparable<SelectType>
public enum SelectType extends Enum<SelectType>
.- Author:
- Michael Nitschinger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
DEFAULT
DISTINCT
DISTINCT_RAW
RAW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
value()
static SelectType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SelectType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final SelectType DEFAULT
-
ALL
public static final SelectType ALL
-
DISTINCT
public static final SelectType DISTINCT
-
RAW
public static final SelectType RAW
-
DISTINCT_RAW
public static final SelectType DISTINCT_RAW
-
-
Method Detail
-
values
public static SelectType[] 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 (SelectType c : SelectType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SelectType 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
-
value
public String value()
-
-