public static enum SQLAnnIndex.Distance extends Enum<SQLAnnIndex.Distance>
| 枚举常量和说明 |
|---|
DotProduct |
Hamming |
SquaredEuclidean |
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2013–2023. All rights reserved.