Skip to content
Snippets Groups Projects

DRAFT: file system cleanup

Merged Timm Fitschen requested to merge f-filesystem-cleanup into f-filesystem-main
3 files
+ 22
24
Compare changes
  • Side-by-side
  • Inline

Files

+ 10
12
@@ -36,31 +36,29 @@ DELIMITER //
@@ -36,31 +36,29 @@ DELIMITER //
* versioned : boolean
* versioned : boolean
* If True, sourceSet and targetSet have an _iversion column, otherwise that column will be ignored
* If True, sourceSet and targetSet have an _iversion column, otherwise that column will be ignored
* (or only HEAD will be inserted into targetSet).
* (or only HEAD will be inserted into targetSet).
TODO description of sourceSet and targetSet is insufficient!
*/
*/
CREATE PROCEDURE db_5_0.applyPOV(in sourceSet VARCHAR(255), /* (?) Name of the table that the POV will be applied to. This can be a temporary table. */
CREATE PROCEDURE db_5_0.applyPOV(in sourceSet VARCHAR(255), /* Name of the table that the POV will be applied to. This can be a temporary table or the `entities` table */
in targetSet VARCHAR(255), /* (?) Name of the result table of this POV. */
in targetSet VARCHAR(255), /* Name of the result table of this POV. After the filter has been applied this table only contains matching
 
entity ids. This may be NULL or same as sourceSet. In that case the filter is applied in-place (delete non-matching). Otherwise the filter is applied by copying only the matching ids from the *source* set to the *target* set. */
in propertiesTable VARCHAR(255),
in propertiesTable VARCHAR(255),
in refIdsTable VARCHAR(255), /* (?) Name of a tmp table that contains all ids of children of the value interpreted as entity */
in refIdsTable VARCHAR(255), /* Name of a tmp table that contains all ids of children of the value interpreted as entity name or id */
in o CHAR(4), /* The operator for this operation. can be one of:
in o CHAR(4), /* The operator for this operation. can be one of:
0 check for "equals NULL"
0 check for "equals NULL"
!0 check for "not NULL"
!0 check for "not NULL"
-> check whether a reference exists
-> check whether a reference exists
( (?) check for datetime intervals
( check for datetime interval (say "in")
!( (?) check for being outside of datetime intervals
!( check for being outside of datetime intervals (say "not in")
other operators (all SQL operators (?))
other operators (all valid SQL operators)
these other operators can be used either with or without an aggregation
these other operators can be used either with or without an aggregation
to use an aggregation set agg to non-zero
to use an aggregation set agg to non-zero
all SQL aggregations can be used
all SQL aggregations can be used
*/
*/
in vText VARCHAR(255), /* (?) the text value to be checked against using operator o */
in vText VARCHAR(255), /* the text value to be checked against using operator o */
in vInt INT, /* the integer value to be checked against using operator o */
in vInt INT, /* the integer value to be checked against using operator o */
in vDouble DOUBLE, /* the double value to be checked against using operator o */
in vDouble DOUBLE, /* the double value to be checked against using operator o */
in unit_sig BIGINT,
in unit_sig BIGINT, /* signatur of the unit given by the user. used when we need to convert units. */
in vDoubleStdUnit DOUBLE, /* The numeric value, converted according to the unit rules. */
in vDoubleStdUnit DOUBLE, /* The numeric value, converted according to the unit rules. */
in stdUnit_sig BIGINT,
in stdUnit_sig BIGINT, /* signatur of the normalized/standardized unit, e.g when unit_sig is "km/h" this might be "m/s". */
in vDateTime VARCHAR(255),
in vDateTime VARCHAR(255),
in vDateTimeDotNotation VARCHAR(255),
in vDateTimeDotNotation VARCHAR(255),
in agg CHAR(3), /* an SQL aggregate function or NULL when no aggregation should be used */
in agg CHAR(3), /* an SQL aggregate function or NULL when no aggregation should be used */
Loading