| 程序包 | 说明 |
|---|---|
| com.aliyun.dashvector.models.requests | |
| com.aliyun.dashvector.models.responses | |
| com.aliyun.dashvector.proto | |
| com.aliyun.dashvector.utils |
| 限定符和类型 | 方法和说明 |
|---|---|
protected InsertDocRequest |
InsertDocRequest.build(CollectionInfo.DataType dataType) |
protected abstract T |
WriteDocRequest.build(CollectionInfo.DataType dataType) |
protected UpdateDocRequest |
UpdateDocRequest.build(CollectionInfo.DataType dataType) |
protected UpsertDocRequest |
UpsertDocRequest.build(CollectionInfo.DataType dataType) |
T |
WriteDocRequest.toProto(CollectionInfo.DataType dataType) |
QueryDocRequest |
QueryDocRequest.toProto(CollectionInfo.DataType dataType) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Response<Map<String,Doc>> |
Response.success(FetchDocResponse response,
CollectionInfo.DataType dataType) |
static Response<List<Doc>> |
Response.success(QueryDocResponse response,
CollectionInfo.DataType dataType) |
| 限定符和类型 | 方法和说明 |
|---|---|
static CollectionInfo.DataType |
CollectionInfo.DataType.forNumber(int value) |
CollectionInfo.DataType |
CreateCollectionRequestOrBuilder.getDtype()
.proxima.dashvector.proto.CollectionInfo.DataType dtype = 3; |
CollectionInfo.DataType |
CreateCollectionRequest.getDtype()
.proxima.dashvector.proto.CollectionInfo.DataType dtype = 3; |
CollectionInfo.DataType |
CreateCollectionRequest.Builder.getDtype()
.proxima.dashvector.proto.CollectionInfo.DataType dtype = 3; |
CollectionInfo.DataType |
CollectionInfo.getDtype()
.proxima.dashvector.proto.CollectionInfo.DataType dtype = 3; |
CollectionInfo.DataType |
CollectionInfo.Builder.getDtype()
.proxima.dashvector.proto.CollectionInfo.DataType dtype = 3; |
CollectionInfo.DataType |
CollectionInfoOrBuilder.getDtype()
.proxima.dashvector.proto.CollectionInfo.DataType dtype = 3; |
static CollectionInfo.DataType |
CollectionInfo.DataType.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CollectionInfo.DataType |
CollectionInfo.DataType.valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static CollectionInfo.DataType |
CollectionInfo.DataType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CollectionInfo.DataType[] |
CollectionInfo.DataType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static com.google.protobuf.Internal.EnumLiteMap<CollectionInfo.DataType> |
CollectionInfo.DataType.internalGetValueMap() |
| 限定符和类型 | 方法和说明 |
|---|---|
CreateCollectionRequest.Builder |
CreateCollectionRequest.Builder.setDtype(CollectionInfo.DataType value)
.proxima.dashvector.proto.CollectionInfo.DataType dtype = 3; |
CollectionInfo.Builder |
CollectionInfo.Builder.setDtype(CollectionInfo.DataType value)
.proxima.dashvector.proto.CollectionInfo.DataType dtype = 3; |
| 限定符和类型 | 方法和说明 |
|---|---|
static Doc |
Convert.fromDoc(Doc doc,
CollectionInfo.DataType dataType)
Convert doc from proto to model.
|
static Vector |
Convert.fromVector(@NonNull Vector vector,
CollectionInfo.DataType dataType)
Convert vector from proto to model.
|
static Doc |
Convert.toDoc(@NonNull Doc doc,
CollectionInfo.DataType dataType)
Convert doc from model to proto.
|
static Vector |
Convert.toVector(@NonNull List<? extends Number> input,
CollectionInfo.DataType dataType)
Convert vector from model to proto.
|
Copyright © 2023. All rights reserved.