Skip to content
Snippets Groups Projects

Release 0.12.1

Merged Timm Fitschen requested to merge release-0.12.1 into main
1 file
+ 10
3
Compare changes
  • Side-by-side
  • Inline
@@ -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