Skip to content

Commit

Permalink
feat: Move time-based fragmentation to dedicated bucketizer
Browse files Browse the repository at this point in the history
  • Loading branch information
smessie committed Jul 9, 2024
1 parent bc34c14 commit 10c42ab
Show file tree
Hide file tree
Showing 5 changed files with 122 additions and 515 deletions.
17 changes: 9 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@
],
"license": "MIT",
"devDependencies": {
"@rdfc/js-runner": "^0.2.1",
"@jest/globals": "^29.7.0",
"@rdfc/js-runner": "^0.2.1",
"@types/n3": "^1.16.4",
"@types/node": "^20.14.2",
"mongodb-memory-server": "^9.3.0",
"typescript": "^5.4.5"
},
"dependencies": {
"@treecg/types": "^0.4.6",
"mongodb": "^6.7.0",
"mongodb": "^6.8.0",
"n3": "^1.17.3",
"winston": "^3.13.0"
}
Expand Down
30 changes: 0 additions & 30 deletions processor.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,6 @@ js:Ingest a js:JsProcess;
a fnom:PositionParameterMapping;
fnom:functionParameter "Database config";
fnom:implementationParameterPosition "2"^^xsd:int;
], [
a fnom:PositionParameterMapping;
fnom:functionParameter "Page Size";
fnom:implementationParameterPosition "3"^^xsd:int;
], [
a fnom:PositionParameterMapping;
fnom:functionParameter "Branch Size";
fnom:implementationParameterPosition "4"^^xsd:int;
], [
a fnom:PositionParameterMapping;
fnom:functionParameter "Min bucket span";
fnom:implementationParameterPosition "5"^^xsd:int;
];
].

Expand All @@ -93,23 +81,5 @@ js:Ingest a js:JsProcess;
sh:minCount 1;
sh:maxCount 1;
sh:name "Database config";
], [
sh:datatype xsd:integer;
sh:path js:pageSize;
sh:maxCount 1;
sh:defaultValue 100;
sh:name "Page Size";
], [
sh:datatype xsd:integer;
sh:path js:branchSize;
sh:maxCount 1;
sh:defaultValue 4;
sh:name "Branch Size";
], [
sh:datatype xsd:integer;
sh:path js:minBucketSpan;
sh:maxCount 1;
sh:defaultValue 300;
sh:name "Min bucket span";
].

Loading

0 comments on commit 10c42ab

Please sign in to comment.