public class UpsertCollectionDataAsyncAdvanceRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
collection
The name of the collection.
|
String |
DBInstanceId
The instance ID.
|
InputStream |
fileUrlObject
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 |
| 构造器和说明 |
|---|
UpsertCollectionDataAsyncAdvanceRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UpsertCollectionDataAsyncAdvanceRequest |
build(Map<String,?> map) |
String |
getCollection() |
String |
getDBInstanceId() |
InputStream |
getFileUrlObject() |
String |
getNamespace() |
String |
getNamespacePassword() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getWorkspaceId() |
UpsertCollectionDataAsyncAdvanceRequest |
setCollection(String collection) |
UpsertCollectionDataAsyncAdvanceRequest |
setDBInstanceId(String DBInstanceId) |
UpsertCollectionDataAsyncAdvanceRequest |
setFileUrlObject(InputStream fileUrlObject) |
UpsertCollectionDataAsyncAdvanceRequest |
setNamespace(String namespace) |
UpsertCollectionDataAsyncAdvanceRequest |
setNamespacePassword(String namespacePassword) |
UpsertCollectionDataAsyncAdvanceRequest |
setOwnerId(Long ownerId) |
UpsertCollectionDataAsyncAdvanceRequest |
setRegionId(String regionId) |
UpsertCollectionDataAsyncAdvanceRequest |
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 InputStream fileUrlObject
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 UpsertCollectionDataAsyncAdvanceRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpsertCollectionDataAsyncAdvanceRequest setCollection(String collection)
public String getCollection()
public UpsertCollectionDataAsyncAdvanceRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public UpsertCollectionDataAsyncAdvanceRequest setFileUrlObject(InputStream fileUrlObject)
public InputStream getFileUrlObject()
public UpsertCollectionDataAsyncAdvanceRequest setNamespace(String namespace)
public String getNamespace()
public UpsertCollectionDataAsyncAdvanceRequest setNamespacePassword(String namespacePassword)
public String getNamespacePassword()
public UpsertCollectionDataAsyncAdvanceRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public UpsertCollectionDataAsyncAdvanceRequest setRegionId(String regionId)
public String getRegionId()
public UpsertCollectionDataAsyncAdvanceRequest setWorkspaceId(String workspaceId)
public String getWorkspaceId()
Copyright © 2024. All rights reserved.