|
25 | 25 | import org.jkiss.dbeaver.model.DBPDataSource; |
26 | 26 | import org.jkiss.dbeaver.model.DBPDataSourceContainer; |
27 | 27 | import org.jkiss.dbeaver.model.DBUtils; |
28 | | -import org.jkiss.dbeaver.model.data.DBDAttributeBinding; |
29 | | -import org.jkiss.dbeaver.model.data.DBDResultSetDataProvider; |
30 | | -import org.jkiss.dbeaver.model.data.DBDRowIdentifier; |
31 | | -import org.jkiss.dbeaver.model.data.DBDValueRow; |
| 28 | +import org.jkiss.dbeaver.model.data.*; |
32 | 29 | import org.jkiss.dbeaver.model.data.hints.DBDValueHintContext; |
33 | 30 | import org.jkiss.dbeaver.model.exec.DBCExecutionContext; |
34 | 31 | import org.jkiss.dbeaver.model.struct.DBSEntity; |
@@ -122,9 +119,14 @@ public Object getCellValue( |
122 | 119 | @NotNull DBDAttributeBinding attribute, |
123 | 120 | @NotNull DBDValueRow row, |
124 | 121 | @Nullable int[] rowIndexes, |
| 122 | + @Nullable ResultSetValuePath valuePath, |
125 | 123 | boolean retrieveDeepestCollectionElement |
126 | 124 | ) throws DBWebException { |
127 | | - return DBUtils.getAttributeValue(attribute, getAttributes(), row.getValues()); |
| 125 | + if (valuePath != null) { |
| 126 | + return DBUtils.getRowValueByPath(row, valuePath); |
| 127 | + } else { |
| 128 | + return DBUtils.getAttributeValue(attribute, getAttributes(), row.getValues()); |
| 129 | + } |
128 | 130 | } |
129 | 131 |
|
130 | 132 | @Nullable |
|
0 commit comments