total number rows returned as output for the result of the submit Query operation: SubmitQuery algorithm modified
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@101936 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
441aee5ecd
commit
228cca2546
|
@ -614,6 +614,13 @@ public class SubmitQuery extends StandardLocalExternalAlgorithm {
|
|||
mgt.getFile(), PrimitiveTypes.FILE, "File",
|
||||
"File");
|
||||
mapResults.put("File", fileResult);
|
||||
|
||||
// //to add the number of total rows for a result of a submit query operation
|
||||
PrimitiveType totalRows = new PrimitiveType(String.class.getName(),
|
||||
String.valueOf(mgt.getSubmitQueryTotalRows()), PrimitiveTypes.STRING, "Total Rows",
|
||||
"Total Rows");
|
||||
mapResults.put("Total Rows", totalRows);
|
||||
|
||||
}
|
||||
return mapResults;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue