public static enum Approximate.LocalSearchType extends java.lang.Enum<Approximate.LocalSearchType>
Enum Constant and Description |
---|
ABS_DC_COUNT
Stop after the specific number of evaluations of distance functions.
|
ABS_OBJ_COUNT
Stop after inspecting the specific number of objects.
|
BLOCK_READS
Stop after a specific number of I/O operations (page reads)..
|
DATA_PARTITIONS
Stop after a specific number of "data regions" (buckets, clusters) is accessed and searched.
|
PERCENTAGE
Stop after inspecting given percentage of data.
|
USE_STRUCTURE_DEFAULT
The search type and parameter are not set and the default of the structure should be used.
|
Modifier and Type | Method and Description |
---|---|
static Approximate.LocalSearchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Approximate.LocalSearchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Approximate.LocalSearchType PERCENTAGE
parameter
holds the value between 0-100.public static final Approximate.LocalSearchType ABS_OBJ_COUNT
parameter
is the number of objects.public static final Approximate.LocalSearchType ABS_DC_COUNT
parameter
is the threshold on the number of distance computations.public static final Approximate.LocalSearchType DATA_PARTITIONS
parameter
is the limit on "data regions" (partitions, buckets, clusters) to be accessed.public static final Approximate.LocalSearchType BLOCK_READS
parameter
is the limit on "data regions" (partitions, buckets, clusters) to be accessed.public static final Approximate.LocalSearchType USE_STRUCTURE_DEFAULT
parameter
is ignored.public static Approximate.LocalSearchType[] values()
for (Approximate.LocalSearchType c : Approximate.LocalSearchType.values()) System.out.println(c);
public static Approximate.LocalSearchType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null