public class UpsertCollectionDataAsyncRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
collection
The name of the collection.
|
String |
DBInstanceId
The instance ID.
|
String |
fileUrl
The Internet-accessible vector data file URL.
|
String |
namespace
The name of the namespace.
|
String |
namespacePassword
The password of the namespace.
|
Long |
ownerId |
String |
regionId
The region ID of the instance.
|
String |
workspaceId |
| 构造器和说明 |
|---|
UpsertCollectionDataAsyncRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UpsertCollectionDataAsyncRequest |
build(Map<String,?> map) |
String |
getCollection() |
String |
getDBInstanceId() |
String |
getFileUrl() |
String |
getNamespace() |
String |
getNamespacePassword() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getWorkspaceId() |
UpsertCollectionDataAsyncRequest |
setCollection(String collection) |
UpsertCollectionDataAsyncRequest |
setDBInstanceId(String DBInstanceId) |
UpsertCollectionDataAsyncRequest |
setFileUrl(String fileUrl) |
UpsertCollectionDataAsyncRequest |
setNamespace(String namespace) |
UpsertCollectionDataAsyncRequest |
setNamespacePassword(String namespacePassword) |
UpsertCollectionDataAsyncRequest |
setOwnerId(Long ownerId) |
UpsertCollectionDataAsyncRequest |
setRegionId(String regionId) |
UpsertCollectionDataAsyncRequest |
setWorkspaceId(String workspaceId) |
@NameInMap(value="Collection") public String collection
The name of the collection.
You can call the ListCollections operation to query a list of collections.
This parameter is required.
example:document
@NameInMap(value="DBInstanceId") public String DBInstanceId
The instance ID.
example:You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
gp-xxxxxxxxx
@NameInMap(value="FileUrl") public String fileUrl
The Internet-accessible vector data file URL.
The file content must be in the JSONL format. Each line consists of a list of JSON data, which specifies a set of vector data.
Data format of each line: {String Id; Map<String, Object> Metadata; List<Double> Vector}. Example: {"Id":"myid", "Metadata": {"my_meta_key": "my_meta_value"}, "Vector": [1.234, -0.123]}.
We recommend that you SDKs to call this operation. SDKs encapsulate the UpsertCollectionDataAsyncAdvance method to upload on-premises files as data sources.
This parameter is required.
example:@NameInMap(value="Namespace") public String namespace
The name of the namespace. Default value: public.
example:You can call the CreateNamespace operation to create a namespace and call the ListNamespaces operation to query a list of namespaces.
mynamespace
@NameInMap(value="NamespacePassword") public String namespacePassword
The password of the namespace.
The value of this parameter is specified when you call the CreateNamespace operation.
This parameter is required.
example:testpassword
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the instance.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="WorkspaceId") public String workspaceId
public static UpsertCollectionDataAsyncRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpsertCollectionDataAsyncRequest setCollection(String collection)
public String getCollection()
public UpsertCollectionDataAsyncRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public UpsertCollectionDataAsyncRequest setFileUrl(String fileUrl)
public String getFileUrl()
public UpsertCollectionDataAsyncRequest setNamespace(String namespace)
public String getNamespace()
public UpsertCollectionDataAsyncRequest setNamespacePassword(String namespacePassword)
public String getNamespacePassword()
public UpsertCollectionDataAsyncRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public UpsertCollectionDataAsyncRequest setRegionId(String regionId)
public String getRegionId()
public UpsertCollectionDataAsyncRequest setWorkspaceId(String workspaceId)
public String getWorkspaceId()
Copyright © 2024. All rights reserved.