Package it.unimi.di.big.mg4j.tool
Enum Scan.IndexingType
- java.lang.Object
-
- java.lang.Enum<Scan.IndexingType>
-
- it.unimi.di.big.mg4j.tool.Scan.IndexingType
-
- All Implemented Interfaces:
Serializable
,Comparable<Scan.IndexingType>
,java.lang.constant.Constable
- Enclosing class:
- Scan
public static enum Scan.IndexingType extends Enum<Scan.IndexingType>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description REMAPPED
A remapped index—documents will be provided in separate calls, but in any order.STANDARD
A standard index—documents will be provided in increasing order.VIRTUAL
A virtual index—documents will be provided in any order, and a document may appear several times.
-
Method Summary
Modifier and Type Method Description static Scan.IndexingType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Scan.IndexingType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STANDARD
public static final Scan.IndexingType STANDARD
A standard index—documents will be provided in increasing order.
-
REMAPPED
public static final Scan.IndexingType REMAPPED
A remapped index—documents will be provided in separate calls, but in any order.
-
VIRTUAL
public static final Scan.IndexingType VIRTUAL
A virtual index—documents will be provided in any order, and a document may appear several times.
-
-
Method Detail
-
values
public static Scan.IndexingType[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Scan.IndexingType 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
-
-