Enum MethodNameParser.QueryType
- java.lang.Object
-
- java.lang.Enum<MethodNameParser.QueryType>
-
- io.quarkus.spring.data.deployment.MethodNameParser.QueryType
-
- All Implemented Interfaces:
Serializable,Comparable<MethodNameParser.QueryType>
- Enclosing class:
- MethodNameParser
public static enum MethodNameParser.QueryType extends Enum<MethodNameParser.QueryType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MethodNameParser.QueryTypevalueOf(String name)Returns the enum constant of this type with the specified name.static MethodNameParser.QueryType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SELECT
public static final MethodNameParser.QueryType SELECT
-
COUNT
public static final MethodNameParser.QueryType COUNT
-
EXISTS
public static final MethodNameParser.QueryType EXISTS
-
DELETE
public static final MethodNameParser.QueryType DELETE
-
-
Method Detail
-
values
public static MethodNameParser.QueryType[] 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 (MethodNameParser.QueryType c : MethodNameParser.QueryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MethodNameParser.QueryType 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
-
-