Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-server
Merge requests
!111
Release 0.12.1
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Release 0.12.1
release-0.12.1
into
main
Overview
0
Commits
18
Pipelines
2
Changes
1
Merged
Timm Fitschen
requested to merge
release-0.12.1
into
main
1 year ago
Overview
0
Commits
18
Pipelines
2
Changes
1
0
0
Merge request reports
Viewing commit
41cbc567
Prev
Next
Show latest version
1 file
+
10
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Verified
41cbc567
DOC: add class docs to Query class
· 41cbc567
Timm Fitschen
authored
1 year ago
src/main/java/org/caosdb/server/query/Query.java
+
10
−
3
View file @ 41cbc567
Edit in single-file editor
Open in Web IDE
Show full file
@@ -72,14 +72,21 @@ import org.caosdb.server.permissions.EntityPermission;
import
org.caosdb.server.query.CQLParser.CqContext
;
import
org.caosdb.server.query.CQLParsingErrorListener.ParsingError
;
import
org.caosdb.server.transaction.EntityTransactionInterface
;
import
org.caosdb.server.transaction.Retrieve
;
import
org.caosdb.server.transaction.Transaction
;
import
org.caosdb.server.transaction.WriteTransaction
;
import
org.jdom2.Element
;
import
org.slf4j.Logger
;
// TODO Document: The query is initialized with a RetrieveTransaction and its
// Container. The container is filled by the Query with the resulting IDs. The
// Retrieve transaction then handles the retrieve of all respective Entities.
/**
* This class represents a single, complete Query execution from the parsing of the query string to
* the resulting list of entity ids.
*
* <p>This class handles caching of queries and checking retrieve permissions as well. It does not,
* however, retrieve the resulting entities; this is handled by the {@link Retrieve} class.
*
* @author Timm Fitschen <t.fitschen@indiscale.com>
*/
public
class
Query
implements
QueryInterface
,
ToElementable
,
EntityTransactionInterface
{
/** Class which represents the selection of (sub)properties. */
Loading