Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Commits
4ad6189a
Commit
4ad6189a
authored
Jun 29, 2021
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
maybe eager loading for table columns
parent
24d02aee
No related branches found
No related tags found
3 merge requests
!81
New stable release
,
!43
Merge dev to master
,
!23
Sprint results
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
fda-table-service/services/src/main/java/at/tuwien/service/TableService.java
+3
-1
3 additions, 1 deletion
...ervices/src/main/java/at/tuwien/service/TableService.java
with
3 additions
and
1 deletion
fda-table-service/services/src/main/java/at/tuwien/service/TableService.java
+
3
−
1
View file @
4ad6189a
...
@@ -225,7 +225,9 @@ public class TableService {
...
@@ -225,7 +225,9 @@ public class TableService {
// TODO ms what is this for? It does ony print to stdout
// TODO ms what is this for? It does ony print to stdout
public
QueryResultDto
showData
(
Long
databaseId
,
Long
tableId
)
throws
ImageNotSupportedException
,
public
QueryResultDto
showData
(
Long
databaseId
,
Long
tableId
)
throws
ImageNotSupportedException
,
DatabaseNotFoundException
,
TableNotFoundException
,
DatabaseConnectionException
,
DataProcessingException
{
DatabaseNotFoundException
,
TableNotFoundException
,
DatabaseConnectionException
,
DataProcessingException
{
QueryResultDto
queryResult
=
postgresService
.
getAllRows
(
findDatabase
(
databaseId
),
findById
(
databaseId
,
tableId
));
final
Table
tmpTable
=
findById
(
databaseId
,
tableId
);
log
.
debug
(
"=================> {}"
,
tmpTable
);
QueryResultDto
queryResult
=
postgresService
.
getAllRows
(
findDatabase
(
databaseId
),
tmpTable
);
for
(
Map
<
String
,
Object
>
m
:
queryResult
.
getResult
())
{
for
(
Map
<
String
,
Object
>
m
:
queryResult
.
getResult
())
{
for
(
Map
.
Entry
<
String
,
Object
>
entry
:
m
.
entrySet
())
{
for
(
Map
.
Entry
<
String
,
Object
>
entry
:
m
.
entrySet
())
{
log
.
debug
(
"{}: {}"
,
entry
.
getKey
(),
entry
.
getValue
());
log
.
debug
(
"{}: {}"
,
entry
.
getKey
(),
entry
.
getValue
());
...
...
This diff is collapsed.
Click to expand it.
Martin Weise
@mweise
mentioned in commit
49a60b31
·
Jul 1, 2021
mentioned in commit
49a60b31
mentioned in commit 49a60b314ac8db93fe6e809faa4d6b52a8e55f23
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment