public class VectorOptions extends Object implements Jsonizable
| Constructor and Description |
|---|
VectorOptions() |
VectorOptions(VectorDataType dataType,
int dimension,
VectorMetricType metricType) |
| Modifier and Type | Method and Description |
|---|---|
VectorDataType |
getDataType() |
Integer |
getDimension() |
VectorMetricType |
getMetricType() |
String |
jsonize() |
void |
jsonize(StringBuilder sb,
String newline) |
VectorOptions |
setDataType(VectorDataType dataType) |
VectorOptions |
setDimension(Integer dimension) |
VectorOptions |
setMetricType(VectorMetricType metricType) |
public VectorOptions()
public VectorOptions(VectorDataType dataType, int dimension, VectorMetricType metricType)
public VectorDataType getDataType()
public VectorOptions setDataType(VectorDataType dataType)
public Integer getDimension()
public VectorOptions setDimension(Integer dimension)
public VectorMetricType getMetricType()
public VectorOptions setMetricType(VectorMetricType metricType)
public String jsonize()
jsonize in interface Jsonizablepublic void jsonize(StringBuilder sb, String newline)
jsonize in interface JsonizableCopyright © 2024. All Rights Reserved.