Skip to content

Commit e68612f

Browse files
committed
Generated java-async 2016-05-03 for gpdb.
1 parent a7ed116 commit e68612f

14 files changed

+1650
-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-09-12 Version: 2.0.30
2+
- Generated java-async 2016-05-03 for gpdb.
3+
14
2025-07-30 Version: 2.0.26
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.26</version>
6+
<version>2.0.30</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/AsyncClient.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -971,6 +971,12 @@ static AsyncClient create() {
971971
*/
972972
CompletableFuture<DownloadSQLLogsRecordsResponse> downloadSQLLogsRecords(DownloadSQLLogsRecordsRequest request);
973973

974+
/**
975+
* @param request the request parameters of EnableCollectionGraphRAG EnableCollectionGraphRAGRequest
976+
* @return EnableCollectionGraphRAGResponse
977+
*/
978+
CompletableFuture<EnableCollectionGraphRAGResponse> enableCollectionGraphRAG(EnableCollectionGraphRAGRequest request);
979+
974980
/**
975981
* <b>description</b> :
976982
* <p> You can call this operation only for AnalyticDB for PostgreSQL V6.0 instances in elastic storage mode whose minor version is V6.6.1.0 or later.</p>
@@ -996,6 +1002,12 @@ static AsyncClient create() {
9961002
*/
9971003
CompletableFuture<GetAccountResponse> getAccount(GetAccountRequest request);
9981004

1005+
/**
1006+
* @param request the request parameters of GetGraphRAGJob GetGraphRAGJobRequest
1007+
* @return GetGraphRAGJobResponse
1008+
*/
1009+
CompletableFuture<GetGraphRAGJobResponse> getGraphRAGJob(GetGraphRAGJobRequest request);
1010+
9991011
/**
10001012
* @param request the request parameters of GetSecretValue GetSecretValueRequest
10011013
* @return GetSecretValueResponse

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2469,6 +2469,24 @@ public CompletableFuture<DownloadSQLLogsRecordsResponse> downloadSQLLogsRecords(
24692469
}
24702470
}
24712471

2472+
/**
2473+
* @param request the request parameters of EnableCollectionGraphRAG EnableCollectionGraphRAGRequest
2474+
* @return EnableCollectionGraphRAGResponse
2475+
*/
2476+
@Override
2477+
public CompletableFuture<EnableCollectionGraphRAGResponse> enableCollectionGraphRAG(EnableCollectionGraphRAGRequest request) {
2478+
try {
2479+
this.handler.validateRequestModel(request);
2480+
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("EnableCollectionGraphRAG").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
2481+
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(EnableCollectionGraphRAGResponse.create());
2482+
return this.handler.execute(params);
2483+
} catch (Exception e) {
2484+
CompletableFuture<EnableCollectionGraphRAGResponse> future = new CompletableFuture<>();
2485+
future.completeExceptionally(e);
2486+
return future;
2487+
}
2488+
}
2489+
24722490
/**
24732491
* <b>description</b> :
24742492
* <p> You can call this operation only for AnalyticDB for PostgreSQL V6.0 instances in elastic storage mode whose minor version is V6.6.1.0 or later.</p>
@@ -2530,6 +2548,24 @@ public CompletableFuture<GetAccountResponse> getAccount(GetAccountRequest reques
25302548
}
25312549
}
25322550

2551+
/**
2552+
* @param request the request parameters of GetGraphRAGJob GetGraphRAGJobRequest
2553+
* @return GetGraphRAGJobResponse
2554+
*/
2555+
@Override
2556+
public CompletableFuture<GetGraphRAGJobResponse> getGraphRAGJob(GetGraphRAGJobRequest request) {
2557+
try {
2558+
this.handler.validateRequestModel(request);
2559+
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetGraphRAGJob").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
2560+
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetGraphRAGJobResponse.create());
2561+
return this.handler.execute(params);
2562+
} catch (Exception e) {
2563+
CompletableFuture<GetGraphRAGJobResponse> future = new CompletableFuture<>();
2564+
future.completeExceptionally(e);
2565+
return future;
2566+
}
2567+
}
2568+
25332569
/**
25342570
* @param request the request parameters of GetSecretValue GetSecretValueRequest
25352571
* @return GetSecretValueResponse

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

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ public class CreateDocumentCollectionRequest extends Request {
3535
@com.aliyun.core.annotation.NameInMap("EmbeddingModel")
3636
private String embeddingModel;
3737

38+
@com.aliyun.core.annotation.Query
39+
@com.aliyun.core.annotation.NameInMap("EnableGraph")
40+
private Boolean enableGraph;
41+
42+
@com.aliyun.core.annotation.Query
43+
@com.aliyun.core.annotation.NameInMap("EntityTypes")
44+
private java.util.List<String> entityTypes;
45+
3846
@com.aliyun.core.annotation.Query
3947
@com.aliyun.core.annotation.NameInMap("ExternalStorage")
4048
private Integer externalStorage;
@@ -52,6 +60,14 @@ public class CreateDocumentCollectionRequest extends Request {
5260
@com.aliyun.core.annotation.Validation(maximum = 1000)
5361
private Integer hnswM;
5462

63+
@com.aliyun.core.annotation.Query
64+
@com.aliyun.core.annotation.NameInMap("LLMModel")
65+
private String LLMModel;
66+
67+
@com.aliyun.core.annotation.Query
68+
@com.aliyun.core.annotation.NameInMap("Language")
69+
private String language;
70+
5571
@com.aliyun.core.annotation.Query
5672
@com.aliyun.core.annotation.NameInMap("ManagerAccount")
5773
@com.aliyun.core.annotation.Validation(required = true)
@@ -95,16 +111,24 @@ public class CreateDocumentCollectionRequest extends Request {
95111
@com.aliyun.core.annotation.Validation(required = true)
96112
private String regionId;
97113

114+
@com.aliyun.core.annotation.Query
115+
@com.aliyun.core.annotation.NameInMap("RelationshipTypes")
116+
private java.util.List<String> relationshipTypes;
117+
98118
private CreateDocumentCollectionRequest(Builder builder) {
99119
super(builder);
100120
this.collection = builder.collection;
101121
this.DBInstanceId = builder.DBInstanceId;
102122
this.dimension = builder.dimension;
103123
this.embeddingModel = builder.embeddingModel;
124+
this.enableGraph = builder.enableGraph;
125+
this.entityTypes = builder.entityTypes;
104126
this.externalStorage = builder.externalStorage;
105127
this.fullTextRetrievalFields = builder.fullTextRetrievalFields;
106128
this.hnswEfConstruction = builder.hnswEfConstruction;
107129
this.hnswM = builder.hnswM;
130+
this.LLMModel = builder.LLMModel;
131+
this.language = builder.language;
108132
this.managerAccount = builder.managerAccount;
109133
this.managerAccountPassword = builder.managerAccountPassword;
110134
this.metadata = builder.metadata;
@@ -115,6 +139,7 @@ private CreateDocumentCollectionRequest(Builder builder) {
115139
this.parser = builder.parser;
116140
this.pqEnable = builder.pqEnable;
117141
this.regionId = builder.regionId;
142+
this.relationshipTypes = builder.relationshipTypes;
118143
}
119144

120145
public static Builder builder() {
@@ -158,6 +183,20 @@ public String getEmbeddingModel() {
158183
return this.embeddingModel;
159184
}
160185

186+
/**
187+
* @return enableGraph
188+
*/
189+
public Boolean getEnableGraph() {
190+
return this.enableGraph;
191+
}
192+
193+
/**
194+
* @return entityTypes
195+
*/
196+
public java.util.List<String> getEntityTypes() {
197+
return this.entityTypes;
198+
}
199+
161200
/**
162201
* @return externalStorage
163202
*/
@@ -186,6 +225,20 @@ public Integer getHnswM() {
186225
return this.hnswM;
187226
}
188227

228+
/**
229+
* @return LLMModel
230+
*/
231+
public String getLLMModel() {
232+
return this.LLMModel;
233+
}
234+
235+
/**
236+
* @return language
237+
*/
238+
public String getLanguage() {
239+
return this.language;
240+
}
241+
189242
/**
190243
* @return managerAccount
191244
*/
@@ -256,15 +309,26 @@ public String getRegionId() {
256309
return this.regionId;
257310
}
258311

312+
/**
313+
* @return relationshipTypes
314+
*/
315+
public java.util.List<String> getRelationshipTypes() {
316+
return this.relationshipTypes;
317+
}
318+
259319
public static final class Builder extends Request.Builder<CreateDocumentCollectionRequest, Builder> {
260320
private String collection;
261321
private String DBInstanceId;
262322
private Integer dimension;
263323
private String embeddingModel;
324+
private Boolean enableGraph;
325+
private java.util.List<String> entityTypes;
264326
private Integer externalStorage;
265327
private String fullTextRetrievalFields;
266328
private String hnswEfConstruction;
267329
private Integer hnswM;
330+
private String LLMModel;
331+
private String language;
268332
private String managerAccount;
269333
private String managerAccountPassword;
270334
private String metadata;
@@ -275,6 +339,7 @@ public static final class Builder extends Request.Builder<CreateDocumentCollecti
275339
private String parser;
276340
private Integer pqEnable;
277341
private String regionId;
342+
private java.util.List<String> relationshipTypes;
278343

279344
private Builder() {
280345
super();
@@ -286,10 +351,14 @@ private Builder(CreateDocumentCollectionRequest request) {
286351
this.DBInstanceId = request.DBInstanceId;
287352
this.dimension = request.dimension;
288353
this.embeddingModel = request.embeddingModel;
354+
this.enableGraph = request.enableGraph;
355+
this.entityTypes = request.entityTypes;
289356
this.externalStorage = request.externalStorage;
290357
this.fullTextRetrievalFields = request.fullTextRetrievalFields;
291358
this.hnswEfConstruction = request.hnswEfConstruction;
292359
this.hnswM = request.hnswM;
360+
this.LLMModel = request.LLMModel;
361+
this.language = request.language;
293362
this.managerAccount = request.managerAccount;
294363
this.managerAccountPassword = request.managerAccountPassword;
295364
this.metadata = request.metadata;
@@ -300,6 +369,7 @@ private Builder(CreateDocumentCollectionRequest request) {
300369
this.parser = request.parser;
301370
this.pqEnable = request.pqEnable;
302371
this.regionId = request.regionId;
372+
this.relationshipTypes = request.relationshipTypes;
303373
}
304374

305375
/**
@@ -388,6 +458,25 @@ public Builder embeddingModel(String embeddingModel) {
388458
return this;
389459
}
390460

461+
/**
462+
* EnableGraph.
463+
*/
464+
public Builder enableGraph(Boolean enableGraph) {
465+
this.putQueryParameter("EnableGraph", enableGraph);
466+
this.enableGraph = enableGraph;
467+
return this;
468+
}
469+
470+
/**
471+
* EntityTypes.
472+
*/
473+
public Builder entityTypes(java.util.List<String> entityTypes) {
474+
String entityTypesShrink = shrink(entityTypes, "EntityTypes", "json");
475+
this.putQueryParameter("EntityTypes", entityTypesShrink);
476+
this.entityTypes = entityTypes;
477+
return this;
478+
}
479+
391480
/**
392481
* <p>Specifies whether to use the memory mapping technology to create HNSW indexes. Valid values: 0 and 1. Default value: 0. We recommend that you set the value to 1 in scenarios that require upload speed but not data deletion.</p>
393482
* <blockquote>
@@ -454,6 +543,24 @@ public Builder hnswM(Integer hnswM) {
454543
return this;
455544
}
456545

546+
/**
547+
* LLMModel.
548+
*/
549+
public Builder LLMModel(String LLMModel) {
550+
this.putQueryParameter("LLMModel", LLMModel);
551+
this.LLMModel = LLMModel;
552+
return this;
553+
}
554+
555+
/**
556+
* Language.
557+
*/
558+
public Builder language(String language) {
559+
this.putQueryParameter("Language", language);
560+
this.language = language;
561+
return this;
562+
}
563+
457564
/**
458565
* <p>The name of the manager account that has the rds_superuser permission.</p>
459566
* <blockquote>
@@ -597,6 +704,16 @@ public Builder regionId(String regionId) {
597704
return this;
598705
}
599706

707+
/**
708+
* RelationshipTypes.
709+
*/
710+
public Builder relationshipTypes(java.util.List<String> relationshipTypes) {
711+
String relationshipTypesShrink = shrink(relationshipTypes, "RelationshipTypes", "json");
712+
this.putQueryParameter("RelationshipTypes", relationshipTypesShrink);
713+
this.relationshipTypes = relationshipTypes;
714+
return this;
715+
}
716+
600717
@Override
601718
public CreateDocumentCollectionRequest build() {
602719
return new CreateDocumentCollectionRequest(this);

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,9 @@ public static class DBInstanceAttribute extends TeaModel {
314314
@com.aliyun.core.annotation.NameInMap("ExpireTime")
315315
private String expireTime;
316316

317+
@com.aliyun.core.annotation.NameInMap("GraphEngineStatus")
318+
private String graphEngineStatus;
319+
317320
@com.aliyun.core.annotation.NameInMap("HostType")
318321
private String hostType;
319322

@@ -468,6 +471,7 @@ private DBInstanceAttribute(Builder builder) {
468471
this.engine = builder.engine;
469472
this.engineVersion = builder.engineVersion;
470473
this.expireTime = builder.expireTime;
474+
this.graphEngineStatus = builder.graphEngineStatus;
471475
this.hostType = builder.hostType;
472476
this.idleTime = builder.idleTime;
473477
this.instanceNetworkType = builder.instanceNetworkType;
@@ -709,6 +713,13 @@ public String getExpireTime() {
709713
return this.expireTime;
710714
}
711715

716+
/**
717+
* @return graphEngineStatus
718+
*/
719+
public String getGraphEngineStatus() {
720+
return this.graphEngineStatus;
721+
}
722+
712723
/**
713724
* @return hostType
714725
*/
@@ -1031,6 +1042,7 @@ public static final class Builder {
10311042
private String engine;
10321043
private String engineVersion;
10331044
private String expireTime;
1045+
private String graphEngineStatus;
10341046
private String hostType;
10351047
private Integer idleTime;
10361048
private String instanceNetworkType;
@@ -1105,6 +1117,7 @@ private Builder(DBInstanceAttribute model) {
11051117
this.engine = model.engine;
11061118
this.engineVersion = model.engineVersion;
11071119
this.expireTime = model.expireTime;
1120+
this.graphEngineStatus = model.graphEngineStatus;
11081121
this.hostType = model.hostType;
11091122
this.idleTime = model.idleTime;
11101123
this.instanceNetworkType = model.instanceNetworkType;
@@ -1493,6 +1506,14 @@ public Builder expireTime(String expireTime) {
14931506
return this;
14941507
}
14951508

1509+
/**
1510+
* GraphEngineStatus.
1511+
*/
1512+
public Builder graphEngineStatus(String graphEngineStatus) {
1513+
this.graphEngineStatus = graphEngineStatus;
1514+
return this;
1515+
}
1516+
14961517
/**
14971518
* <p>Compute group machine type, with the following values:</p>
14981519
* <ul>

0 commit comments

Comments
 (0)