Enum RecommendedIndexType
- java.lang.Object
-
- java.lang.Enum<RecommendedIndexType>
-
- com.azure.resourcemanager.sql.models.RecommendedIndexType
-
- All Implemented Interfaces:
Serializable,Comparable<RecommendedIndexType>
public enum RecommendedIndexType extends Enum<RecommendedIndexType>
Defines values for RecommendedIndexType.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLUSTEREDEnum value CLUSTERED.CLUSTERED_COLUMNSTOREEnum value CLUSTERED COLUMNSTORE.COLUMNSTOREEnum value COLUMNSTORE.NONCLUSTEREDEnum value NONCLUSTERED.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RecommendedIndexTypefromString(String value)Parses a serialized value to a RecommendedIndexType instance.StringtoString()static RecommendedIndexTypevalueOf(String name)Returns the enum constant of this type with the specified name.static RecommendedIndexType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLUSTERED
public static final RecommendedIndexType CLUSTERED
Enum value CLUSTERED.
-
NONCLUSTERED
public static final RecommendedIndexType NONCLUSTERED
Enum value NONCLUSTERED.
-
COLUMNSTORE
public static final RecommendedIndexType COLUMNSTORE
Enum value COLUMNSTORE.
-
CLUSTERED_COLUMNSTORE
public static final RecommendedIndexType CLUSTERED_COLUMNSTORE
Enum value CLUSTERED COLUMNSTORE.
-
-
Method Detail
-
values
public static RecommendedIndexType[] 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 (RecommendedIndexType c : RecommendedIndexType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RecommendedIndexType 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
-
fromString
public static RecommendedIndexType fromString(String value)
Parses a serialized value to a RecommendedIndexType instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed RecommendedIndexType object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toStringin classEnum<RecommendedIndexType>
-
-