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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-server
Commits
41cbc567
Verified
Commit
41cbc567
authored
1 year ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
DOC: add class docs to Query class
parent
0fc5f9ea
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!111
Release 0.12.1
,
!109
F select acl
Pipeline
#44634
failed
1 year ago
Stage: info
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/caosdb/server/query/Query.java
+10
-3
10 additions, 3 deletions
src/main/java/org/caosdb/server/query/Query.java
with
10 additions
and
3 deletions
src/main/java/org/caosdb/server/query/Query.java
+
10
−
3
View file @
41cbc567
...
...
@@ -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. */
...
...
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