public static enum SQLAnnIndex.Distance extends Enum<SQLAnnIndex.Distance>
| Enum Constant and Description |
|---|
DotProduct |
Hamming |
SquaredEuclidean |
| Modifier and Type | Method and Description |
|---|---|
static SQLAnnIndex.Distance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SQLAnnIndex.Distance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLAnnIndex.Distance Hamming
public static final SQLAnnIndex.Distance SquaredEuclidean
public static final SQLAnnIndex.Distance DotProduct
public static SQLAnnIndex.Distance[] values()
for (SQLAnnIndex.Distance c : SQLAnnIndex.Distance.values()) System.out.println(c);
public static SQLAnnIndex.Distance valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2013–2022 Alibaba Group. All rights reserved.