Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
cef6a695
Commit
cef6a695
authored
14 years ago
by
tpylak
Browse files
Options
Downloads
Patches
Plain Diff
LMS-2162 rewrite the query so that it is 3 times faster
SVN: 20619
parent
eb177dc0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/dataaccess/IScreeningQuery.java
+11
-12
11 additions, 12 deletions
...s/plugin/screening/server/dataaccess/IScreeningQuery.java
with
11 additions
and
12 deletions
screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/dataaccess/IScreeningQuery.java
+
11
−
12
View file @
cef6a695
...
...
@@ -57,18 +57,17 @@ public interface IScreeningQuery extends BaseQuery
+
" well_material.id as material_content_id,"
+
" well_material.code as material_content_code,"
+
" well_material_type.code as material_content_type_code"
+
" from samples pl"
+
" join samples well on pl.id = well.samp_id_part_of"
+
" join experiments exp on pl.expe_id = exp.id"
+
" join experiment_types exp_type on exp.exty_id = exp_type.id"
+
" join projects on exp.proj_id = projects.id"
+
" join spaces on projects.space_id = spaces.id"
+
" join sample_types pl_type on pl.saty_id = pl_type.id"
+
" join sample_types well_type on well.saty_id = well_type.id"
+
" join sample_properties well_props on well.id = well_props.samp_id"
+
" join materials well_material on well_props.mate_prop_id = well_material.id"
+
" join material_types well_material_type on well_material.maty_id = well_material_type.id"
;
+
" from materials well_material "
+
" join sample_properties well_props on well_props.mate_prop_id = well_material.id"
+
" join samples well on well_props.samp_id = well.id"
+
" join samples pl on well.samp_id_part_of = pl.id"
+
" join experiments exp on pl.expe_id = exp.id "
+
" join experiment_types exp_type on exp.exty_id = exp_type.id "
+
" join projects on exp.proj_id = projects.id join spaces on projects.space_id = spaces.id "
+
" join sample_types pl_type on pl.saty_id = pl_type.id "
+
" join sample_types well_type on well.saty_id = well_type.id "
+
" join material_types well_material_type on well_material.maty_id = well_material_type.id"
;
/**
* @return well locations which belong to a parent plate connected to a specified experiment.
* Each well will have a material property (e.g. gene) with the specified id.
...
...
This diff is collapsed.
Click to expand it.
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