Skip to content

Commit 0bc1411

Browse files
committed
Release Aspose.Cells Cloud SDK 24.6.0
1 parent 7796ff7 commit 0bc1411

30 files changed

+502
-480
lines changed
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
package com.aspose.cloud.cells.api;
2+
3+
import com.aspose.cloud.cells.client.*;
4+
import com.aspose.cloud.cells.model.*;
5+
import com.aspose.cloud.cells.request.*;
6+
7+
import org.junit.Test;
8+
import java.util.ArrayList;
9+
import java.util.List;
10+
import java.io.File;
11+
import java.util.HashMap;
12+
13+
public class ExamplePostDataTransformation {
14+
private CellsApi api;
15+
public ExamplePostDataTransformation(){
16+
try {
17+
api = new CellsApi(
18+
System.getenv("CellsCloudClientId"),
19+
System.getenv("CellsCloudClientSecret"),
20+
"v3.0",
21+
System.getenv("CellsCloudApiBaseUrl")
22+
);
23+
} catch (ApiException e) {
24+
e.printStackTrace();
25+
}
26+
}
27+
28+
public void Run(){
29+
try{
30+
String remoteFolder = "TestData/In";
31+
32+
String localName = "BookTableL2W.xlsx";
33+
String remoteName = "BookTableL2W.xlsx";
34+
35+
UploadFileRequest uploadFileRequest = new UploadFileRequest();
36+
uploadFileRequest.setPath( remoteFolder + "/" + remoteName );
37+
uploadFileRequest.setStorageName( "");
38+
HashMap<String,File> files = new HashMap<String,File>();
39+
files.put( localName , new File(localName ));
40+
uploadFileRequest.setUploadFiles(files);
41+
cellsApi.uploadFile(uploadFileRequest);
42+
43+
PostDataTransformationRequest request = new PostDataTransformationRequest();
44+
DataTransformationRequest dataTransformationRequest = new DataTransformationRequest();
45+
LoadData loadData = new LoadData();
46+
LoadTo loadTo = new LoadTo();
47+
loadTo.setBeginColumnIndex(2);
48+
49+
50+
loadTo.setBeginRowIndex(3);
51+
52+
53+
loadTo.setWorksheet("L2W");
54+
55+
loadData.setLoadTo(loadTo);
56+
57+
58+
DataQuery dataQuery = new DataQuery();
59+
dataQuery.setName("DataQuery");
60+
61+
62+
DataItem dataItem = new DataItem();
63+
dataItem.setDataItemType("Table");
64+
65+
66+
dataItem.setValue("Table1");
67+
68+
dataQuery.setDataItem(dataItem);
69+
70+
71+
DataSource dataSource = new DataSource();
72+
dataSource.setDataSourceType("CloudFileSystem");
73+
74+
75+
dataSource.setDataPath("BookTableL2W.xlsx");
76+
77+
dataQuery.setDataSource(dataSource);
78+
79+
80+
dataQuery.setDataSourceDataType("ListObject");
81+
82+
loadData.setDataQuery(dataQuery);
83+
84+
dataTransformationRequest.setLoadData(loadData);
85+
86+
87+
ArrayList<AppliedStep> dataTransformationRequestAppliedSteps = new ArrayList<AppliedStep>();
88+
dataTransformationRequest.setAppliedSteps(dataTransformationRequestAppliedSteps);
89+
90+
request.setDataTransformationRequest(dataTransformationRequest);
91+
92+
this.api.postDataTransformation(request);
93+
94+
} catch (ApiException e) {
95+
// TODO Auto-generated catch block
96+
e.printStackTrace();
97+
}
98+
}
99+
}

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-java)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-java/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-java/24.5)
1+
![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-java)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-java/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-java/24.6)
22

33
# Java package for Aspose.Cells Cloud
44

@@ -17,13 +17,12 @@ Enhance your Java applications with the [Aspose.Cells Cloud](https://products.as
1717
- Import/Export: Facilitates importing data from various sources into spreadsheets and exporting spreadsheet data to other formats.
1818
- Security Management: Offers a range of security features like data encryption, access control, and permission management to safeguard the security and integrity of spreadsheet data.
1919

20-
## Feature & Enhancements in Version 24.5
20+
## Feature & Enhancements in Version 24.6
2121

2222
Full list of issues covering all changes in this release:
2323

24-
- Add merge queries method for loading data of data transformation.
25-
- Optimize chart data model.
26-
- Update obtaining access token address.
24+
- Optimize the data conversion applied steps.
25+
- Optimize load data function of data transformation.
2726

2827
## Support file format
2928

@@ -112,6 +111,12 @@ File response = cellsApi.putConvertWorkbook(request);
112111

113112
# Release history version
114113

114+
## Enhancements in Version 24.5
115+
116+
- Add merge queries method for loading data of data transformation.
117+
- Optimize chart data model.
118+
- Update obtaining access token address.
119+
115120
## Enhancements in Version 24.4
116121

117122
- Support data transformation function for Aspose.Cells Cloud Services.

TestData/BookTableL2W.xlsx

16.2 KB
Binary file not shown.

docs/model/abstract-calculation-monitor.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Monitor for user to track the progress of formula calculation.
66

77
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
88
| :- | :- | :- |:- | :- | :- |
9-
|OriginalValue|Class|true|false | |Gets the old value of the calculated cell. Should be used only in and . |
10-
|ValueChanged|Boolean|true|false | |Whether the cell's value has been changed after the calculation. Should be used only in . |
11-
|CalculatedValue|Class|true|false | |Gets the newly calculated value of the cell. Should be used only in . |
9+
|OriginalValue|Class|true|false | |Gets the old value of the calculated cell. Should be used only in and . |
10+
|ValueChanged|Boolean|true|false | |Whether the cell's value has been changed after the calculation. Should be used only in . |
11+
|CalculatedValue|Class|true|false | |Gets the newly calculated value of the cell. Should be used only in . |
1212

docs/model/query-data-source-data-type.md renamed to docs/model/applied-operate-type.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# **queryDataSourceDataType**
1+
# **appliedOperateType**
22

3-
3+
Operation type.
44

55
## **Properties**
66

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
# **queryDataSource**
1+
# **appliedOperate**
22

3-
3+
A data operation that is used to obtain a query of data.
44

55
## **Properties**
66

77
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
88
| :- | :- | :- |:- | :- | :- |
9-
|DataSourceDataType|String|true|false | ||
10-
|DataFile|Class|true|false | ||
11-
|DataSource|String|true|false | ||
9+
|AppliedOperateType|String|true|false | ||
1210

docs/model/applied-step.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# **appliedStep**
2+
3+
Each data manipulation step that is performed when you get the query data.
4+
5+
## **Properties**
6+
7+
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
8+
| :- | :- | :- |:- | :- | :- |
9+
|StepName|String|true|false | |Data manipulation step name.|
10+
|AppliedOperate|Class|true|false | |Data manipulation name.|
11+

docs/model/data-query.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# **dataQuery**
2+
3+
Data query.
4+
5+
## **Properties**
6+
7+
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
8+
| :- | :- | :- |:- | :- | :- |
9+
|Name|String|true|false | |Define a name for data query. Unique identification.|
10+
|DataSourceDataType|String|true|false | |The specific data object type. When the value is File, DataItem is invalid.|
11+
|DataSource|Class|true|false | |Indicates the source of the mount data.|
12+
|FileInfo|Class|true|false | |When data souce is request files, FileInfo store the contents of the file.|
13+
|DataItem|Class|true|false | |The specific data object type and name.|
14+
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# **dataTransformationRequest**
22

3-
3+
Data Transformation Request
44

55
## **Properties**
66

77
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
88
| :- | :- | :- |:- | :- | :- |
9-
|FileInfo|Class|true|false | ||
10-
|Transformation|Class|true|false | ||
11-
|LoadData|Class|true|false | ||
9+
|FileInfo|Class|true|false | |Indicates the source of the mount data.|
10+
|DataSource|Class|true|false | |Indicates the source of the mount data.|
11+
|LoadData|Class|true|false | |Indicates load data.|
12+
|AppliedSteps|Container|true|false | |Indicates applied step list. |
1213
|Region|String|true|false | ||
13-
|OutFormat|String|true|false | ||
14+
|OutFormat|String|true|false | |Indicates output format |
1415

docs/model/join-type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# **joinType**
22

3-
3+
Join Type.
44

55
## **Properties**
66

0 commit comments

Comments
 (0)