Skip to content

Commit 18d891d

Browse files
committed
add rowset schema definitions based on MS-SSAS v20251031 and fix old
Signed-off-by: Stefan Bischof <stbischof@bipolis.org>
1 parent 7029e31 commit 18d891d

File tree

61 files changed

+12648
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+12648
-24
lines changed

.markdownlint.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"MD024": false
3+
}

api/src/main/java/org/eclipse/daanse/xmla/api/discover/mdschema/actions/MdSchemaActionsResponseRow.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public interface MdSchemaActionsResponseRow {
3737
/**
3838
* @return The name of the cube.
3939
*/
40-
String cubeName();
40+
Optional<String> cubeName();
4141

4242
/**
4343
* @return The name of this action.
@@ -58,7 +58,7 @@ public interface MdSchemaActionsResponseRow {
5858
* in which the action is performed. The COORDINATE MUST resolve to the object specified in
5959
* COORDINATE_TYPE.
6060
*/
61-
String coordinate();
61+
Optional<String> coordinate();
6262

6363
/**
6464
* @return An enumeration that specifies how the COORDINATE restriction column is interpreted. The
@@ -67,7 +67,7 @@ public interface MdSchemaActionsResponseRow {
6767
* coordinate refers to a member. 5 - Action coordinate refers to a set. 6 - Action
6868
* coordinate refers to a cell.
6969
*/
70-
CoordinateTypeEnum coordinateType();
70+
Optional<CoordinateTypeEnum> coordinateType();
7171

7272
/**
7373
* @return The caption for the action. The action name is used if no caption was specified and no

client/soapmessage/src/main/java/org/eclipse/daanse/xmla/client/soapmessage/Convertor.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -845,9 +845,9 @@ static List<MdSchemaActionsResponseRow> convertToMdSchemaActionsResponseRow(SOAP
845845
return l.stream()
846846
.map(m -> (MdSchemaActionsResponseRow) new MdSchemaActionsResponseRowR(
847847
Optional.ofNullable(m.get(CATALOG_NAME)), Optional.ofNullable(m.get(SCHEMA_NAME)),
848-
m.get(CUBE_NAME), Optional.ofNullable(m.get(ACTION_NAME)),
849-
Optional.ofNullable(ActionTypeEnum.fromValue(m.get(ACTION_TYPE))), m.get(COORDINATE),
850-
CoordinateTypeEnum.fromValue(m.get(COORDINATE_TYPE)),
848+
Optional.ofNullable(m.get(CUBE_NAME)), Optional.ofNullable(m.get(ACTION_NAME)),
849+
Optional.ofNullable(ActionTypeEnum.fromValue(m.get(ACTION_TYPE))), Optional.ofNullable(m.get(COORDINATE)),
850+
Optional.ofNullable(CoordinateTypeEnum.fromValue(m.get(COORDINATE_TYPE))),
851851
Optional.ofNullable(m.get(ACTION_CAPTION)), Optional.ofNullable(m.get(DESCRIPTION_UC)),
852852
Optional.ofNullable(m.get(CONTENT_UC)), Optional.ofNullable(m.get(APPLICATION)),
853853
Optional.ofNullable(InvocationEnum.fromValue(m.get(INVOCATION)))))

0 commit comments

Comments
 (0)