Enum BackendIndexCfgDefn.IndexType
- java.lang.Object
-
- java.lang.Enum<BackendIndexCfgDefn.IndexType>
-
- org.forgerock.opendj.server.config.meta.BackendIndexCfgDefn.IndexType
-
- All Implemented Interfaces:
Serializable
,Comparable<BackendIndexCfgDefn.IndexType>
- Enclosing class:
- BackendIndexCfgDefn
public static enum BackendIndexCfgDefn.IndexType extends Enum<BackendIndexCfgDefn.IndexType>
Defines the set of permissible values for the "index-type" property.Specifies the type(s) of indexing that should be performed for the associated attribute.
For equality, presence, and substring index types, the associated attribute type must have a corresponding matching rule.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPROXIMATE
This index type is used to improve the efficiency of searches using approximate matching search filters.EQUALITY
This index type is used to improve the efficiency of searches using equality search filters.EXTENSIBLE
This index type is used to improve the efficiency of searches using extensible matching search filters.ORDERING
This index type is used to improve the efficiency of searches using "greater than or equal to" or "less then or equal to" search filters.PRESENCE
This index type is used to improve the efficiency of searches using the presence search filters.SUBSTRING
This index type is used to improve the efficiency of searches using substring search filters.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static BackendIndexCfgDefn.IndexType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BackendIndexCfgDefn.IndexType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APPROXIMATE
public static final BackendIndexCfgDefn.IndexType APPROXIMATE
This index type is used to improve the efficiency of searches using approximate matching search filters.
-
EQUALITY
public static final BackendIndexCfgDefn.IndexType EQUALITY
This index type is used to improve the efficiency of searches using equality search filters.
-
EXTENSIBLE
public static final BackendIndexCfgDefn.IndexType EXTENSIBLE
This index type is used to improve the efficiency of searches using extensible matching search filters.
-
ORDERING
public static final BackendIndexCfgDefn.IndexType ORDERING
This index type is used to improve the efficiency of searches using "greater than or equal to" or "less then or equal to" search filters.
-
PRESENCE
public static final BackendIndexCfgDefn.IndexType PRESENCE
This index type is used to improve the efficiency of searches using the presence search filters.
-
SUBSTRING
public static final BackendIndexCfgDefn.IndexType SUBSTRING
This index type is used to improve the efficiency of searches using substring search filters.
-
-
Method Detail
-
values
public static BackendIndexCfgDefn.IndexType[] 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 (BackendIndexCfgDefn.IndexType c : BackendIndexCfgDefn.IndexType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BackendIndexCfgDefn.IndexType 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<BackendIndexCfgDefn.IndexType>
-
-