Package com.qfs.desc
Enum IOptimizationDescription.Optimization
- java.lang.Object
-
- java.lang.Enum<IOptimizationDescription.Optimization>
-
- com.qfs.desc.IOptimizationDescription.Optimization
-
- All Implemented Interfaces:
Serializable,Comparable<IOptimizationDescription.Optimization>
- Enclosing interface:
- IOptimizationDescription
public static enum IOptimizationDescription.Optimization extends Enum<IOptimizationDescription.Optimization>
Type of optimization.- Author:
- ActiveViam
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SECONDARY_INDEXSecondary index on the fields.UNIQUE_INDEXUnique index on the fields.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanrequireDictionary()Returns true if the given optimization requires the creation of dictionaries (nullable or not) on the same fields.static IOptimizationDescription.OptimizationvalueOf(String name)Returns the enum constant of this type with the specified name.static IOptimizationDescription.Optimization[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SECONDARY_INDEX
public static final IOptimizationDescription.Optimization SECONDARY_INDEX
Secondary index on the fields. Non-distinct values for the index are allowed.
-
UNIQUE_INDEX
public static final IOptimizationDescription.Optimization UNIQUE_INDEX
Unique index on the fields. Non-distinct values for the index are not allowed. All rows of the index must be unique.
-
-
Method Detail
-
values
public static IOptimizationDescription.Optimization[] 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 (IOptimizationDescription.Optimization c : IOptimizationDescription.Optimization.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IOptimizationDescription.Optimization 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
-
requireDictionary
public boolean requireDictionary()
Returns true if the given optimization requires the creation of dictionaries (nullable or not) on the same fields.
-
-