Skip to content

Commit 593912d

Browse files
committed
Generated java-async 2016-05-03 for gpdb.
1 parent f99f82e commit 593912d

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

gpdb-20160503/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-03-07 Version: 2.0.14
2+
- Generated java-async 2016-05-03 for gpdb.
3+
14
2025-02-19 Version: 2.0.13
25
- Generated java-async 2016-05-03 for gpdb.
36

gpdb-20160503/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
55
<artifactId>alibabacloud-gpdb20160503</artifactId>
6-
<version>2.0.13</version>
6+
<version>2.0.14</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-gpdb20160503</name>
99
<description>Alibaba Cloud gpdb (20160503) Async SDK for Java

gpdb-20160503/src/main/java/com/aliyun/sdk/service/gpdb20160503/models/CreateDocumentCollectionRequest.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ public class CreateDocumentCollectionRequest extends Request {
2727
@com.aliyun.core.annotation.Validation(required = true)
2828
private String DBInstanceId;
2929

30+
@com.aliyun.core.annotation.Query
31+
@com.aliyun.core.annotation.NameInMap("Dimension")
32+
private Integer dimension;
33+
3034
@com.aliyun.core.annotation.Query
3135
@com.aliyun.core.annotation.NameInMap("EmbeddingModel")
3236
private String embeddingModel;
@@ -95,6 +99,7 @@ private CreateDocumentCollectionRequest(Builder builder) {
9599
super(builder);
96100
this.collection = builder.collection;
97101
this.DBInstanceId = builder.DBInstanceId;
102+
this.dimension = builder.dimension;
98103
this.embeddingModel = builder.embeddingModel;
99104
this.externalStorage = builder.externalStorage;
100105
this.fullTextRetrievalFields = builder.fullTextRetrievalFields;
@@ -139,6 +144,13 @@ public String getDBInstanceId() {
139144
return this.DBInstanceId;
140145
}
141146

147+
/**
148+
* @return dimension
149+
*/
150+
public Integer getDimension() {
151+
return this.dimension;
152+
}
153+
142154
/**
143155
* @return embeddingModel
144156
*/
@@ -247,6 +259,7 @@ public String getRegionId() {
247259
public static final class Builder extends Request.Builder<CreateDocumentCollectionRequest, Builder> {
248260
private String collection;
249261
private String DBInstanceId;
262+
private Integer dimension;
250263
private String embeddingModel;
251264
private Integer externalStorage;
252265
private String fullTextRetrievalFields;
@@ -271,6 +284,7 @@ private Builder(CreateDocumentCollectionRequest request) {
271284
super(request);
272285
this.collection = request.collection;
273286
this.DBInstanceId = request.DBInstanceId;
287+
this.dimension = request.dimension;
274288
this.embeddingModel = request.embeddingModel;
275289
this.externalStorage = request.externalStorage;
276290
this.fullTextRetrievalFields = request.fullTextRetrievalFields;
@@ -320,6 +334,15 @@ public Builder DBInstanceId(String DBInstanceId) {
320334
return this;
321335
}
322336

337+
/**
338+
* Dimension.
339+
*/
340+
public Builder dimension(Integer dimension) {
341+
this.putQueryParameter("Dimension", dimension);
342+
this.dimension = dimension;
343+
return this;
344+
}
345+
323346
/**
324347
* <p>The vectorization algorithm.</p>
325348
* <blockquote>

0 commit comments

Comments
 (0)