You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@texera.apache.org by yi...@apache.org on 2026/03/02 09:16:52 UTC
(texera) branch port-based-workflow-exp updated (92f0c305e9 -> e256c8213a)
This is an automated email from the ASF dual-hosted git repository.
yiconghuang pushed a change to branch port-based-workflow-exp
in repository https://gitbox.apache.org/repos/asf/texera.git
discard 92f0c305e9 Move and expand compiler README
discard 4c78e08305 Explain udf compiler use cases
discard 09f6a8cdb0 test(python_compiling_service): add two-input auto-cut regression cases
discard d4896a054c chore(python_compiling_service): add canonical good use case and clean module boundaries
discard abe184e2bd refactor(python_compiling_service): modularize compiler and align service architecture
discard 56fde499dc Merge remote-tracking branch 'origin/port-based-workflow-exp-staging' into port-based-workflow-exp
discard ebc6ccbf64 exp
omit ed08375a2e add cpu profiler
omit cd55c142ca Revert "no hard code value"
omit e92a3d1587 no hard code value
omit f3a28969d6 update cu master image
omit 6324ff260d add initializer timer
omit 9a2ec3198d fix java udf
omit 20c9667648 Revert "remove the control message"
omit f03044f41f remove the control message
omit a9e4258495 add profilers and memory keeper
omit 32f7741602 add cuid to the frontend execution request
omit 460e000749 enable the execution tracking
omit 0bb7911654 Revert "improve the process_tuple"
omit 1678566b6d add flow control var to helm chart
omit 2a0e2e209c add flow control env var to cu manager
omit 0cd4118279 reduce the logs
omit 6c18b3bf5d improve the process_tuple
omit c66e7f8eff add the hardcode for worker config
omit 587fb510ca change the state loading
omit e3671a102d remove the log
omit bcb5af98e3 Revert "Revert "remove hard code value""
omit 692299daa8 remove python path
omit 13ff171a2e make cu master also launch the udf service
omit 4d81712c42 Revert "remove hard code value"
omit 79beec5293 Merge branch 'refs/heads/port-based-workflow-exp' into port-based-workflow-exp-staging
omit 3b8e8183cb remove hard code value
omit 8cdeeab1b4 support multiple output ports
omit 04fc0922e3 Merge branch 'port-based-workflow-exp' into port-based-workflow-exp-staging
omit 5ec0a7d851 add loop transfomer
omit 273633f86e Merge branch 'port-based-workflow-exp' into port-based-workflow-exp-staging
omit 17c32d2ca1 Revert "remove the calling"
omit 4cccb88303 take line number from comment
omit acd8a2c3fb add udf_compiling_service.py
omit ae865ee398 add support for UDFGeneralOperator
omit ff7024b3cc save the hard code values
omit 80aa3fcaa2 save gui change
omit 19b79d7a6f save gui change
omit bc580d7138 force the user system
omit 0ca691ed8e remove the calling
omit c9f2037807 exp
omit c425e3c72d update
omit e92c4650ba Update WorkerExecutionCompletedHandler.scala
omit 32973eaaf8 Update WorkerExecutionCompletedHandler.scala
omit ea5262c63c update
omit 74048a42f9 add python compiling service codebase
omit 2753edb794 update
omit 402b38f064 update
omit 4f650234ca wip
new e256c8213a squash: consolidate port-based-workflow-exp changes since main
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (92f0c305e9)
\
N -- N -- N refs/heads/port-based-workflow-exp (e256c8213a)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
core/python_compiling_service/README.md | 1 +
core/python_compiling_service/docs/architecture.md | 2 +
.../src/compiler/__init__.py | 2 +
.../src/compiler/baseline.py | 1 +
.../src/compiler/facade.py | 2 +
.../src/compiler/models.py | 2 +
.../src/compiler/orchestrator.py | 8 ++
.../src/compiler/pipeline.py | 2 +
.../src/compiler/port_coloring.py | 28 +++++
core/python_compiling_service/src/port_detector.py | 121 +++++++++++++++++++++
.../tests/test_compiler_facade.py | 1 +
.../tests/test_compiler_orchestrator.py | 6 +
.../tests/test_compiler_port_coloring.py | 25 +++++
13 files changed, 201 insertions(+)
create mode 100644 core/python_compiling_service/src/compiler/port_coloring.py
create mode 100644 core/python_compiling_service/tests/test_compiler_port_coloring.py
(texera) 01/01: squash: consolidate port-based-workflow-exp changes since main
Posted by yi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
yiconghuang pushed a commit to branch port-based-workflow-exp
in repository https://gitbox.apache.org/repos/asf/texera.git
commit e256c8213a73c8be0fd78bbf19f174cea1c2d88d
Author: Yicong Huang <17...@users.noreply.github.com>
AuthorDate: Mon Mar 2 01:15:27 2026 -0800
squash: consolidate port-based-workflow-exp changes since main
---
.gitignore | 14 +
.python-version | 1 +
asf.py | 157 +++
.../texera/dao/jooq/generated/DefaultCatalog.java | 54 +
.../org/apache/texera/dao/jooq/generated/Keys.java | 144 +++
.../apache/texera/dao/jooq/generated/Tables.java | 170 ++++
.../apache/texera/dao/jooq/generated/TexeraDb.java | 228 +++++
.../dao/jooq/generated/enums/ActionEnum.java | 59 ++
.../dao/jooq/generated/enums/PrivilegeEnum.java | 57 ++
.../dao/jooq/generated/enums/UserRoleEnum.java | 59 ++
.../enums/WorkflowComputingUnitTypeEnum.java | 55 +
.../generated/tables/ComputingUnitUserAccess.java | 175 ++++
.../texera/dao/jooq/generated/tables/Dataset.java | 190 ++++
.../jooq/generated/tables/DatasetUserAccess.java | 172 ++++
.../jooq/generated/tables/DatasetUserLikes.java | 166 +++
.../dao/jooq/generated/tables/DatasetVersion.java | 180 ++++
.../jooq/generated/tables/DatasetViewCount.java | 155 +++
.../jooq/generated/tables/OperatorExecutions.java | 169 +++
.../generated/tables/OperatorPortExecutions.java | 168 +++
.../texera/dao/jooq/generated/tables/Project.java | 185 ++++
.../jooq/generated/tables/ProjectUserAccess.java | 172 ++++
.../dao/jooq/generated/tables/PublicProject.java | 153 +++
.../dao/jooq/generated/tables/SiteSettings.java | 145 +++
.../texera/dao/jooq/generated/tables/User.java | 193 ++++
.../dao/jooq/generated/tables/UserAction.java | 186 ++++
.../dao/jooq/generated/tables/UserConfig.java | 158 +++
.../jooq/generated/tables/UserLastActiveTime.java | 156 +++
.../texera/dao/jooq/generated/tables/Workflow.java | 166 +++
.../generated/tables/WorkflowComputingUnit.java | 174 ++++
.../jooq/generated/tables/WorkflowExecutions.java | 247 +++++
.../jooq/generated/tables/WorkflowOfProject.java | 166 +++
.../dao/jooq/generated/tables/WorkflowOfUser.java | 164 +++
.../jooq/generated/tables/WorkflowUserAccess.java | 172 ++++
.../jooq/generated/tables/WorkflowUserClones.java | 166 +++
.../jooq/generated/tables/WorkflowUserLikes.java | 166 +++
.../dao/jooq/generated/tables/WorkflowVersion.java | 170 ++++
.../jooq/generated/tables/WorkflowViewCount.java | 155 +++
.../tables/daos/ComputingUnitUserAccessDao.java | 86 ++
.../dao/jooq/generated/tables/daos/DatasetDao.java | 175 ++++
.../tables/daos/DatasetUserAccessDao.java | 86 ++
.../generated/tables/daos/DatasetUserLikesDao.java | 70 ++
.../generated/tables/daos/DatasetVersionDao.java | 145 +++
.../generated/tables/daos/DatasetViewCountDao.java | 84 ++
.../tables/daos/OperatorExecutionsDao.java | 100 ++
.../tables/daos/OperatorPortExecutionsDao.java | 100 ++
.../dao/jooq/generated/tables/daos/ProjectDao.java | 145 +++
.../tables/daos/ProjectUserAccessDao.java | 86 ++
.../generated/tables/daos/PublicProjectDao.java | 84 ++
.../generated/tables/daos/SiteSettingsDao.java | 115 +++
.../jooq/generated/tables/daos/UserActionDao.java | 161 +++
.../jooq/generated/tables/daos/UserConfigDao.java | 85 ++
.../dao/jooq/generated/tables/daos/UserDao.java | 219 ++++
.../tables/daos/UserLastActiveTimeDao.java | 85 ++
.../tables/daos/WorkflowComputingUnitDao.java | 176 ++++
.../jooq/generated/tables/daos/WorkflowDao.java | 160 +++
.../tables/daos/WorkflowExecutionsDao.java | 265 +++++
.../tables/daos/WorkflowOfProjectDao.java | 70 ++
.../generated/tables/daos/WorkflowOfUserDao.java | 70 ++
.../tables/daos/WorkflowUserAccessDao.java | 86 ++
.../tables/daos/WorkflowUserClonesDao.java | 70 ++
.../tables/daos/WorkflowUserLikesDao.java | 70 ++
.../generated/tables/daos/WorkflowVersionDao.java | 115 +++
.../tables/daos/WorkflowViewCountDao.java | 84 ++
.../interfaces/IComputingUnitUserAccess.java | 63 ++
.../jooq/generated/tables/interfaces/IDataset.java | 112 ++
.../tables/interfaces/IDatasetUserAccess.java | 63 ++
.../tables/interfaces/IDatasetUserLikes.java | 51 +
.../tables/interfaces/IDatasetVersion.java | 92 ++
.../tables/interfaces/IDatasetViewCount.java | 51 +
.../tables/interfaces/IOperatorExecutions.java | 77 ++
.../tables/interfaces/IOperatorPortExecutions.java | 75 ++
.../jooq/generated/tables/interfaces/IProject.java | 92 ++
.../tables/interfaces/IProjectUserAccess.java | 63 ++
.../tables/interfaces/IPublicProject.java | 51 +
.../generated/tables/interfaces/ISiteSettings.java | 72 ++
.../jooq/generated/tables/interfaces/IUser.java | 124 +++
.../generated/tables/interfaces/IUserAction.java | 104 ++
.../generated/tables/interfaces/IUserConfig.java | 61 ++
.../tables/interfaces/IUserLastActiveTime.java | 52 +
.../generated/tables/interfaces/IWorkflow.java | 102 ++
.../tables/interfaces/IWorkflowComputingUnit.java | 114 +++
.../tables/interfaces/IWorkflowExecutions.java | 174 ++++
.../tables/interfaces/IWorkflowOfProject.java | 51 +
.../tables/interfaces/IWorkflowOfUser.java | 51 +
.../tables/interfaces/IWorkflowUserAccess.java | 63 ++
.../tables/interfaces/IWorkflowUserClones.java | 51 +
.../tables/interfaces/IWorkflowUserLikes.java | 51 +
.../tables/interfaces/IWorkflowVersion.java | 72 ++
.../tables/interfaces/IWorkflowViewCount.java | 51 +
.../tables/pojos/ComputingUnitUserAccess.java | 117 +++
.../dao/jooq/generated/tables/pojos/Dataset.java | 228 +++++
.../generated/tables/pojos/DatasetUserAccess.java | 117 +++
.../generated/tables/pojos/DatasetUserLikes.java | 94 ++
.../generated/tables/pojos/DatasetVersion.java | 184 ++++
.../generated/tables/pojos/DatasetViewCount.java | 94 ++
.../generated/tables/pojos/OperatorExecutions.java | 144 +++
.../tables/pojos/OperatorPortExecutions.java | 142 +++
.../dao/jooq/generated/tables/pojos/Project.java | 184 ++++
.../generated/tables/pojos/ProjectUserAccess.java | 117 +++
.../jooq/generated/tables/pojos/PublicProject.java | 94 ++
.../jooq/generated/tables/pojos/SiteSettings.java | 140 +++
.../dao/jooq/generated/tables/pojos/User.java | 251 +++++
.../jooq/generated/tables/pojos/UserAction.java | 207 ++++
.../jooq/generated/tables/pojos/UserConfig.java | 116 +++
.../generated/tables/pojos/UserLastActiveTime.java | 96 ++
.../dao/jooq/generated/tables/pojos/Workflow.java | 206 ++++
.../tables/pojos/WorkflowComputingUnit.java | 229 +++++
.../generated/tables/pojos/WorkflowExecutions.java | 362 +++++++
.../generated/tables/pojos/WorkflowOfProject.java | 94 ++
.../generated/tables/pojos/WorkflowOfUser.java | 94 ++
.../generated/tables/pojos/WorkflowUserAccess.java | 117 +++
.../generated/tables/pojos/WorkflowUserClones.java | 94 ++
.../generated/tables/pojos/WorkflowUserLikes.java | 94 ++
.../generated/tables/pojos/WorkflowVersion.java | 140 +++
.../generated/tables/pojos/WorkflowViewCount.java | 94 ++
.../records/ComputingUnitUserAccessRecord.java | 218 ++++
.../generated/tables/records/DatasetRecord.java | 424 ++++++++
.../tables/records/DatasetUserAccessRecord.java | 218 ++++
.../tables/records/DatasetUserLikesRecord.java | 175 ++++
.../tables/records/DatasetVersionRecord.java | 342 +++++++
.../tables/records/DatasetViewCountRecord.java | 176 ++++
.../tables/records/OperatorExecutionsRecord.java | 264 +++++
.../records/OperatorPortExecutionsRecord.java | 262 +++++
.../generated/tables/records/ProjectRecord.java | 342 +++++++
.../tables/records/ProjectUserAccessRecord.java | 218 ++++
.../tables/records/PublicProjectRecord.java | 176 ++++
.../tables/records/SiteSettingsRecord.java | 260 +++++
.../generated/tables/records/UserActionRecord.java | 384 +++++++
.../generated/tables/records/UserConfigRecord.java | 217 ++++
.../tables/records/UserLastActiveTimeRecord.java | 178 ++++
.../jooq/generated/tables/records/UserRecord.java | 466 +++++++++
.../records/WorkflowComputingUnitRecord.java | 425 ++++++++
.../tables/records/WorkflowExecutionsRecord.java | 672 ++++++++++++
.../tables/records/WorkflowOfProjectRecord.java | 175 ++++
.../tables/records/WorkflowOfUserRecord.java | 175 ++++
.../generated/tables/records/WorkflowRecord.java | 383 +++++++
.../tables/records/WorkflowUserAccessRecord.java | 218 ++++
.../tables/records/WorkflowUserClonesRecord.java | 175 ++++
.../tables/records/WorkflowUserLikesRecord.java | 175 ++++
.../tables/records/WorkflowVersionRecord.java | 260 +++++
.../tables/records/WorkflowViewCountRecord.java | 176 ++++
core/amber/aggreagate_timestamp.py | 64 ++
core/amber/build.sbt | 4 +
core/amber/cpu_profiler.py | 92 ++
core/amber/memory_profiler.py | 142 +++
.../handlers/control/assign_port_handler.py | 3 +
.../control/initialize_executor_handler.py | 42 +
.../handlers/control/open_executor_handler.py | 3 +-
.../core/architecture/managers/executor_manager.py | 40 +-
.../managers/tuple_processing_manager.py | 8 +-
.../core/architecture/packaging/input_manager.py | 26 +-
.../core/architecture/packaging/output_manager.py | 40 +-
core/amber/src/main/python/core/models/__init__.py | 2 +
.../src/main/python/core/models/internal_marker.py | 10 +-
core/amber/src/main/python/core/models/operator.py | 76 +-
.../main/python/core/models/test_RTableExecutor.py | 1076 ++++++++++----------
core/amber/src/main/python/core/python_worker.py | 22 +-
.../main/python/core/runnables/data_processor.py | 74 +-
.../src/main/python/core/runnables/main_loop.py | 123 ++-
.../main/python/core/storage/document_factory.py | 4 +
.../stoppable/stoppable_queue_blocking_thread.py | 2 +-
core/amber/src/main/python/pyamber/__init__.py | 2 +
core/amber/src/main/python/pytexera/__init__.py | 2 +
.../src/main/python/pytexera/udf/udf_operator.py | 38 +-
core/amber/src/main/resources/application.conf | 4 +-
.../resources/computing-unit-master-config.yml | 4 +-
.../src/main/resources/python-worker-count.txt | 1 +
core/amber/src/main/resources/udf.conf | 4 +-
.../common/AkkaActorRefMappingService.scala | 7 +-
.../controller/execution/RegionExecution.scala | 17 +-
.../promisehandlers/PortCompletedHandler.scala | 58 +-
.../QueryWorkerStatisticsHandler.scala | 7 +-
.../promisehandlers/StartWorkflowHandler.scala | 2 +-
.../WorkerExecutionCompletedHandler.scala | 33 +-
.../scheduling/CostBasedScheduleGenerator.scala | 4 +-
.../scheduling/RegionExecutionCoordinator.scala | 74 +-
.../scheduling/WorkflowExecutionCoordinator.scala | 27 +-
.../scheduling/config/WorkerConfig.scala | 35 +-
.../resourcePolicies/ResourceAllocator.scala | 2 +-
.../worker/promisehandlers/AssignPortHandler.scala | 1 +
.../InitializeExecutorHandler.scala | 1 +
.../web/service/ExecutionResultService.scala | 16 -
.../uci/ics/texera/workflow/WorkflowCompiler.scala | 34 +
.../resource/ComputingUnitManagingResource.scala | 6 +
.../workflow-execution-history.component.ts | 21 +-
.../workflow-executions.service.ts | 12 +-
core/gui/src/environments/environment.default.ts | 10 +-
core/python_compiling_service/.gitignore | 4 +
core/python_compiling_service/README.md | 128 +++
core/python_compiling_service/docs/architecture.md | 84 ++
.../python_compiling_service/docs/good_use_case.md | 48 +
.../examples/good_use_case.py | 33 +
.../examples/udf_compiler_demo.py | 106 ++
core/python_compiling_service/requirements.txt | 8 +
core/python_compiling_service/src/__init__.py | 1 +
.../src/compiler/__init__.py | 79 ++
.../src/compiler/baseline.py | 78 ++
.../src/compiler/common.py | 23 +
.../src/compiler/config.py | 18 +
.../src/compiler/cut_strategy.py | 56 +
.../src/compiler/dependency_graph.py | 444 ++++++++
.../src/compiler/facade.py | 79 ++
.../python_compiling_service/src/compiler/graph.py | 343 +++++++
.../src/compiler/models.py | 41 +
.../src/compiler/orchestrator.py | 58 ++
.../src/compiler/pipeline.py | 89 ++
.../src/compiler/port_coloring.py | 28 +
.../src/compiler/preprocessing.py | 90 ++
.../src/compiler/splitter.py | 431 ++++++++
.../src/compiler/ssa_core.py | 222 ++++
.../src/compiler/ssa_transform.py | 100 ++
.../src/compiler/type_inference.py | 146 +++
.../src/compiler/use_cases.py | 21 +
.../src/loop_transformer.py | 372 +++++++
core/python_compiling_service/src/port_detector.py | 312 ++++++
.../python_compiling_service/src/port_optimizer.py | 443 ++++++++
.../src/udf_compiling_service.py | 159 +++
.../tests/golden/auto_three_inputs.json | 22 +
.../tests/golden/auto_two_inputs.json | 23 +
.../tests/golden/baseline_two_inputs.json | 11 +
.../tests/inputs/auto_three_inputs.py | 7 +
.../tests/inputs/auto_two_inputs.py | 8 +
.../tests/inputs/baseline_two_inputs.py | 7 +
.../tests/test1/expected_output.py | 24 +
core/python_compiling_service/tests/test1/input.py | 28 +
.../tests/test1/port_config.json | 7 +
.../tests/test2/expected_output.py | 14 +
core/python_compiling_service/tests/test2/input.py | 28 +
.../tests/test2/port_config.json | 7 +
.../tests/test_auto_cut_two_input_cases.py | 80 ++
.../python_compiling_service/tests/test_compile.py | 77 ++
.../tests/test_compile_golden.py | 79 ++
.../tests/test_compiler_baseline.py | 23 +
.../tests/test_compiler_common.py | 24 +
.../tests/test_compiler_config.py | 18 +
.../tests/test_compiler_cut_strategy.py | 43 +
.../tests/test_compiler_dependency_graph.py | 42 +
.../tests/test_compiler_facade.py | 27 +
.../tests/test_compiler_facade_cache.py | 73 ++
.../tests/test_compiler_graph.py | 117 +++
.../tests/test_compiler_orchestrator.py | 80 ++
.../tests/test_compiler_pipeline.py | 92 ++
.../tests/test_compiler_port_coloring.py | 25 +
.../tests/test_compiler_preprocessing.py | 49 +
.../tests/test_compiler_splitter.py | 76 ++
.../tests/test_compiler_ssa_core.py | 60 ++
.../tests/test_compiler_ssa_transform.py | 22 +
.../tests/test_compiler_type_inference.py | 34 +
.../tests/test_good_use_case.py | 30 +
.../tests/test_port_optimizer.py | 60 ++
.../tests/test_service_api.py | 85 ++
core/workflow-core/src/main/resources/storage.conf | 14 +-
.../core/executor/JavaRuntimeCompilation.scala | 2 +-
.../uci/ics/amber/core/tuple/AttributeType.java | 1 -
.../edu/uci/ics/amber/core/tuple/Schema.scala | 9 +
.../uci/ics/amber/core/workflow/PhysicalOp.scala | 9 +-
.../amber/operator/udf/java/JavaUDFOpDesc.scala | 6 +-
.../operator/udf/python/PythonUDFOpDescV2.scala | 89 +-
deployment/computing-unit-master.dockerfile | 34 +-
deployment/k8s/texera-helmchart/values.yaml | 4 +
project/build.properties | 1 +
pyright-language-service/.yarn/install-state.gz | Bin 0 -> 140199 bytes
pyright-language-service/.yarnrc.yml | 1 +
263 files changed, 28431 insertions(+), 905 deletions(-)
diff --git a/.gitignore b/.gitignore
index 627c56f087..2230427d39 100644
--- a/.gitignore
+++ b/.gitignore
@@ -125,3 +125,17 @@ values-*.yaml # Any environment-specific value overrides
# Ignore nested node modules
**/node_modules/
**/package-lock.json
+
+# Local frontend build/cache artifacts (top-level frontend workspace)
+frontend/.angular/
+frontend/.nx/
+frontend/dist/
+frontend/dist-server/
+frontend/tmp/
+frontend/out-tsc/
+frontend/src/environments/version.ts
+frontend/.pnp.*
+frontend/.yarn/install-state.gz
+
+# Local amber debug artifact
+amber/physicalPlan.json
diff --git a/.python-version b/.python-version
new file mode 100644
index 0000000000..e4fba21835
--- /dev/null
+++ b/.python-version
@@ -0,0 +1 @@
+3.12
diff --git a/asf.py b/asf.py
new file mode 100644
index 0000000000..f39a2b6bd4
--- /dev/null
+++ b/asf.py
@@ -0,0 +1,157 @@
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+
+import sys
+import yaml
+from pathlib import Path
+from typing import Any, Dict, List, Optional
+
+# ---- Helpers to format/validate the branch protection payload ----
+
+
+def format_required_status_checks(obj: Any) -> Optional[Dict[str, Any]]:
+ """
+ Accepts the value under github.protected_branches.<branch>.required_status_checks
+ and normalizes it to the GitHub API shape expected by Infra (strict + checks[]).
+ Mirrors the intent of Infra's formatProtectedBranchRequiredStatusChecks().
+ """
+ if isinstance(obj, dict):
+ contexts = obj.get("contexts", [])
+ checks = obj.get("checks", [])
+
+ if contexts:
+ if not isinstance(contexts, list) or not all(
+ isinstance(x, str) for x in contexts
+ ):
+ raise AssertionError("`contexts` must be a list of strings")
+ # Convert old-style string contexts -> list of dicts with {context, app_id}
+ checks = [{"context": ctx, "app_id": -1} for ctx in contexts]
+ else:
+ if checks:
+ if not isinstance(checks, list):
+ raise AssertionError("`checks` must be a list")
+ for chk in checks:
+ if not isinstance(chk, dict):
+ raise AssertionError("`checks` must be a list of objects")
+ if not isinstance(chk.get("context"), str):
+ raise AssertionError("`checks[*].context` must be a string")
+ if "app_id" in chk and not isinstance(chk["app_id"], int):
+ raise AssertionError(
+ "`checks[*].app_id` must be an int if present"
+ )
+
+ return {"strict": bool(obj.get("strict", False)), "checks": checks or []}
+
+ # Explicit None is allowed (means “no required checks”)
+ if obj is None:
+ return None
+
+ # Anything else is invalid → treat as None
+ return None
+
+
+def extract_required_contexts(parsed: Dict[str, Any]) -> Dict[str, List[str]]:
+ """
+ Returns a dict: {branch: [required context strings ...]} for quick inspection.
+ Works with both old 'contexts' list and new 'checks' list.
+ """
+ out: Dict[str, List[str]] = {}
+ gh = (parsed or {}).get("github") or {}
+ pb = gh.get("protected_branches") or {}
+ if not isinstance(pb, dict):
+ return out
+
+ for branch, settings in pb.items():
+ if not isinstance(settings, dict):
+ continue
+ rsc = settings.get("required_status_checks", {})
+ if rsc is None:
+ out[branch] = []
+ continue
+ contexts = []
+ if isinstance(rsc, dict):
+ if isinstance(rsc.get("contexts"), list):
+ # old style: list of strings
+ contexts = [str(x) for x in rsc["contexts"]]
+ elif isinstance(rsc.get("checks"), list):
+ # new style: list of dicts
+ for chk in rsc["checks"]:
+ if isinstance(chk, dict) and isinstance(chk.get("context"), str):
+ contexts.append(chk["context"])
+ out[branch] = contexts
+ return out
+
+
+# ---- YAML parsing with good error messages ----
+
+
+def load_yaml(path: Path) -> Dict[str, Any]:
+ try:
+ text = path.read_text(encoding="utf-8")
+ except FileNotFoundError:
+ sys.exit(f"ERROR: file not found: {path}")
+
+ try:
+ data = yaml.safe_load(text) or {}
+ if not isinstance(data, dict):
+ raise yaml.YAMLError("Top-level YAML must be a mapping (dictionary).")
+ return data
+ except yaml.YAMLError as exc:
+ # Pinpoint line/column and show context
+ if hasattr(exc, "problem_mark") and exc.problem_mark:
+ mark = exc.problem_mark
+ line_no = mark.line + 1
+ col_no = mark.column + 1
+ print(
+ f"YAML parse error at line {line_no}, column {col_no}:", file=sys.stderr
+ )
+ print(exc, file=sys.stderr)
+
+ # Print a few lines around the error for fast debugging
+ lines = text.splitlines()
+ idx = (
+ getattr(exc, "problem_mark", None).line
+ if hasattr(exc, "problem_mark") and exc.problem_mark
+ else 0
+ )
+ start = max(0, idx - 3)
+ end = min(len(lines), idx + 4)
+ width = len(str(end))
+ for i in range(start, end):
+ pointer = ">>" if i == idx else " "
+ print(f"{pointer} {str(i+1).rjust(width)} | {lines[i]}", file=sys.stderr)
+ sys.exit(2)
+
+
+def main(argv: List[str]) -> None:
+ path = Path(argv[1] if len(argv) > 1 else ".asf.yaml")
+ data = load_yaml(path)
+ print(f"Loaded {path} OK.")
+
+ # Optional: normalize each branch's required_status_checks and report
+ gh = data.get("github") or {}
+ pb = gh.get("protected_branches") or {}
+ if isinstance(pb, dict):
+ print("\n[github.protected_branches] required_status_checks summary:")
+ for branch, settings in pb.items():
+ if not isinstance(settings, dict):
+ continue
+ rsc_raw = settings.get("required_status_checks")
+ rsc = format_required_status_checks(rsc_raw)
+ strict = (rsc or {}).get("strict", False) if rsc is not None else False
+ checks = (rsc or {}).get("checks", []) if rsc is not None else []
+ contexts = [c["context"] for c in checks] if checks else []
+ print(f" - {branch}: strict={strict}, contexts={contexts}")
+
+ # Quick convenience output (old/new styles unified)
+ ctxs = extract_required_contexts(data)
+ if ctxs:
+ print("\n[contexts by branch]")
+ for br, lst in ctxs.items():
+ print(f" {br}:")
+ for c in lst:
+ print(f" - {c}")
+
+
+if __name__ == "__main__":
+ main(sys.argv)
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/DefaultCatalog.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/DefaultCatalog.java
new file mode 100644
index 0000000000..1d94291ae5
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/DefaultCatalog.java
@@ -0,0 +1,54 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated;
+
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.jooq.Constants;
+import org.jooq.Schema;
+import org.jooq.impl.CatalogImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class DefaultCatalog extends CatalogImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>DEFAULT_CATALOG</code>
+ */
+ public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog();
+
+ /**
+ * The schema <code>texera_db</code>.
+ */
+ public final TexeraDb TEXERA_DB = TexeraDb.TEXERA_DB;
+
+ /**
+ * No further instances allowed
+ */
+ private DefaultCatalog() {
+ super("");
+ }
+
+ @Override
+ public final List<Schema> getSchemas() {
+ return Arrays.asList(
+ TexeraDb.TEXERA_DB
+ );
+ }
+
+ /**
+ * A reference to the 3.16 minor release of the code generator. If this
+ * doesn't compile, it's because the runtime library uses an older minor
+ * release, namely: 3.16. You can turn off the generation of this reference
+ * by specifying /configuration/generator/generate/jooqVersionReference
+ */
+ private static final String REQUIRE_RUNTIME_JOOQ_VERSION = Constants.VERSION_3_16;
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/Keys.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/Keys.java
new file mode 100644
index 0000000000..6068f91991
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/Keys.java
@@ -0,0 +1,144 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated;
+
+
+import org.apache.texera.dao.jooq.generated.tables.ComputingUnitUserAccess;
+import org.apache.texera.dao.jooq.generated.tables.Dataset;
+import org.apache.texera.dao.jooq.generated.tables.DatasetUserAccess;
+import org.apache.texera.dao.jooq.generated.tables.DatasetUserLikes;
+import org.apache.texera.dao.jooq.generated.tables.DatasetVersion;
+import org.apache.texera.dao.jooq.generated.tables.DatasetViewCount;
+import org.apache.texera.dao.jooq.generated.tables.OperatorExecutions;
+import org.apache.texera.dao.jooq.generated.tables.OperatorPortExecutions;
+import org.apache.texera.dao.jooq.generated.tables.Project;
+import org.apache.texera.dao.jooq.generated.tables.ProjectUserAccess;
+import org.apache.texera.dao.jooq.generated.tables.PublicProject;
+import org.apache.texera.dao.jooq.generated.tables.SiteSettings;
+import org.apache.texera.dao.jooq.generated.tables.User;
+import org.apache.texera.dao.jooq.generated.tables.UserAction;
+import org.apache.texera.dao.jooq.generated.tables.UserConfig;
+import org.apache.texera.dao.jooq.generated.tables.UserLastActiveTime;
+import org.apache.texera.dao.jooq.generated.tables.Workflow;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowComputingUnit;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowExecutions;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowOfProject;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowOfUser;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowUserAccess;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowUserClones;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowUserLikes;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowVersion;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowViewCount;
+import org.apache.texera.dao.jooq.generated.tables.records.ComputingUnitUserAccessRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.DatasetRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.DatasetUserAccessRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.DatasetUserLikesRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.DatasetVersionRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.DatasetViewCountRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.OperatorExecutionsRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.OperatorPortExecutionsRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.ProjectRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.ProjectUserAccessRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.PublicProjectRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.SiteSettingsRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.UserActionRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.UserConfigRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.UserLastActiveTimeRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.UserRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowComputingUnitRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowExecutionsRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowOfProjectRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowOfUserRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowUserAccessRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowUserClonesRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowUserLikesRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowVersionRecord;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowViewCountRecord;
+import org.jooq.ForeignKey;
+import org.jooq.TableField;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.Internal;
+
+
+/**
+ * A class modelling foreign key relationships and constraints of tables in
+ * texera_db.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Keys {
+
+ // -------------------------------------------------------------------------
+ // UNIQUE and PRIMARY KEY definitions
+ // -------------------------------------------------------------------------
+
+ public static final UniqueKey<ComputingUnitUserAccessRecord> COMPUTING_UNIT_USER_ACCESS_PKEY = Internal.createUniqueKey(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS, DSL.name("computing_unit_user_access_pkey"), new TableField[] { ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.CUID, ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.UID }, true);
+ public static final UniqueKey<DatasetRecord> DATASET_PKEY = Internal.createUniqueKey(Dataset.DATASET, DSL.name("dataset_pkey"), new TableField[] { Dataset.DATASET.DID }, true);
+ public static final UniqueKey<DatasetUserAccessRecord> DATASET_USER_ACCESS_PKEY = Internal.createUniqueKey(DatasetUserAccess.DATASET_USER_ACCESS, DSL.name("dataset_user_access_pkey"), new TableField[] { DatasetUserAccess.DATASET_USER_ACCESS.DID, DatasetUserAccess.DATASET_USER_ACCESS.UID }, true);
+ public static final UniqueKey<DatasetUserLikesRecord> DATASET_USER_LIKES_PKEY = Internal.createUniqueKey(DatasetUserLikes.DATASET_USER_LIKES, DSL.name("dataset_user_likes_pkey"), new TableField[] { DatasetUserLikes.DATASET_USER_LIKES.UID, DatasetUserLikes.DATASET_USER_LIKES.DID }, true);
+ public static final UniqueKey<DatasetVersionRecord> DATASET_VERSION_PKEY = Internal.createUniqueKey(DatasetVersion.DATASET_VERSION, DSL.name("dataset_version_pkey"), new TableField[] { DatasetVersion.DATASET_VERSION.DVID }, true);
+ public static final UniqueKey<DatasetViewCountRecord> DATASET_VIEW_COUNT_PKEY = Internal.createUniqueKey(DatasetViewCount.DATASET_VIEW_COUNT, DSL.name("dataset_view_count_pkey"), new TableField[] { DatasetViewCount.DATASET_VIEW_COUNT.DID }, true);
+ public static final UniqueKey<OperatorExecutionsRecord> OPERATOR_EXECUTIONS_PKEY = Internal.createUniqueKey(OperatorExecutions.OPERATOR_EXECUTIONS, DSL.name("operator_executions_pkey"), new TableField[] { OperatorExecutions.OPERATOR_EXECUTIONS.WORKFLOW_EXECUTION_ID, OperatorExecutions.OPERATOR_EXECUTIONS.OPERATOR_ID }, true);
+ public static final UniqueKey<OperatorPortExecutionsRecord> OPERATOR_PORT_EXECUTIONS_PKEY = Internal.createUniqueKey(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS, DSL.name("operator_port_executions_pkey"), new TableField[] { OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.WORKFLOW_EXECUTION_ID, OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.GLOBAL_PORT_ID }, true);
+ public static final UniqueKey<ProjectRecord> PROJECT_OWNER_ID_NAME_KEY = Internal.createUniqueKey(Project.PROJECT, DSL.name("project_owner_id_name_key"), new TableField[] { Project.PROJECT.OWNER_ID, Project.PROJECT.NAME }, true);
+ public static final UniqueKey<ProjectRecord> PROJECT_PKEY = Internal.createUniqueKey(Project.PROJECT, DSL.name("project_pkey"), new TableField[] { Project.PROJECT.PID }, true);
+ public static final UniqueKey<ProjectUserAccessRecord> PROJECT_USER_ACCESS_PKEY = Internal.createUniqueKey(ProjectUserAccess.PROJECT_USER_ACCESS, DSL.name("project_user_access_pkey"), new TableField[] { ProjectUserAccess.PROJECT_USER_ACCESS.UID, ProjectUserAccess.PROJECT_USER_ACCESS.PID }, true);
+ public static final UniqueKey<PublicProjectRecord> PUBLIC_PROJECT_PKEY = Internal.createUniqueKey(PublicProject.PUBLIC_PROJECT, DSL.name("public_project_pkey"), new TableField[] { PublicProject.PUBLIC_PROJECT.PID }, true);
+ public static final UniqueKey<SiteSettingsRecord> SITE_SETTINGS_PKEY = Internal.createUniqueKey(SiteSettings.SITE_SETTINGS, DSL.name("site_settings_pkey"), new TableField[] { SiteSettings.SITE_SETTINGS.KEY }, true);
+ public static final UniqueKey<UserRecord> USER_EMAIL_KEY = Internal.createUniqueKey(User.USER, DSL.name("user_email_key"), new TableField[] { User.USER.EMAIL }, true);
+ public static final UniqueKey<UserRecord> USER_GOOGLE_ID_KEY = Internal.createUniqueKey(User.USER, DSL.name("user_google_id_key"), new TableField[] { User.USER.GOOGLE_ID }, true);
+ public static final UniqueKey<UserRecord> USER_PKEY = Internal.createUniqueKey(User.USER, DSL.name("user_pkey"), new TableField[] { User.USER.UID }, true);
+ public static final UniqueKey<UserActionRecord> USER_ACTION_PKEY = Internal.createUniqueKey(UserAction.USER_ACTION, DSL.name("user_action_pkey"), new TableField[] { UserAction.USER_ACTION.USER_ACTION_ID }, true);
+ public static final UniqueKey<UserConfigRecord> USER_CONFIG_PKEY = Internal.createUniqueKey(UserConfig.USER_CONFIG, DSL.name("user_config_pkey"), new TableField[] { UserConfig.USER_CONFIG.UID, UserConfig.USER_CONFIG.KEY }, true);
+ public static final UniqueKey<UserLastActiveTimeRecord> USER_LAST_ACTIVE_TIME_PKEY = Internal.createUniqueKey(UserLastActiveTime.USER_LAST_ACTIVE_TIME, DSL.name("user_last_active_time_pkey"), new TableField[] { UserLastActiveTime.USER_LAST_ACTIVE_TIME.UID }, true);
+ public static final UniqueKey<WorkflowRecord> WORKFLOW_PKEY = Internal.createUniqueKey(Workflow.WORKFLOW, DSL.name("workflow_pkey"), new TableField[] { Workflow.WORKFLOW.WID }, true);
+ public static final UniqueKey<WorkflowComputingUnitRecord> WORKFLOW_COMPUTING_UNIT_PKEY = Internal.createUniqueKey(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT, DSL.name("workflow_computing_unit_pkey"), new TableField[] { WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CUID }, true);
+ public static final UniqueKey<WorkflowExecutionsRecord> WORKFLOW_EXECUTIONS_PKEY = Internal.createUniqueKey(WorkflowExecutions.WORKFLOW_EXECUTIONS, DSL.name("workflow_executions_pkey"), new TableField[] { WorkflowExecutions.WORKFLOW_EXECUTIONS.EID }, true);
+ public static final UniqueKey<WorkflowOfProjectRecord> WORKFLOW_OF_PROJECT_PKEY = Internal.createUniqueKey(WorkflowOfProject.WORKFLOW_OF_PROJECT, DSL.name("workflow_of_project_pkey"), new TableField[] { WorkflowOfProject.WORKFLOW_OF_PROJECT.WID, WorkflowOfProject.WORKFLOW_OF_PROJECT.PID }, true);
+ public static final UniqueKey<WorkflowOfUserRecord> WORKFLOW_OF_USER_PKEY = Internal.createUniqueKey(WorkflowOfUser.WORKFLOW_OF_USER, DSL.name("workflow_of_user_pkey"), new TableField[] { WorkflowOfUser.WORKFLOW_OF_USER.UID, WorkflowOfUser.WORKFLOW_OF_USER.WID }, true);
+ public static final UniqueKey<WorkflowUserAccessRecord> WORKFLOW_USER_ACCESS_PKEY = Internal.createUniqueKey(WorkflowUserAccess.WORKFLOW_USER_ACCESS, DSL.name("workflow_user_access_pkey"), new TableField[] { WorkflowUserAccess.WORKFLOW_USER_ACCESS.UID, WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID }, true);
+ public static final UniqueKey<WorkflowUserClonesRecord> WORKFLOW_USER_CLONES_PKEY = Internal.createUniqueKey(WorkflowUserClones.WORKFLOW_USER_CLONES, DSL.name("workflow_user_clones_pkey"), new TableField[] { WorkflowUserClones.WORKFLOW_USER_CLONES.UID, WorkflowUserClones.WORKFLOW_USER_CLONES.WID }, true);
+ public static final UniqueKey<WorkflowUserLikesRecord> WORKFLOW_USER_LIKES_PKEY = Internal.createUniqueKey(WorkflowUserLikes.WORKFLOW_USER_LIKES, DSL.name("workflow_user_likes_pkey"), new TableField[] { WorkflowUserLikes.WORKFLOW_USER_LIKES.UID, WorkflowUserLikes.WORKFLOW_USER_LIKES.WID }, true);
+ public static final UniqueKey<WorkflowVersionRecord> WORKFLOW_VERSION_PKEY = Internal.createUniqueKey(WorkflowVersion.WORKFLOW_VERSION, DSL.name("workflow_version_pkey"), new TableField[] { WorkflowVersion.WORKFLOW_VERSION.VID }, true);
+ public static final UniqueKey<WorkflowViewCountRecord> WORKFLOW_VIEW_COUNT_PKEY = Internal.createUniqueKey(WorkflowViewCount.WORKFLOW_VIEW_COUNT, DSL.name("workflow_view_count_pkey"), new TableField[] { WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID }, true);
+
+ // -------------------------------------------------------------------------
+ // FOREIGN KEY definitions
+ // -------------------------------------------------------------------------
+
+ public static final ForeignKey<ComputingUnitUserAccessRecord, WorkflowComputingUnitRecord> COMPUTING_UNIT_USER_ACCESS__COMPUTING_UNIT_USER_ACCESS_CUID_FKEY = Internal.createForeignKey(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS, DSL.name("computing_unit_user_access_cuid_fkey"), new TableField[] { ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.CUID }, Keys.WORKFLOW_COMPUTING_UNIT_PKEY, new TableField[] { WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CUID }, true);
+ public static final ForeignKey<ComputingUnitUserAccessRecord, UserRecord> COMPUTING_UNIT_USER_ACCESS__COMPUTING_UNIT_USER_ACCESS_UID_FKEY = Internal.createForeignKey(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS, DSL.name("computing_unit_user_access_uid_fkey"), new TableField[] { ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true);
+ public static final ForeignKey<DatasetRecord, UserRecord> DATASET__DATASET_OWNER_UID_FKEY = Internal.createForeignKey(Dataset.DATASET, DSL.name("dataset_owner_uid_fkey"), new TableField[] { Dataset.DATASET.OWNER_UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true);
+ public static final ForeignKey<DatasetUserAccessRecord, DatasetRecord> DATASET_USER_ACCESS__DATASET_USER_ACCESS_DID_FKEY = Internal.createForeignKey(DatasetUserAccess.DATASET_USER_ACCESS, DSL.name("dataset_user_access_did_fkey"), new TableField[] { DatasetUserAccess.DATASET_USER_ACCESS.DID }, Keys.DATASET_PKEY, new TableField[] { Dataset.DATASET.DID }, true);
+ public static final ForeignKey<DatasetUserAccessRecord, UserRecord> DATASET_USER_ACCESS__DATASET_USER_ACCESS_UID_FKEY = Internal.createForeignKey(DatasetUserAccess.DATASET_USER_ACCESS, DSL.name("dataset_user_access_uid_fkey"), new TableField[] { DatasetUserAccess.DATASET_USER_ACCESS.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true);
+ public static final ForeignKey<DatasetUserLikesRecord, DatasetRecord> DATASET_USER_LIKES__DATASET_USER_LIKES_DID_FKEY = Internal.createForeignKey(DatasetUserLikes.DATASET_USER_LIKES, DSL.name("dataset_user_likes_did_fkey"), new TableField[] { DatasetUserLikes.DATASET_USER_LIKES.DID }, Keys.DATASET_PKEY, new TableField[] { Dataset.DATASET.DID }, true);
+ public static final ForeignKey<DatasetUserLikesRecord, UserRecord> DATASET_USER_LIKES__DATASET_USER_LIKES_UID_FKEY = Internal.createForeignKey(DatasetUserLikes.DATASET_USER_LIKES, DSL.name("dataset_user_likes_uid_fkey"), new TableField[] { DatasetUserLikes.DATASET_USER_LIKES.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true);
+ public static final ForeignKey<DatasetVersionRecord, DatasetRecord> DATASET_VERSION__DATASET_VERSION_DID_FKEY = Internal.createForeignKey(DatasetVersion.DATASET_VERSION, DSL.name("dataset_version_did_fkey"), new TableField[] { DatasetVersion.DATASET_VERSION.DID }, Keys.DATASET_PKEY, new TableField[] { Dataset.DATASET.DID }, true);
+ public static final ForeignKey<DatasetViewCountRecord, DatasetRecord> DATASET_VIEW_COUNT__DATASET_VIEW_COUNT_DID_FKEY = Internal.createForeignKey(DatasetViewCount.DATASET_VIEW_COUNT, DSL.name("dataset_view_count_did_fkey"), new TableField[] { DatasetViewCount.DATASET_VIEW_COUNT.DID }, Keys.DATASET_PKEY, new TableField[] { Dataset.DATASET.DID }, true);
+ public static final ForeignKey<OperatorExecutionsRecord, WorkflowExecutionsRecord> OPERATOR_EXECUTIONS__OPERATOR_EXECUTIONS_WORKFLOW_EXECUTION_ID_FKEY = Internal.createForeignKey(OperatorExecutions.OPERATOR_EXECUTIONS, DSL.name("operator_executions_workflow_execution_id_fkey"), new TableField[] { OperatorExecutions.OPERATOR_EXECUTIONS.WORKFLOW_EXECUTION_ID }, Keys.WORKFLOW_EXECUTIONS_PKEY, new TableField[] { WorkflowExecutions.WORKFLOW_EXECUTIONS.EID }, true);
+ public static final ForeignKey<OperatorPortExecutionsRecord, WorkflowExecutionsRecord> OPERATOR_PORT_EXECUTIONS__OPERATOR_PORT_EXECUTIONS_WORKFLOW_EXECUTION_ID_FKEY = Internal.createForeignKey(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS, DSL.name("operator_port_executions_workflow_execution_id_fkey"), new TableField[] { OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.WORKFLOW_EXECUTION_ID }, Keys.WORKFLOW_EXECUTIONS_PKEY, new TableField[] { WorkflowExecutions.WORKFLOW_EXECUTIONS. [...]
+ public static final ForeignKey<ProjectRecord, UserRecord> PROJECT__PROJECT_OWNER_ID_FKEY = Internal.createForeignKey(Project.PROJECT, DSL.name("project_owner_id_fkey"), new TableField[] { Project.PROJECT.OWNER_ID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true);
+ public static final ForeignKey<ProjectUserAccessRecord, ProjectRecord> PROJECT_USER_ACCESS__PROJECT_USER_ACCESS_PID_FKEY = Internal.createForeignKey(ProjectUserAccess.PROJECT_USER_ACCESS, DSL.name("project_user_access_pid_fkey"), new TableField[] { ProjectUserAccess.PROJECT_USER_ACCESS.PID }, Keys.PROJECT_PKEY, new TableField[] { Project.PROJECT.PID }, true);
+ public static final ForeignKey<ProjectUserAccessRecord, UserRecord> PROJECT_USER_ACCESS__PROJECT_USER_ACCESS_UID_FKEY = Internal.createForeignKey(ProjectUserAccess.PROJECT_USER_ACCESS, DSL.name("project_user_access_uid_fkey"), new TableField[] { ProjectUserAccess.PROJECT_USER_ACCESS.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true);
+ public static final ForeignKey<PublicProjectRecord, ProjectRecord> PUBLIC_PROJECT__PUBLIC_PROJECT_PID_FKEY = Internal.createForeignKey(PublicProject.PUBLIC_PROJECT, DSL.name("public_project_pid_fkey"), new TableField[] { PublicProject.PUBLIC_PROJECT.PID }, Keys.PROJECT_PKEY, new TableField[] { Project.PROJECT.PID }, true);
+ public static final ForeignKey<UserActionRecord, UserRecord> USER_ACTION__USER_ACTION_UID_FKEY = Internal.createForeignKey(UserAction.USER_ACTION, DSL.name("user_action_uid_fkey"), new TableField[] { UserAction.USER_ACTION.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true);
+ public static final ForeignKey<UserConfigRecord, UserRecord> USER_CONFIG__USER_CONFIG_UID_FKEY = Internal.createForeignKey(UserConfig.USER_CONFIG, DSL.name("user_config_uid_fkey"), new TableField[] { UserConfig.USER_CONFIG.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true);
+ public static final ForeignKey<UserLastActiveTimeRecord, UserRecord> USER_LAST_ACTIVE_TIME__USER_LAST_ACTIVE_TIME_UID_FKEY = Internal.createForeignKey(UserLastActiveTime.USER_LAST_ACTIVE_TIME, DSL.name("user_last_active_time_uid_fkey"), new TableField[] { UserLastActiveTime.USER_LAST_ACTIVE_TIME.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true);
+ public static final ForeignKey<WorkflowExecutionsRecord, WorkflowComputingUnitRecord> WORKFLOW_EXECUTIONS__WORKFLOW_EXECUTIONS_CUID_FKEY = Internal.createForeignKey(WorkflowExecutions.WORKFLOW_EXECUTIONS, DSL.name("workflow_executions_cuid_fkey"), new TableField[] { WorkflowExecutions.WORKFLOW_EXECUTIONS.CUID }, Keys.WORKFLOW_COMPUTING_UNIT_PKEY, new TableField[] { WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CUID }, true);
+ public static final ForeignKey<WorkflowExecutionsRecord, UserRecord> WORKFLOW_EXECUTIONS__WORKFLOW_EXECUTIONS_UID_FKEY = Internal.createForeignKey(WorkflowExecutions.WORKFLOW_EXECUTIONS, DSL.name("workflow_executions_uid_fkey"), new TableField[] { WorkflowExecutions.WORKFLOW_EXECUTIONS.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true);
+ public static final ForeignKey<WorkflowExecutionsRecord, WorkflowVersionRecord> WORKFLOW_EXECUTIONS__WORKFLOW_EXECUTIONS_VID_FKEY = Internal.createForeignKey(WorkflowExecutions.WORKFLOW_EXECUTIONS, DSL.name("workflow_executions_vid_fkey"), new TableField[] { WorkflowExecutions.WORKFLOW_EXECUTIONS.VID }, Keys.WORKFLOW_VERSION_PKEY, new TableField[] { WorkflowVersion.WORKFLOW_VERSION.VID }, true);
+ public static final ForeignKey<WorkflowOfProjectRecord, ProjectRecord> WORKFLOW_OF_PROJECT__WORKFLOW_OF_PROJECT_PID_FKEY = Internal.createForeignKey(WorkflowOfProject.WORKFLOW_OF_PROJECT, DSL.name("workflow_of_project_pid_fkey"), new TableField[] { WorkflowOfProject.WORKFLOW_OF_PROJECT.PID }, Keys.PROJECT_PKEY, new TableField[] { Project.PROJECT.PID }, true);
+ public static final ForeignKey<WorkflowOfProjectRecord, WorkflowRecord> WORKFLOW_OF_PROJECT__WORKFLOW_OF_PROJECT_WID_FKEY = Internal.createForeignKey(WorkflowOfProject.WORKFLOW_OF_PROJECT, DSL.name("workflow_of_project_wid_fkey"), new TableField[] { WorkflowOfProject.WORKFLOW_OF_PROJECT.WID }, Keys.WORKFLOW_PKEY, new TableField[] { Workflow.WORKFLOW.WID }, true);
+ public static final ForeignKey<WorkflowOfUserRecord, UserRecord> WORKFLOW_OF_USER__WORKFLOW_OF_USER_UID_FKEY = Internal.createForeignKey(WorkflowOfUser.WORKFLOW_OF_USER, DSL.name("workflow_of_user_uid_fkey"), new TableField[] { WorkflowOfUser.WORKFLOW_OF_USER.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true);
+ public static final ForeignKey<WorkflowOfUserRecord, WorkflowRecord> WORKFLOW_OF_USER__WORKFLOW_OF_USER_WID_FKEY = Internal.createForeignKey(WorkflowOfUser.WORKFLOW_OF_USER, DSL.name("workflow_of_user_wid_fkey"), new TableField[] { WorkflowOfUser.WORKFLOW_OF_USER.WID }, Keys.WORKFLOW_PKEY, new TableField[] { Workflow.WORKFLOW.WID }, true);
+ public static final ForeignKey<WorkflowUserAccessRecord, UserRecord> WORKFLOW_USER_ACCESS__WORKFLOW_USER_ACCESS_UID_FKEY = Internal.createForeignKey(WorkflowUserAccess.WORKFLOW_USER_ACCESS, DSL.name("workflow_user_access_uid_fkey"), new TableField[] { WorkflowUserAccess.WORKFLOW_USER_ACCESS.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true);
+ public static final ForeignKey<WorkflowUserAccessRecord, WorkflowRecord> WORKFLOW_USER_ACCESS__WORKFLOW_USER_ACCESS_WID_FKEY = Internal.createForeignKey(WorkflowUserAccess.WORKFLOW_USER_ACCESS, DSL.name("workflow_user_access_wid_fkey"), new TableField[] { WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID }, Keys.WORKFLOW_PKEY, new TableField[] { Workflow.WORKFLOW.WID }, true);
+ public static final ForeignKey<WorkflowUserClonesRecord, UserRecord> WORKFLOW_USER_CLONES__WORKFLOW_USER_CLONES_UID_FKEY = Internal.createForeignKey(WorkflowUserClones.WORKFLOW_USER_CLONES, DSL.name("workflow_user_clones_uid_fkey"), new TableField[] { WorkflowUserClones.WORKFLOW_USER_CLONES.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true);
+ public static final ForeignKey<WorkflowUserClonesRecord, WorkflowRecord> WORKFLOW_USER_CLONES__WORKFLOW_USER_CLONES_WID_FKEY = Internal.createForeignKey(WorkflowUserClones.WORKFLOW_USER_CLONES, DSL.name("workflow_user_clones_wid_fkey"), new TableField[] { WorkflowUserClones.WORKFLOW_USER_CLONES.WID }, Keys.WORKFLOW_PKEY, new TableField[] { Workflow.WORKFLOW.WID }, true);
+ public static final ForeignKey<WorkflowUserLikesRecord, UserRecord> WORKFLOW_USER_LIKES__WORKFLOW_USER_LIKES_UID_FKEY = Internal.createForeignKey(WorkflowUserLikes.WORKFLOW_USER_LIKES, DSL.name("workflow_user_likes_uid_fkey"), new TableField[] { WorkflowUserLikes.WORKFLOW_USER_LIKES.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true);
+ public static final ForeignKey<WorkflowUserLikesRecord, WorkflowRecord> WORKFLOW_USER_LIKES__WORKFLOW_USER_LIKES_WID_FKEY = Internal.createForeignKey(WorkflowUserLikes.WORKFLOW_USER_LIKES, DSL.name("workflow_user_likes_wid_fkey"), new TableField[] { WorkflowUserLikes.WORKFLOW_USER_LIKES.WID }, Keys.WORKFLOW_PKEY, new TableField[] { Workflow.WORKFLOW.WID }, true);
+ public static final ForeignKey<WorkflowVersionRecord, WorkflowRecord> WORKFLOW_VERSION__WORKFLOW_VERSION_WID_FKEY = Internal.createForeignKey(WorkflowVersion.WORKFLOW_VERSION, DSL.name("workflow_version_wid_fkey"), new TableField[] { WorkflowVersion.WORKFLOW_VERSION.WID }, Keys.WORKFLOW_PKEY, new TableField[] { Workflow.WORKFLOW.WID }, true);
+ public static final ForeignKey<WorkflowViewCountRecord, WorkflowRecord> WORKFLOW_VIEW_COUNT__WORKFLOW_VIEW_COUNT_WID_FKEY = Internal.createForeignKey(WorkflowViewCount.WORKFLOW_VIEW_COUNT, DSL.name("workflow_view_count_wid_fkey"), new TableField[] { WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID }, Keys.WORKFLOW_PKEY, new TableField[] { Workflow.WORKFLOW.WID }, true);
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/Tables.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/Tables.java
new file mode 100644
index 0000000000..f7bf21808b
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/Tables.java
@@ -0,0 +1,170 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated;
+
+
+import org.apache.texera.dao.jooq.generated.tables.ComputingUnitUserAccess;
+import org.apache.texera.dao.jooq.generated.tables.Dataset;
+import org.apache.texera.dao.jooq.generated.tables.DatasetUserAccess;
+import org.apache.texera.dao.jooq.generated.tables.DatasetUserLikes;
+import org.apache.texera.dao.jooq.generated.tables.DatasetVersion;
+import org.apache.texera.dao.jooq.generated.tables.DatasetViewCount;
+import org.apache.texera.dao.jooq.generated.tables.OperatorExecutions;
+import org.apache.texera.dao.jooq.generated.tables.OperatorPortExecutions;
+import org.apache.texera.dao.jooq.generated.tables.Project;
+import org.apache.texera.dao.jooq.generated.tables.ProjectUserAccess;
+import org.apache.texera.dao.jooq.generated.tables.PublicProject;
+import org.apache.texera.dao.jooq.generated.tables.SiteSettings;
+import org.apache.texera.dao.jooq.generated.tables.User;
+import org.apache.texera.dao.jooq.generated.tables.UserAction;
+import org.apache.texera.dao.jooq.generated.tables.UserConfig;
+import org.apache.texera.dao.jooq.generated.tables.UserLastActiveTime;
+import org.apache.texera.dao.jooq.generated.tables.Workflow;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowComputingUnit;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowExecutions;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowOfProject;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowOfUser;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowUserAccess;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowUserClones;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowUserLikes;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowVersion;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowViewCount;
+
+
+/**
+ * Convenience access to all tables in texera_db.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Tables {
+
+ /**
+ * The table <code>texera_db.computing_unit_user_access</code>.
+ */
+ public static final ComputingUnitUserAccess COMPUTING_UNIT_USER_ACCESS = ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS;
+
+ /**
+ * The table <code>texera_db.dataset</code>.
+ */
+ public static final Dataset DATASET = Dataset.DATASET;
+
+ /**
+ * The table <code>texera_db.dataset_user_access</code>.
+ */
+ public static final DatasetUserAccess DATASET_USER_ACCESS = DatasetUserAccess.DATASET_USER_ACCESS;
+
+ /**
+ * The table <code>texera_db.dataset_user_likes</code>.
+ */
+ public static final DatasetUserLikes DATASET_USER_LIKES = DatasetUserLikes.DATASET_USER_LIKES;
+
+ /**
+ * The table <code>texera_db.dataset_version</code>.
+ */
+ public static final DatasetVersion DATASET_VERSION = DatasetVersion.DATASET_VERSION;
+
+ /**
+ * The table <code>texera_db.dataset_view_count</code>.
+ */
+ public static final DatasetViewCount DATASET_VIEW_COUNT = DatasetViewCount.DATASET_VIEW_COUNT;
+
+ /**
+ * The table <code>texera_db.operator_executions</code>.
+ */
+ public static final OperatorExecutions OPERATOR_EXECUTIONS = OperatorExecutions.OPERATOR_EXECUTIONS;
+
+ /**
+ * The table <code>texera_db.operator_port_executions</code>.
+ */
+ public static final OperatorPortExecutions OPERATOR_PORT_EXECUTIONS = OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS;
+
+ /**
+ * The table <code>texera_db.project</code>.
+ */
+ public static final Project PROJECT = Project.PROJECT;
+
+ /**
+ * The table <code>texera_db.project_user_access</code>.
+ */
+ public static final ProjectUserAccess PROJECT_USER_ACCESS = ProjectUserAccess.PROJECT_USER_ACCESS;
+
+ /**
+ * The table <code>texera_db.public_project</code>.
+ */
+ public static final PublicProject PUBLIC_PROJECT = PublicProject.PUBLIC_PROJECT;
+
+ /**
+ * The table <code>texera_db.site_settings</code>.
+ */
+ public static final SiteSettings SITE_SETTINGS = SiteSettings.SITE_SETTINGS;
+
+ /**
+ * The table <code>texera_db.user</code>.
+ */
+ public static final User USER = User.USER;
+
+ /**
+ * The table <code>texera_db.user_action</code>.
+ */
+ public static final UserAction USER_ACTION = UserAction.USER_ACTION;
+
+ /**
+ * The table <code>texera_db.user_config</code>.
+ */
+ public static final UserConfig USER_CONFIG = UserConfig.USER_CONFIG;
+
+ /**
+ * The table <code>texera_db.user_last_active_time</code>.
+ */
+ public static final UserLastActiveTime USER_LAST_ACTIVE_TIME = UserLastActiveTime.USER_LAST_ACTIVE_TIME;
+
+ /**
+ * The table <code>texera_db.workflow</code>.
+ */
+ public static final Workflow WORKFLOW = Workflow.WORKFLOW;
+
+ /**
+ * The table <code>texera_db.workflow_computing_unit</code>.
+ */
+ public static final WorkflowComputingUnit WORKFLOW_COMPUTING_UNIT = WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT;
+
+ /**
+ * The table <code>texera_db.workflow_executions</code>.
+ */
+ public static final WorkflowExecutions WORKFLOW_EXECUTIONS = WorkflowExecutions.WORKFLOW_EXECUTIONS;
+
+ /**
+ * The table <code>texera_db.workflow_of_project</code>.
+ */
+ public static final WorkflowOfProject WORKFLOW_OF_PROJECT = WorkflowOfProject.WORKFLOW_OF_PROJECT;
+
+ /**
+ * The table <code>texera_db.workflow_of_user</code>.
+ */
+ public static final WorkflowOfUser WORKFLOW_OF_USER = WorkflowOfUser.WORKFLOW_OF_USER;
+
+ /**
+ * The table <code>texera_db.workflow_user_access</code>.
+ */
+ public static final WorkflowUserAccess WORKFLOW_USER_ACCESS = WorkflowUserAccess.WORKFLOW_USER_ACCESS;
+
+ /**
+ * The table <code>texera_db.workflow_user_clones</code>.
+ */
+ public static final WorkflowUserClones WORKFLOW_USER_CLONES = WorkflowUserClones.WORKFLOW_USER_CLONES;
+
+ /**
+ * The table <code>texera_db.workflow_user_likes</code>.
+ */
+ public static final WorkflowUserLikes WORKFLOW_USER_LIKES = WorkflowUserLikes.WORKFLOW_USER_LIKES;
+
+ /**
+ * The table <code>texera_db.workflow_version</code>.
+ */
+ public static final WorkflowVersion WORKFLOW_VERSION = WorkflowVersion.WORKFLOW_VERSION;
+
+ /**
+ * The table <code>texera_db.workflow_view_count</code>.
+ */
+ public static final WorkflowViewCount WORKFLOW_VIEW_COUNT = WorkflowViewCount.WORKFLOW_VIEW_COUNT;
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/TexeraDb.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/TexeraDb.java
new file mode 100644
index 0000000000..055f0230e1
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/TexeraDb.java
@@ -0,0 +1,228 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated;
+
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.tables.ComputingUnitUserAccess;
+import org.apache.texera.dao.jooq.generated.tables.Dataset;
+import org.apache.texera.dao.jooq.generated.tables.DatasetUserAccess;
+import org.apache.texera.dao.jooq.generated.tables.DatasetUserLikes;
+import org.apache.texera.dao.jooq.generated.tables.DatasetVersion;
+import org.apache.texera.dao.jooq.generated.tables.DatasetViewCount;
+import org.apache.texera.dao.jooq.generated.tables.OperatorExecutions;
+import org.apache.texera.dao.jooq.generated.tables.OperatorPortExecutions;
+import org.apache.texera.dao.jooq.generated.tables.Project;
+import org.apache.texera.dao.jooq.generated.tables.ProjectUserAccess;
+import org.apache.texera.dao.jooq.generated.tables.PublicProject;
+import org.apache.texera.dao.jooq.generated.tables.SiteSettings;
+import org.apache.texera.dao.jooq.generated.tables.User;
+import org.apache.texera.dao.jooq.generated.tables.UserAction;
+import org.apache.texera.dao.jooq.generated.tables.UserConfig;
+import org.apache.texera.dao.jooq.generated.tables.UserLastActiveTime;
+import org.apache.texera.dao.jooq.generated.tables.Workflow;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowComputingUnit;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowExecutions;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowOfProject;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowOfUser;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowUserAccess;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowUserClones;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowUserLikes;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowVersion;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowViewCount;
+import org.jooq.Catalog;
+import org.jooq.Table;
+import org.jooq.impl.SchemaImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class TexeraDb extends SchemaImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db</code>
+ */
+ public static final TexeraDb TEXERA_DB = new TexeraDb();
+
+ /**
+ * The table <code>texera_db.computing_unit_user_access</code>.
+ */
+ public final ComputingUnitUserAccess COMPUTING_UNIT_USER_ACCESS = ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS;
+
+ /**
+ * The table <code>texera_db.dataset</code>.
+ */
+ public final Dataset DATASET = Dataset.DATASET;
+
+ /**
+ * The table <code>texera_db.dataset_user_access</code>.
+ */
+ public final DatasetUserAccess DATASET_USER_ACCESS = DatasetUserAccess.DATASET_USER_ACCESS;
+
+ /**
+ * The table <code>texera_db.dataset_user_likes</code>.
+ */
+ public final DatasetUserLikes DATASET_USER_LIKES = DatasetUserLikes.DATASET_USER_LIKES;
+
+ /**
+ * The table <code>texera_db.dataset_version</code>.
+ */
+ public final DatasetVersion DATASET_VERSION = DatasetVersion.DATASET_VERSION;
+
+ /**
+ * The table <code>texera_db.dataset_view_count</code>.
+ */
+ public final DatasetViewCount DATASET_VIEW_COUNT = DatasetViewCount.DATASET_VIEW_COUNT;
+
+ /**
+ * The table <code>texera_db.operator_executions</code>.
+ */
+ public final OperatorExecutions OPERATOR_EXECUTIONS = OperatorExecutions.OPERATOR_EXECUTIONS;
+
+ /**
+ * The table <code>texera_db.operator_port_executions</code>.
+ */
+ public final OperatorPortExecutions OPERATOR_PORT_EXECUTIONS = OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS;
+
+ /**
+ * The table <code>texera_db.project</code>.
+ */
+ public final Project PROJECT = Project.PROJECT;
+
+ /**
+ * The table <code>texera_db.project_user_access</code>.
+ */
+ public final ProjectUserAccess PROJECT_USER_ACCESS = ProjectUserAccess.PROJECT_USER_ACCESS;
+
+ /**
+ * The table <code>texera_db.public_project</code>.
+ */
+ public final PublicProject PUBLIC_PROJECT = PublicProject.PUBLIC_PROJECT;
+
+ /**
+ * The table <code>texera_db.site_settings</code>.
+ */
+ public final SiteSettings SITE_SETTINGS = SiteSettings.SITE_SETTINGS;
+
+ /**
+ * The table <code>texera_db.user</code>.
+ */
+ public final User USER = User.USER;
+
+ /**
+ * The table <code>texera_db.user_action</code>.
+ */
+ public final UserAction USER_ACTION = UserAction.USER_ACTION;
+
+ /**
+ * The table <code>texera_db.user_config</code>.
+ */
+ public final UserConfig USER_CONFIG = UserConfig.USER_CONFIG;
+
+ /**
+ * The table <code>texera_db.user_last_active_time</code>.
+ */
+ public final UserLastActiveTime USER_LAST_ACTIVE_TIME = UserLastActiveTime.USER_LAST_ACTIVE_TIME;
+
+ /**
+ * The table <code>texera_db.workflow</code>.
+ */
+ public final Workflow WORKFLOW = Workflow.WORKFLOW;
+
+ /**
+ * The table <code>texera_db.workflow_computing_unit</code>.
+ */
+ public final WorkflowComputingUnit WORKFLOW_COMPUTING_UNIT = WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT;
+
+ /**
+ * The table <code>texera_db.workflow_executions</code>.
+ */
+ public final WorkflowExecutions WORKFLOW_EXECUTIONS = WorkflowExecutions.WORKFLOW_EXECUTIONS;
+
+ /**
+ * The table <code>texera_db.workflow_of_project</code>.
+ */
+ public final WorkflowOfProject WORKFLOW_OF_PROJECT = WorkflowOfProject.WORKFLOW_OF_PROJECT;
+
+ /**
+ * The table <code>texera_db.workflow_of_user</code>.
+ */
+ public final WorkflowOfUser WORKFLOW_OF_USER = WorkflowOfUser.WORKFLOW_OF_USER;
+
+ /**
+ * The table <code>texera_db.workflow_user_access</code>.
+ */
+ public final WorkflowUserAccess WORKFLOW_USER_ACCESS = WorkflowUserAccess.WORKFLOW_USER_ACCESS;
+
+ /**
+ * The table <code>texera_db.workflow_user_clones</code>.
+ */
+ public final WorkflowUserClones WORKFLOW_USER_CLONES = WorkflowUserClones.WORKFLOW_USER_CLONES;
+
+ /**
+ * The table <code>texera_db.workflow_user_likes</code>.
+ */
+ public final WorkflowUserLikes WORKFLOW_USER_LIKES = WorkflowUserLikes.WORKFLOW_USER_LIKES;
+
+ /**
+ * The table <code>texera_db.workflow_version</code>.
+ */
+ public final WorkflowVersion WORKFLOW_VERSION = WorkflowVersion.WORKFLOW_VERSION;
+
+ /**
+ * The table <code>texera_db.workflow_view_count</code>.
+ */
+ public final WorkflowViewCount WORKFLOW_VIEW_COUNT = WorkflowViewCount.WORKFLOW_VIEW_COUNT;
+
+ /**
+ * No further instances allowed
+ */
+ private TexeraDb() {
+ super("texera_db", null);
+ }
+
+
+ @Override
+ public Catalog getCatalog() {
+ return DefaultCatalog.DEFAULT_CATALOG;
+ }
+
+ @Override
+ public final List<Table<?>> getTables() {
+ return Arrays.asList(
+ ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS,
+ Dataset.DATASET,
+ DatasetUserAccess.DATASET_USER_ACCESS,
+ DatasetUserLikes.DATASET_USER_LIKES,
+ DatasetVersion.DATASET_VERSION,
+ DatasetViewCount.DATASET_VIEW_COUNT,
+ OperatorExecutions.OPERATOR_EXECUTIONS,
+ OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS,
+ Project.PROJECT,
+ ProjectUserAccess.PROJECT_USER_ACCESS,
+ PublicProject.PUBLIC_PROJECT,
+ SiteSettings.SITE_SETTINGS,
+ User.USER,
+ UserAction.USER_ACTION,
+ UserConfig.USER_CONFIG,
+ UserLastActiveTime.USER_LAST_ACTIVE_TIME,
+ Workflow.WORKFLOW,
+ WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT,
+ WorkflowExecutions.WORKFLOW_EXECUTIONS,
+ WorkflowOfProject.WORKFLOW_OF_PROJECT,
+ WorkflowOfUser.WORKFLOW_OF_USER,
+ WorkflowUserAccess.WORKFLOW_USER_ACCESS,
+ WorkflowUserClones.WORKFLOW_USER_CLONES,
+ WorkflowUserLikes.WORKFLOW_USER_LIKES,
+ WorkflowVersion.WORKFLOW_VERSION,
+ WorkflowViewCount.WORKFLOW_VIEW_COUNT
+ );
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/enums/ActionEnum.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/enums/ActionEnum.java
new file mode 100644
index 0000000000..b4abcc72ab
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/enums/ActionEnum.java
@@ -0,0 +1,59 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.enums;
+
+
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.jooq.Catalog;
+import org.jooq.EnumType;
+import org.jooq.Schema;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public enum ActionEnum implements EnumType {
+
+ like("like"),
+
+ unlike("unlike"),
+
+ view("view"),
+
+ clone("clone");
+
+ private final String literal;
+
+ private ActionEnum(String literal) {
+ this.literal = literal;
+ }
+
+ @Override
+ public Catalog getCatalog() {
+ return getSchema().getCatalog();
+ }
+
+ @Override
+ public Schema getSchema() {
+ return TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public String getName() {
+ return "action_enum";
+ }
+
+ @Override
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Lookup a value of this EnumType by its literal
+ */
+ public static ActionEnum lookupLiteral(String literal) {
+ return EnumType.lookupLiteral(ActionEnum.class, literal);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/enums/PrivilegeEnum.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/enums/PrivilegeEnum.java
new file mode 100644
index 0000000000..629e15a0d7
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/enums/PrivilegeEnum.java
@@ -0,0 +1,57 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.enums;
+
+
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.jooq.Catalog;
+import org.jooq.EnumType;
+import org.jooq.Schema;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public enum PrivilegeEnum implements EnumType {
+
+ NONE("NONE"),
+
+ READ("READ"),
+
+ WRITE("WRITE");
+
+ private final String literal;
+
+ private PrivilegeEnum(String literal) {
+ this.literal = literal;
+ }
+
+ @Override
+ public Catalog getCatalog() {
+ return getSchema().getCatalog();
+ }
+
+ @Override
+ public Schema getSchema() {
+ return TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public String getName() {
+ return "privilege_enum";
+ }
+
+ @Override
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Lookup a value of this EnumType by its literal
+ */
+ public static PrivilegeEnum lookupLiteral(String literal) {
+ return EnumType.lookupLiteral(PrivilegeEnum.class, literal);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/enums/UserRoleEnum.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/enums/UserRoleEnum.java
new file mode 100644
index 0000000000..58e7843ff5
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/enums/UserRoleEnum.java
@@ -0,0 +1,59 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.enums;
+
+
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.jooq.Catalog;
+import org.jooq.EnumType;
+import org.jooq.Schema;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public enum UserRoleEnum implements EnumType {
+
+ INACTIVE("INACTIVE"),
+
+ RESTRICTED("RESTRICTED"),
+
+ REGULAR("REGULAR"),
+
+ ADMIN("ADMIN");
+
+ private final String literal;
+
+ private UserRoleEnum(String literal) {
+ this.literal = literal;
+ }
+
+ @Override
+ public Catalog getCatalog() {
+ return getSchema().getCatalog();
+ }
+
+ @Override
+ public Schema getSchema() {
+ return TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public String getName() {
+ return "user_role_enum";
+ }
+
+ @Override
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Lookup a value of this EnumType by its literal
+ */
+ public static UserRoleEnum lookupLiteral(String literal) {
+ return EnumType.lookupLiteral(UserRoleEnum.class, literal);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/enums/WorkflowComputingUnitTypeEnum.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/enums/WorkflowComputingUnitTypeEnum.java
new file mode 100644
index 0000000000..b351ff15a5
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/enums/WorkflowComputingUnitTypeEnum.java
@@ -0,0 +1,55 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.enums;
+
+
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.jooq.Catalog;
+import org.jooq.EnumType;
+import org.jooq.Schema;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public enum WorkflowComputingUnitTypeEnum implements EnumType {
+
+ local("local"),
+
+ kubernetes("kubernetes");
+
+ private final String literal;
+
+ private WorkflowComputingUnitTypeEnum(String literal) {
+ this.literal = literal;
+ }
+
+ @Override
+ public Catalog getCatalog() {
+ return getSchema().getCatalog();
+ }
+
+ @Override
+ public Schema getSchema() {
+ return TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public String getName() {
+ return "workflow_computing_unit_type_enum";
+ }
+
+ @Override
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Lookup a value of this EnumType by its literal
+ */
+ public static WorkflowComputingUnitTypeEnum lookupLiteral(String literal) {
+ return EnumType.lookupLiteral(WorkflowComputingUnitTypeEnum.class, literal);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/ComputingUnitUserAccess.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/ComputingUnitUserAccess.java
new file mode 100644
index 0000000000..3570aa77ae
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/ComputingUnitUserAccess.java
@@ -0,0 +1,175 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.enums.PrivilegeEnum;
+import org.apache.texera.dao.jooq.generated.tables.records.ComputingUnitUserAccessRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row3;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class ComputingUnitUserAccess extends TableImpl<ComputingUnitUserAccessRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of
+ * <code>texera_db.computing_unit_user_access</code>
+ */
+ public static final ComputingUnitUserAccess COMPUTING_UNIT_USER_ACCESS = new ComputingUnitUserAccess();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<ComputingUnitUserAccessRecord> getRecordType() {
+ return ComputingUnitUserAccessRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.computing_unit_user_access.cuid</code>.
+ */
+ public final TableField<ComputingUnitUserAccessRecord, Integer> CUID = createField(DSL.name("cuid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.computing_unit_user_access.uid</code>.
+ */
+ public final TableField<ComputingUnitUserAccessRecord, Integer> UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.computing_unit_user_access.privilege</code>.
+ */
+ public final TableField<ComputingUnitUserAccessRecord, PrivilegeEnum> PRIVILEGE = createField(DSL.name("privilege"), SQLDataType.VARCHAR.nullable(false).defaultValue(DSL.field("'NONE'::texera_db.privilege_enum", SQLDataType.VARCHAR)).asEnumDataType(org.apache.texera.dao.jooq.generated.enums.PrivilegeEnum.class), this, "");
+
+ private ComputingUnitUserAccess(Name alias, Table<ComputingUnitUserAccessRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private ComputingUnitUserAccess(Name alias, Table<ComputingUnitUserAccessRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.computing_unit_user_access</code> table
+ * reference
+ */
+ public ComputingUnitUserAccess(String alias) {
+ this(DSL.name(alias), COMPUTING_UNIT_USER_ACCESS);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.computing_unit_user_access</code> table
+ * reference
+ */
+ public ComputingUnitUserAccess(Name alias) {
+ this(alias, COMPUTING_UNIT_USER_ACCESS);
+ }
+
+ /**
+ * Create a <code>texera_db.computing_unit_user_access</code> table
+ * reference
+ */
+ public ComputingUnitUserAccess() {
+ this(DSL.name("computing_unit_user_access"), null);
+ }
+
+ public <O extends Record> ComputingUnitUserAccess(Table<O> child, ForeignKey<O, ComputingUnitUserAccessRecord> key) {
+ super(child, key, COMPUTING_UNIT_USER_ACCESS);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public UniqueKey<ComputingUnitUserAccessRecord> getPrimaryKey() {
+ return Keys.COMPUTING_UNIT_USER_ACCESS_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<ComputingUnitUserAccessRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.COMPUTING_UNIT_USER_ACCESS__COMPUTING_UNIT_USER_ACCESS_CUID_FKEY, Keys.COMPUTING_UNIT_USER_ACCESS__COMPUTING_UNIT_USER_ACCESS_UID_FKEY);
+ }
+
+ private transient WorkflowComputingUnit _workflowComputingUnit;
+ private transient User _user;
+
+ /**
+ * Get the implicit join path to the
+ * <code>texera_db.workflow_computing_unit</code> table.
+ */
+ public WorkflowComputingUnit workflowComputingUnit() {
+ if (_workflowComputingUnit == null)
+ _workflowComputingUnit = new WorkflowComputingUnit(this, Keys.COMPUTING_UNIT_USER_ACCESS__COMPUTING_UNIT_USER_ACCESS_CUID_FKEY);
+
+ return _workflowComputingUnit;
+ }
+
+ /**
+ * Get the implicit join path to the <code>texera_db.user</code> table.
+ */
+ public User user() {
+ if (_user == null)
+ _user = new User(this, Keys.COMPUTING_UNIT_USER_ACCESS__COMPUTING_UNIT_USER_ACCESS_UID_FKEY);
+
+ return _user;
+ }
+
+ @Override
+ public ComputingUnitUserAccess as(String alias) {
+ return new ComputingUnitUserAccess(DSL.name(alias), this);
+ }
+
+ @Override
+ public ComputingUnitUserAccess as(Name alias) {
+ return new ComputingUnitUserAccess(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public ComputingUnitUserAccess rename(String name) {
+ return new ComputingUnitUserAccess(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public ComputingUnitUserAccess rename(Name name) {
+ return new ComputingUnitUserAccess(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row3 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row3<Integer, Integer, PrivilegeEnum> fieldsRow() {
+ return (Row3) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/Dataset.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/Dataset.java
new file mode 100644
index 0000000000..f2e364a850
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/Dataset.java
@@ -0,0 +1,190 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.sql.Timestamp;
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.DatasetRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row8;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Dataset extends TableImpl<DatasetRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.dataset</code>
+ */
+ public static final Dataset DATASET = new Dataset();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<DatasetRecord> getRecordType() {
+ return DatasetRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.dataset.did</code>.
+ */
+ public final TableField<DatasetRecord, Integer> DID = createField(DSL.name("did"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
+
+ /**
+ * The column <code>texera_db.dataset.owner_uid</code>.
+ */
+ public final TableField<DatasetRecord, Integer> OWNER_UID = createField(DSL.name("owner_uid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.dataset.name</code>.
+ */
+ public final TableField<DatasetRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(128).nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.dataset.is_public</code>.
+ */
+ public final TableField<DatasetRecord, Boolean> IS_PUBLIC = createField(DSL.name("is_public"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field("true", SQLDataType.BOOLEAN)), this, "");
+
+ /**
+ * The column <code>texera_db.dataset.is_downloadable</code>.
+ */
+ public final TableField<DatasetRecord, Boolean> IS_DOWNLOADABLE = createField(DSL.name("is_downloadable"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field("true", SQLDataType.BOOLEAN)), this, "");
+
+ /**
+ * The column <code>texera_db.dataset.description</code>.
+ */
+ public final TableField<DatasetRecord, String> DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(512).nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.dataset.creation_time</code>.
+ */
+ public final TableField<DatasetRecord, Timestamp> CREATION_TIME = createField(DSL.name("creation_time"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, "");
+
+ /**
+ * The column <code>texera_db.dataset.repository_name</code>.
+ */
+ public final TableField<DatasetRecord, String> REPOSITORY_NAME = createField(DSL.name("repository_name"), SQLDataType.VARCHAR(128), this, "");
+
+ private Dataset(Name alias, Table<DatasetRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private Dataset(Name alias, Table<DatasetRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.dataset</code> table reference
+ */
+ public Dataset(String alias) {
+ this(DSL.name(alias), DATASET);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.dataset</code> table reference
+ */
+ public Dataset(Name alias) {
+ this(alias, DATASET);
+ }
+
+ /**
+ * Create a <code>texera_db.dataset</code> table reference
+ */
+ public Dataset() {
+ this(DSL.name("dataset"), null);
+ }
+
+ public <O extends Record> Dataset(Table<O> child, ForeignKey<O, DatasetRecord> key) {
+ super(child, key, DATASET);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public Identity<DatasetRecord, Integer> getIdentity() {
+ return (Identity<DatasetRecord, Integer>) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey<DatasetRecord> getPrimaryKey() {
+ return Keys.DATASET_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<DatasetRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.DATASET__DATASET_OWNER_UID_FKEY);
+ }
+
+ private transient User _user;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.user</code> table.
+ */
+ public User user() {
+ if (_user == null)
+ _user = new User(this, Keys.DATASET__DATASET_OWNER_UID_FKEY);
+
+ return _user;
+ }
+
+ @Override
+ public Dataset as(String alias) {
+ return new Dataset(DSL.name(alias), this);
+ }
+
+ @Override
+ public Dataset as(Name alias) {
+ return new Dataset(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Dataset rename(String name) {
+ return new Dataset(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Dataset rename(Name name) {
+ return new Dataset(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row8 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row8<Integer, Integer, String, Boolean, Boolean, String, Timestamp, String> fieldsRow() {
+ return (Row8) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/DatasetUserAccess.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/DatasetUserAccess.java
new file mode 100644
index 0000000000..4c2a0d55c7
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/DatasetUserAccess.java
@@ -0,0 +1,172 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.enums.PrivilegeEnum;
+import org.apache.texera.dao.jooq.generated.tables.records.DatasetUserAccessRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row3;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class DatasetUserAccess extends TableImpl<DatasetUserAccessRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.dataset_user_access</code>
+ */
+ public static final DatasetUserAccess DATASET_USER_ACCESS = new DatasetUserAccess();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<DatasetUserAccessRecord> getRecordType() {
+ return DatasetUserAccessRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.dataset_user_access.did</code>.
+ */
+ public final TableField<DatasetUserAccessRecord, Integer> DID = createField(DSL.name("did"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.dataset_user_access.uid</code>.
+ */
+ public final TableField<DatasetUserAccessRecord, Integer> UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.dataset_user_access.privilege</code>.
+ */
+ public final TableField<DatasetUserAccessRecord, PrivilegeEnum> PRIVILEGE = createField(DSL.name("privilege"), SQLDataType.VARCHAR.nullable(false).defaultValue(DSL.field("'NONE'::texera_db.privilege_enum", SQLDataType.VARCHAR)).asEnumDataType(org.apache.texera.dao.jooq.generated.enums.PrivilegeEnum.class), this, "");
+
+ private DatasetUserAccess(Name alias, Table<DatasetUserAccessRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private DatasetUserAccess(Name alias, Table<DatasetUserAccessRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.dataset_user_access</code> table
+ * reference
+ */
+ public DatasetUserAccess(String alias) {
+ this(DSL.name(alias), DATASET_USER_ACCESS);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.dataset_user_access</code> table
+ * reference
+ */
+ public DatasetUserAccess(Name alias) {
+ this(alias, DATASET_USER_ACCESS);
+ }
+
+ /**
+ * Create a <code>texera_db.dataset_user_access</code> table reference
+ */
+ public DatasetUserAccess() {
+ this(DSL.name("dataset_user_access"), null);
+ }
+
+ public <O extends Record> DatasetUserAccess(Table<O> child, ForeignKey<O, DatasetUserAccessRecord> key) {
+ super(child, key, DATASET_USER_ACCESS);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public UniqueKey<DatasetUserAccessRecord> getPrimaryKey() {
+ return Keys.DATASET_USER_ACCESS_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<DatasetUserAccessRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.DATASET_USER_ACCESS__DATASET_USER_ACCESS_DID_FKEY, Keys.DATASET_USER_ACCESS__DATASET_USER_ACCESS_UID_FKEY);
+ }
+
+ private transient Dataset _dataset;
+ private transient User _user;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.dataset</code> table.
+ */
+ public Dataset dataset() {
+ if (_dataset == null)
+ _dataset = new Dataset(this, Keys.DATASET_USER_ACCESS__DATASET_USER_ACCESS_DID_FKEY);
+
+ return _dataset;
+ }
+
+ /**
+ * Get the implicit join path to the <code>texera_db.user</code> table.
+ */
+ public User user() {
+ if (_user == null)
+ _user = new User(this, Keys.DATASET_USER_ACCESS__DATASET_USER_ACCESS_UID_FKEY);
+
+ return _user;
+ }
+
+ @Override
+ public DatasetUserAccess as(String alias) {
+ return new DatasetUserAccess(DSL.name(alias), this);
+ }
+
+ @Override
+ public DatasetUserAccess as(Name alias) {
+ return new DatasetUserAccess(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public DatasetUserAccess rename(String name) {
+ return new DatasetUserAccess(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public DatasetUserAccess rename(Name name) {
+ return new DatasetUserAccess(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row3 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row3<Integer, Integer, PrivilegeEnum> fieldsRow() {
+ return (Row3) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/DatasetUserLikes.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/DatasetUserLikes.java
new file mode 100644
index 0000000000..c88d4b259f
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/DatasetUserLikes.java
@@ -0,0 +1,166 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.DatasetUserLikesRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row2;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class DatasetUserLikes extends TableImpl<DatasetUserLikesRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.dataset_user_likes</code>
+ */
+ public static final DatasetUserLikes DATASET_USER_LIKES = new DatasetUserLikes();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<DatasetUserLikesRecord> getRecordType() {
+ return DatasetUserLikesRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.dataset_user_likes.uid</code>.
+ */
+ public final TableField<DatasetUserLikesRecord, Integer> UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.dataset_user_likes.did</code>.
+ */
+ public final TableField<DatasetUserLikesRecord, Integer> DID = createField(DSL.name("did"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ private DatasetUserLikes(Name alias, Table<DatasetUserLikesRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private DatasetUserLikes(Name alias, Table<DatasetUserLikesRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.dataset_user_likes</code> table
+ * reference
+ */
+ public DatasetUserLikes(String alias) {
+ this(DSL.name(alias), DATASET_USER_LIKES);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.dataset_user_likes</code> table
+ * reference
+ */
+ public DatasetUserLikes(Name alias) {
+ this(alias, DATASET_USER_LIKES);
+ }
+
+ /**
+ * Create a <code>texera_db.dataset_user_likes</code> table reference
+ */
+ public DatasetUserLikes() {
+ this(DSL.name("dataset_user_likes"), null);
+ }
+
+ public <O extends Record> DatasetUserLikes(Table<O> child, ForeignKey<O, DatasetUserLikesRecord> key) {
+ super(child, key, DATASET_USER_LIKES);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public UniqueKey<DatasetUserLikesRecord> getPrimaryKey() {
+ return Keys.DATASET_USER_LIKES_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<DatasetUserLikesRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.DATASET_USER_LIKES__DATASET_USER_LIKES_UID_FKEY, Keys.DATASET_USER_LIKES__DATASET_USER_LIKES_DID_FKEY);
+ }
+
+ private transient User _user;
+ private transient Dataset _dataset;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.user</code> table.
+ */
+ public User user() {
+ if (_user == null)
+ _user = new User(this, Keys.DATASET_USER_LIKES__DATASET_USER_LIKES_UID_FKEY);
+
+ return _user;
+ }
+
+ /**
+ * Get the implicit join path to the <code>texera_db.dataset</code> table.
+ */
+ public Dataset dataset() {
+ if (_dataset == null)
+ _dataset = new Dataset(this, Keys.DATASET_USER_LIKES__DATASET_USER_LIKES_DID_FKEY);
+
+ return _dataset;
+ }
+
+ @Override
+ public DatasetUserLikes as(String alias) {
+ return new DatasetUserLikes(DSL.name(alias), this);
+ }
+
+ @Override
+ public DatasetUserLikes as(Name alias) {
+ return new DatasetUserLikes(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public DatasetUserLikes rename(String name) {
+ return new DatasetUserLikes(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public DatasetUserLikes rename(Name name) {
+ return new DatasetUserLikes(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row2 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row2<Integer, Integer> fieldsRow() {
+ return (Row2) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/DatasetVersion.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/DatasetVersion.java
new file mode 100644
index 0000000000..5f22edb547
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/DatasetVersion.java
@@ -0,0 +1,180 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.sql.Timestamp;
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.DatasetVersionRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row6;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class DatasetVersion extends TableImpl<DatasetVersionRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.dataset_version</code>
+ */
+ public static final DatasetVersion DATASET_VERSION = new DatasetVersion();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<DatasetVersionRecord> getRecordType() {
+ return DatasetVersionRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.dataset_version.dvid</code>.
+ */
+ public final TableField<DatasetVersionRecord, Integer> DVID = createField(DSL.name("dvid"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
+
+ /**
+ * The column <code>texera_db.dataset_version.did</code>.
+ */
+ public final TableField<DatasetVersionRecord, Integer> DID = createField(DSL.name("did"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.dataset_version.creator_uid</code>.
+ */
+ public final TableField<DatasetVersionRecord, Integer> CREATOR_UID = createField(DSL.name("creator_uid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.dataset_version.name</code>.
+ */
+ public final TableField<DatasetVersionRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(128).nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.dataset_version.version_hash</code>.
+ */
+ public final TableField<DatasetVersionRecord, String> VERSION_HASH = createField(DSL.name("version_hash"), SQLDataType.VARCHAR(64).nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.dataset_version.creation_time</code>.
+ */
+ public final TableField<DatasetVersionRecord, Timestamp> CREATION_TIME = createField(DSL.name("creation_time"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, "");
+
+ private DatasetVersion(Name alias, Table<DatasetVersionRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private DatasetVersion(Name alias, Table<DatasetVersionRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.dataset_version</code> table reference
+ */
+ public DatasetVersion(String alias) {
+ this(DSL.name(alias), DATASET_VERSION);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.dataset_version</code> table reference
+ */
+ public DatasetVersion(Name alias) {
+ this(alias, DATASET_VERSION);
+ }
+
+ /**
+ * Create a <code>texera_db.dataset_version</code> table reference
+ */
+ public DatasetVersion() {
+ this(DSL.name("dataset_version"), null);
+ }
+
+ public <O extends Record> DatasetVersion(Table<O> child, ForeignKey<O, DatasetVersionRecord> key) {
+ super(child, key, DATASET_VERSION);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public Identity<DatasetVersionRecord, Integer> getIdentity() {
+ return (Identity<DatasetVersionRecord, Integer>) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey<DatasetVersionRecord> getPrimaryKey() {
+ return Keys.DATASET_VERSION_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<DatasetVersionRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.DATASET_VERSION__DATASET_VERSION_DID_FKEY);
+ }
+
+ private transient Dataset _dataset;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.dataset</code> table.
+ */
+ public Dataset dataset() {
+ if (_dataset == null)
+ _dataset = new Dataset(this, Keys.DATASET_VERSION__DATASET_VERSION_DID_FKEY);
+
+ return _dataset;
+ }
+
+ @Override
+ public DatasetVersion as(String alias) {
+ return new DatasetVersion(DSL.name(alias), this);
+ }
+
+ @Override
+ public DatasetVersion as(Name alias) {
+ return new DatasetVersion(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public DatasetVersion rename(String name) {
+ return new DatasetVersion(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public DatasetVersion rename(Name name) {
+ return new DatasetVersion(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row6 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row6<Integer, Integer, Integer, String, String, Timestamp> fieldsRow() {
+ return (Row6) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/DatasetViewCount.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/DatasetViewCount.java
new file mode 100644
index 0000000000..b949cf6e9c
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/DatasetViewCount.java
@@ -0,0 +1,155 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.DatasetViewCountRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row2;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class DatasetViewCount extends TableImpl<DatasetViewCountRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.dataset_view_count</code>
+ */
+ public static final DatasetViewCount DATASET_VIEW_COUNT = new DatasetViewCount();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<DatasetViewCountRecord> getRecordType() {
+ return DatasetViewCountRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.dataset_view_count.did</code>.
+ */
+ public final TableField<DatasetViewCountRecord, Integer> DID = createField(DSL.name("did"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.dataset_view_count.view_count</code>.
+ */
+ public final TableField<DatasetViewCountRecord, Integer> VIEW_COUNT = createField(DSL.name("view_count"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field("0", SQLDataType.INTEGER)), this, "");
+
+ private DatasetViewCount(Name alias, Table<DatasetViewCountRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private DatasetViewCount(Name alias, Table<DatasetViewCountRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.dataset_view_count</code> table
+ * reference
+ */
+ public DatasetViewCount(String alias) {
+ this(DSL.name(alias), DATASET_VIEW_COUNT);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.dataset_view_count</code> table
+ * reference
+ */
+ public DatasetViewCount(Name alias) {
+ this(alias, DATASET_VIEW_COUNT);
+ }
+
+ /**
+ * Create a <code>texera_db.dataset_view_count</code> table reference
+ */
+ public DatasetViewCount() {
+ this(DSL.name("dataset_view_count"), null);
+ }
+
+ public <O extends Record> DatasetViewCount(Table<O> child, ForeignKey<O, DatasetViewCountRecord> key) {
+ super(child, key, DATASET_VIEW_COUNT);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public UniqueKey<DatasetViewCountRecord> getPrimaryKey() {
+ return Keys.DATASET_VIEW_COUNT_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<DatasetViewCountRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.DATASET_VIEW_COUNT__DATASET_VIEW_COUNT_DID_FKEY);
+ }
+
+ private transient Dataset _dataset;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.dataset</code> table.
+ */
+ public Dataset dataset() {
+ if (_dataset == null)
+ _dataset = new Dataset(this, Keys.DATASET_VIEW_COUNT__DATASET_VIEW_COUNT_DID_FKEY);
+
+ return _dataset;
+ }
+
+ @Override
+ public DatasetViewCount as(String alias) {
+ return new DatasetViewCount(DSL.name(alias), this);
+ }
+
+ @Override
+ public DatasetViewCount as(Name alias) {
+ return new DatasetViewCount(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public DatasetViewCount rename(String name) {
+ return new DatasetViewCount(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public DatasetViewCount rename(Name name) {
+ return new DatasetViewCount(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row2 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row2<Integer, Integer> fieldsRow() {
+ return (Row2) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/OperatorExecutions.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/OperatorExecutions.java
new file mode 100644
index 0000000000..0552e2e716
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/OperatorExecutions.java
@@ -0,0 +1,169 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.OperatorExecutionsRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row4;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class OperatorExecutions extends TableImpl<OperatorExecutionsRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.operator_executions</code>
+ */
+ public static final OperatorExecutions OPERATOR_EXECUTIONS = new OperatorExecutions();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<OperatorExecutionsRecord> getRecordType() {
+ return OperatorExecutionsRecord.class;
+ }
+
+ /**
+ * The column
+ * <code>texera_db.operator_executions.workflow_execution_id</code>.
+ */
+ public final TableField<OperatorExecutionsRecord, Integer> WORKFLOW_EXECUTION_ID = createField(DSL.name("workflow_execution_id"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.operator_executions.operator_id</code>.
+ */
+ public final TableField<OperatorExecutionsRecord, String> OPERATOR_ID = createField(DSL.name("operator_id"), SQLDataType.VARCHAR(100).nullable(false), this, "");
+
+ /**
+ * The column
+ * <code>texera_db.operator_executions.console_messages_uri</code>.
+ */
+ public final TableField<OperatorExecutionsRecord, String> CONSOLE_MESSAGES_URI = createField(DSL.name("console_messages_uri"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column
+ * <code>texera_db.operator_executions.console_messages_size</code>.
+ */
+ public final TableField<OperatorExecutionsRecord, Integer> CONSOLE_MESSAGES_SIZE = createField(DSL.name("console_messages_size"), SQLDataType.INTEGER.defaultValue(DSL.field("0", SQLDataType.INTEGER)), this, "");
+
+ private OperatorExecutions(Name alias, Table<OperatorExecutionsRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private OperatorExecutions(Name alias, Table<OperatorExecutionsRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.operator_executions</code> table
+ * reference
+ */
+ public OperatorExecutions(String alias) {
+ this(DSL.name(alias), OPERATOR_EXECUTIONS);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.operator_executions</code> table
+ * reference
+ */
+ public OperatorExecutions(Name alias) {
+ this(alias, OPERATOR_EXECUTIONS);
+ }
+
+ /**
+ * Create a <code>texera_db.operator_executions</code> table reference
+ */
+ public OperatorExecutions() {
+ this(DSL.name("operator_executions"), null);
+ }
+
+ public <O extends Record> OperatorExecutions(Table<O> child, ForeignKey<O, OperatorExecutionsRecord> key) {
+ super(child, key, OPERATOR_EXECUTIONS);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public UniqueKey<OperatorExecutionsRecord> getPrimaryKey() {
+ return Keys.OPERATOR_EXECUTIONS_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<OperatorExecutionsRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.OPERATOR_EXECUTIONS__OPERATOR_EXECUTIONS_WORKFLOW_EXECUTION_ID_FKEY);
+ }
+
+ private transient WorkflowExecutions _workflowExecutions;
+
+ /**
+ * Get the implicit join path to the
+ * <code>texera_db.workflow_executions</code> table.
+ */
+ public WorkflowExecutions workflowExecutions() {
+ if (_workflowExecutions == null)
+ _workflowExecutions = new WorkflowExecutions(this, Keys.OPERATOR_EXECUTIONS__OPERATOR_EXECUTIONS_WORKFLOW_EXECUTION_ID_FKEY);
+
+ return _workflowExecutions;
+ }
+
+ @Override
+ public OperatorExecutions as(String alias) {
+ return new OperatorExecutions(DSL.name(alias), this);
+ }
+
+ @Override
+ public OperatorExecutions as(Name alias) {
+ return new OperatorExecutions(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public OperatorExecutions rename(String name) {
+ return new OperatorExecutions(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public OperatorExecutions rename(Name name) {
+ return new OperatorExecutions(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row4 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row4<Integer, String, String, Integer> fieldsRow() {
+ return (Row4) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/OperatorPortExecutions.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/OperatorPortExecutions.java
new file mode 100644
index 0000000000..738f60d487
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/OperatorPortExecutions.java
@@ -0,0 +1,168 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.OperatorPortExecutionsRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row4;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class OperatorPortExecutions extends TableImpl<OperatorPortExecutionsRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.operator_port_executions</code>
+ */
+ public static final OperatorPortExecutions OPERATOR_PORT_EXECUTIONS = new OperatorPortExecutions();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<OperatorPortExecutionsRecord> getRecordType() {
+ return OperatorPortExecutionsRecord.class;
+ }
+
+ /**
+ * The column
+ * <code>texera_db.operator_port_executions.workflow_execution_id</code>.
+ */
+ public final TableField<OperatorPortExecutionsRecord, Integer> WORKFLOW_EXECUTION_ID = createField(DSL.name("workflow_execution_id"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column
+ * <code>texera_db.operator_port_executions.global_port_id</code>.
+ */
+ public final TableField<OperatorPortExecutionsRecord, String> GLOBAL_PORT_ID = createField(DSL.name("global_port_id"), SQLDataType.VARCHAR(200).nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.operator_port_executions.result_uri</code>.
+ */
+ public final TableField<OperatorPortExecutionsRecord, String> RESULT_URI = createField(DSL.name("result_uri"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column <code>texera_db.operator_port_executions.result_size</code>.
+ */
+ public final TableField<OperatorPortExecutionsRecord, Integer> RESULT_SIZE = createField(DSL.name("result_size"), SQLDataType.INTEGER.defaultValue(DSL.field("0", SQLDataType.INTEGER)), this, "");
+
+ private OperatorPortExecutions(Name alias, Table<OperatorPortExecutionsRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private OperatorPortExecutions(Name alias, Table<OperatorPortExecutionsRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.operator_port_executions</code> table
+ * reference
+ */
+ public OperatorPortExecutions(String alias) {
+ this(DSL.name(alias), OPERATOR_PORT_EXECUTIONS);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.operator_port_executions</code> table
+ * reference
+ */
+ public OperatorPortExecutions(Name alias) {
+ this(alias, OPERATOR_PORT_EXECUTIONS);
+ }
+
+ /**
+ * Create a <code>texera_db.operator_port_executions</code> table reference
+ */
+ public OperatorPortExecutions() {
+ this(DSL.name("operator_port_executions"), null);
+ }
+
+ public <O extends Record> OperatorPortExecutions(Table<O> child, ForeignKey<O, OperatorPortExecutionsRecord> key) {
+ super(child, key, OPERATOR_PORT_EXECUTIONS);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public UniqueKey<OperatorPortExecutionsRecord> getPrimaryKey() {
+ return Keys.OPERATOR_PORT_EXECUTIONS_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<OperatorPortExecutionsRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.OPERATOR_PORT_EXECUTIONS__OPERATOR_PORT_EXECUTIONS_WORKFLOW_EXECUTION_ID_FKEY);
+ }
+
+ private transient WorkflowExecutions _workflowExecutions;
+
+ /**
+ * Get the implicit join path to the
+ * <code>texera_db.workflow_executions</code> table.
+ */
+ public WorkflowExecutions workflowExecutions() {
+ if (_workflowExecutions == null)
+ _workflowExecutions = new WorkflowExecutions(this, Keys.OPERATOR_PORT_EXECUTIONS__OPERATOR_PORT_EXECUTIONS_WORKFLOW_EXECUTION_ID_FKEY);
+
+ return _workflowExecutions;
+ }
+
+ @Override
+ public OperatorPortExecutions as(String alias) {
+ return new OperatorPortExecutions(DSL.name(alias), this);
+ }
+
+ @Override
+ public OperatorPortExecutions as(Name alias) {
+ return new OperatorPortExecutions(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public OperatorPortExecutions rename(String name) {
+ return new OperatorPortExecutions(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public OperatorPortExecutions rename(Name name) {
+ return new OperatorPortExecutions(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row4 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row4<Integer, String, String, Integer> fieldsRow() {
+ return (Row4) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/Project.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/Project.java
new file mode 100644
index 0000000000..89ba4fde18
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/Project.java
@@ -0,0 +1,185 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.sql.Timestamp;
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.ProjectRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row6;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Project extends TableImpl<ProjectRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.project</code>
+ */
+ public static final Project PROJECT = new Project();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<ProjectRecord> getRecordType() {
+ return ProjectRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.project.pid</code>.
+ */
+ public final TableField<ProjectRecord, Integer> PID = createField(DSL.name("pid"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
+
+ /**
+ * The column <code>texera_db.project.name</code>.
+ */
+ public final TableField<ProjectRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(128).nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.project.description</code>.
+ */
+ public final TableField<ProjectRecord, String> DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(10000), this, "");
+
+ /**
+ * The column <code>texera_db.project.owner_id</code>.
+ */
+ public final TableField<ProjectRecord, Integer> OWNER_ID = createField(DSL.name("owner_id"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.project.creation_time</code>.
+ */
+ public final TableField<ProjectRecord, Timestamp> CREATION_TIME = createField(DSL.name("creation_time"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, "");
+
+ /**
+ * The column <code>texera_db.project.color</code>.
+ */
+ public final TableField<ProjectRecord, String> COLOR = createField(DSL.name("color"), SQLDataType.VARCHAR(6), this, "");
+
+ private Project(Name alias, Table<ProjectRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private Project(Name alias, Table<ProjectRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.project</code> table reference
+ */
+ public Project(String alias) {
+ this(DSL.name(alias), PROJECT);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.project</code> table reference
+ */
+ public Project(Name alias) {
+ this(alias, PROJECT);
+ }
+
+ /**
+ * Create a <code>texera_db.project</code> table reference
+ */
+ public Project() {
+ this(DSL.name("project"), null);
+ }
+
+ public <O extends Record> Project(Table<O> child, ForeignKey<O, ProjectRecord> key) {
+ super(child, key, PROJECT);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public Identity<ProjectRecord, Integer> getIdentity() {
+ return (Identity<ProjectRecord, Integer>) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey<ProjectRecord> getPrimaryKey() {
+ return Keys.PROJECT_PKEY;
+ }
+
+ @Override
+ public List<UniqueKey<ProjectRecord>> getUniqueKeys() {
+ return Arrays.asList(Keys.PROJECT_OWNER_ID_NAME_KEY);
+ }
+
+ @Override
+ public List<ForeignKey<ProjectRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.PROJECT__PROJECT_OWNER_ID_FKEY);
+ }
+
+ private transient User _user;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.user</code> table.
+ */
+ public User user() {
+ if (_user == null)
+ _user = new User(this, Keys.PROJECT__PROJECT_OWNER_ID_FKEY);
+
+ return _user;
+ }
+
+ @Override
+ public Project as(String alias) {
+ return new Project(DSL.name(alias), this);
+ }
+
+ @Override
+ public Project as(Name alias) {
+ return new Project(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Project rename(String name) {
+ return new Project(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Project rename(Name name) {
+ return new Project(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row6 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row6<Integer, String, String, Integer, Timestamp, String> fieldsRow() {
+ return (Row6) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/ProjectUserAccess.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/ProjectUserAccess.java
new file mode 100644
index 0000000000..23ca81858c
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/ProjectUserAccess.java
@@ -0,0 +1,172 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.enums.PrivilegeEnum;
+import org.apache.texera.dao.jooq.generated.tables.records.ProjectUserAccessRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row3;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class ProjectUserAccess extends TableImpl<ProjectUserAccessRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.project_user_access</code>
+ */
+ public static final ProjectUserAccess PROJECT_USER_ACCESS = new ProjectUserAccess();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<ProjectUserAccessRecord> getRecordType() {
+ return ProjectUserAccessRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.project_user_access.uid</code>.
+ */
+ public final TableField<ProjectUserAccessRecord, Integer> UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.project_user_access.pid</code>.
+ */
+ public final TableField<ProjectUserAccessRecord, Integer> PID = createField(DSL.name("pid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.project_user_access.privilege</code>.
+ */
+ public final TableField<ProjectUserAccessRecord, PrivilegeEnum> PRIVILEGE = createField(DSL.name("privilege"), SQLDataType.VARCHAR.nullable(false).defaultValue(DSL.field("'NONE'::texera_db.privilege_enum", SQLDataType.VARCHAR)).asEnumDataType(org.apache.texera.dao.jooq.generated.enums.PrivilegeEnum.class), this, "");
+
+ private ProjectUserAccess(Name alias, Table<ProjectUserAccessRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private ProjectUserAccess(Name alias, Table<ProjectUserAccessRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.project_user_access</code> table
+ * reference
+ */
+ public ProjectUserAccess(String alias) {
+ this(DSL.name(alias), PROJECT_USER_ACCESS);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.project_user_access</code> table
+ * reference
+ */
+ public ProjectUserAccess(Name alias) {
+ this(alias, PROJECT_USER_ACCESS);
+ }
+
+ /**
+ * Create a <code>texera_db.project_user_access</code> table reference
+ */
+ public ProjectUserAccess() {
+ this(DSL.name("project_user_access"), null);
+ }
+
+ public <O extends Record> ProjectUserAccess(Table<O> child, ForeignKey<O, ProjectUserAccessRecord> key) {
+ super(child, key, PROJECT_USER_ACCESS);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public UniqueKey<ProjectUserAccessRecord> getPrimaryKey() {
+ return Keys.PROJECT_USER_ACCESS_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<ProjectUserAccessRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.PROJECT_USER_ACCESS__PROJECT_USER_ACCESS_UID_FKEY, Keys.PROJECT_USER_ACCESS__PROJECT_USER_ACCESS_PID_FKEY);
+ }
+
+ private transient User _user;
+ private transient Project _project;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.user</code> table.
+ */
+ public User user() {
+ if (_user == null)
+ _user = new User(this, Keys.PROJECT_USER_ACCESS__PROJECT_USER_ACCESS_UID_FKEY);
+
+ return _user;
+ }
+
+ /**
+ * Get the implicit join path to the <code>texera_db.project</code> table.
+ */
+ public Project project() {
+ if (_project == null)
+ _project = new Project(this, Keys.PROJECT_USER_ACCESS__PROJECT_USER_ACCESS_PID_FKEY);
+
+ return _project;
+ }
+
+ @Override
+ public ProjectUserAccess as(String alias) {
+ return new ProjectUserAccess(DSL.name(alias), this);
+ }
+
+ @Override
+ public ProjectUserAccess as(Name alias) {
+ return new ProjectUserAccess(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public ProjectUserAccess rename(String name) {
+ return new ProjectUserAccess(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public ProjectUserAccess rename(Name name) {
+ return new ProjectUserAccess(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row3 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row3<Integer, Integer, PrivilegeEnum> fieldsRow() {
+ return (Row3) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/PublicProject.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/PublicProject.java
new file mode 100644
index 0000000000..ce6f18b52e
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/PublicProject.java
@@ -0,0 +1,153 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.PublicProjectRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row2;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class PublicProject extends TableImpl<PublicProjectRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.public_project</code>
+ */
+ public static final PublicProject PUBLIC_PROJECT = new PublicProject();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<PublicProjectRecord> getRecordType() {
+ return PublicProjectRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.public_project.pid</code>.
+ */
+ public final TableField<PublicProjectRecord, Integer> PID = createField(DSL.name("pid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.public_project.uid</code>.
+ */
+ public final TableField<PublicProjectRecord, Integer> UID = createField(DSL.name("uid"), SQLDataType.INTEGER, this, "");
+
+ private PublicProject(Name alias, Table<PublicProjectRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private PublicProject(Name alias, Table<PublicProjectRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.public_project</code> table reference
+ */
+ public PublicProject(String alias) {
+ this(DSL.name(alias), PUBLIC_PROJECT);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.public_project</code> table reference
+ */
+ public PublicProject(Name alias) {
+ this(alias, PUBLIC_PROJECT);
+ }
+
+ /**
+ * Create a <code>texera_db.public_project</code> table reference
+ */
+ public PublicProject() {
+ this(DSL.name("public_project"), null);
+ }
+
+ public <O extends Record> PublicProject(Table<O> child, ForeignKey<O, PublicProjectRecord> key) {
+ super(child, key, PUBLIC_PROJECT);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public UniqueKey<PublicProjectRecord> getPrimaryKey() {
+ return Keys.PUBLIC_PROJECT_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<PublicProjectRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.PUBLIC_PROJECT__PUBLIC_PROJECT_PID_FKEY);
+ }
+
+ private transient Project _project;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.project</code> table.
+ */
+ public Project project() {
+ if (_project == null)
+ _project = new Project(this, Keys.PUBLIC_PROJECT__PUBLIC_PROJECT_PID_FKEY);
+
+ return _project;
+ }
+
+ @Override
+ public PublicProject as(String alias) {
+ return new PublicProject(DSL.name(alias), this);
+ }
+
+ @Override
+ public PublicProject as(Name alias) {
+ return new PublicProject(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public PublicProject rename(String name) {
+ return new PublicProject(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public PublicProject rename(Name name) {
+ return new PublicProject(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row2 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row2<Integer, Integer> fieldsRow() {
+ return (Row2) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/SiteSettings.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/SiteSettings.java
new file mode 100644
index 0000000000..21eb0f5a48
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/SiteSettings.java
@@ -0,0 +1,145 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.sql.Timestamp;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.SiteSettingsRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row4;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class SiteSettings extends TableImpl<SiteSettingsRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.site_settings</code>
+ */
+ public static final SiteSettings SITE_SETTINGS = new SiteSettings();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<SiteSettingsRecord> getRecordType() {
+ return SiteSettingsRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.site_settings.key</code>.
+ */
+ public final TableField<SiteSettingsRecord, String> KEY = createField(DSL.name("key"), SQLDataType.VARCHAR(255).nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.site_settings.value</code>.
+ */
+ public final TableField<SiteSettingsRecord, String> VALUE = createField(DSL.name("value"), SQLDataType.CLOB.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.site_settings.updated_by</code>.
+ */
+ public final TableField<SiteSettingsRecord, String> UPDATED_BY = createField(DSL.name("updated_by"), SQLDataType.VARCHAR(50), this, "");
+
+ /**
+ * The column <code>texera_db.site_settings.updated_at</code>.
+ */
+ public final TableField<SiteSettingsRecord, Timestamp> UPDATED_AT = createField(DSL.name("updated_at"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, "");
+
+ private SiteSettings(Name alias, Table<SiteSettingsRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private SiteSettings(Name alias, Table<SiteSettingsRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.site_settings</code> table reference
+ */
+ public SiteSettings(String alias) {
+ this(DSL.name(alias), SITE_SETTINGS);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.site_settings</code> table reference
+ */
+ public SiteSettings(Name alias) {
+ this(alias, SITE_SETTINGS);
+ }
+
+ /**
+ * Create a <code>texera_db.site_settings</code> table reference
+ */
+ public SiteSettings() {
+ this(DSL.name("site_settings"), null);
+ }
+
+ public <O extends Record> SiteSettings(Table<O> child, ForeignKey<O, SiteSettingsRecord> key) {
+ super(child, key, SITE_SETTINGS);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public UniqueKey<SiteSettingsRecord> getPrimaryKey() {
+ return Keys.SITE_SETTINGS_PKEY;
+ }
+
+ @Override
+ public SiteSettings as(String alias) {
+ return new SiteSettings(DSL.name(alias), this);
+ }
+
+ @Override
+ public SiteSettings as(Name alias) {
+ return new SiteSettings(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public SiteSettings rename(String name) {
+ return new SiteSettings(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public SiteSettings rename(Name name) {
+ return new SiteSettings(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row4 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row4<String, String, String, Timestamp> fieldsRow() {
+ return (Row4) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/User.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/User.java
new file mode 100644
index 0000000000..9f02f532a3
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/User.java
@@ -0,0 +1,193 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.time.OffsetDateTime;
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.enums.UserRoleEnum;
+import org.apache.texera.dao.jooq.generated.tables.records.UserRecord;
+import org.jooq.Check;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row9;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.Internal;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class User extends TableImpl<UserRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.user</code>
+ */
+ public static final User USER = new User();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<UserRecord> getRecordType() {
+ return UserRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.user.uid</code>.
+ */
+ public final TableField<UserRecord, Integer> UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
+
+ /**
+ * The column <code>texera_db.user.name</code>.
+ */
+ public final TableField<UserRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(256).nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.user.email</code>.
+ */
+ public final TableField<UserRecord, String> EMAIL = createField(DSL.name("email"), SQLDataType.VARCHAR(256), this, "");
+
+ /**
+ * The column <code>texera_db.user.password</code>.
+ */
+ public final TableField<UserRecord, String> PASSWORD = createField(DSL.name("password"), SQLDataType.VARCHAR(256), this, "");
+
+ /**
+ * The column <code>texera_db.user.google_id</code>.
+ */
+ public final TableField<UserRecord, String> GOOGLE_ID = createField(DSL.name("google_id"), SQLDataType.VARCHAR(256), this, "");
+
+ /**
+ * The column <code>texera_db.user.google_avatar</code>.
+ */
+ public final TableField<UserRecord, String> GOOGLE_AVATAR = createField(DSL.name("google_avatar"), SQLDataType.VARCHAR(100), this, "");
+
+ /**
+ * The column <code>texera_db.user.role</code>.
+ */
+ public final TableField<UserRecord, UserRoleEnum> ROLE = createField(DSL.name("role"), SQLDataType.VARCHAR.nullable(false).defaultValue(DSL.field("'INACTIVE'::texera_db.user_role_enum", SQLDataType.VARCHAR)).asEnumDataType(org.apache.texera.dao.jooq.generated.enums.UserRoleEnum.class), this, "");
+
+ /**
+ * The column <code>texera_db.user.comment</code>.
+ */
+ public final TableField<UserRecord, String> COMMENT = createField(DSL.name("comment"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column <code>texera_db.user.account_creation_time</code>.
+ */
+ public final TableField<UserRecord, OffsetDateTime> ACCOUNT_CREATION_TIME = createField(DSL.name("account_creation_time"), SQLDataType.TIMESTAMPWITHTIMEZONE(6).nullable(false).defaultValue(DSL.field("now()", SQLDataType.TIMESTAMPWITHTIMEZONE)), this, "");
+
+ private User(Name alias, Table<UserRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private User(Name alias, Table<UserRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.user</code> table reference
+ */
+ public User(String alias) {
+ this(DSL.name(alias), USER);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.user</code> table reference
+ */
+ public User(Name alias) {
+ this(alias, USER);
+ }
+
+ /**
+ * Create a <code>texera_db.user</code> table reference
+ */
+ public User() {
+ this(DSL.name("user"), null);
+ }
+
+ public <O extends Record> User(Table<O> child, ForeignKey<O, UserRecord> key) {
+ super(child, key, USER);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public Identity<UserRecord, Integer> getIdentity() {
+ return (Identity<UserRecord, Integer>) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey<UserRecord> getPrimaryKey() {
+ return Keys.USER_PKEY;
+ }
+
+ @Override
+ public List<UniqueKey<UserRecord>> getUniqueKeys() {
+ return Arrays.asList(Keys.USER_EMAIL_KEY, Keys.USER_GOOGLE_ID_KEY);
+ }
+
+ @Override
+ public List<Check<UserRecord>> getChecks() {
+ return Arrays.asList(
+ Internal.createCheck(this, DSL.name("ck_nulltest"), "(((password IS NOT NULL) OR (google_id IS NOT NULL)))", true)
+ );
+ }
+
+ @Override
+ public User as(String alias) {
+ return new User(DSL.name(alias), this);
+ }
+
+ @Override
+ public User as(Name alias) {
+ return new User(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public User rename(String name) {
+ return new User(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public User rename(Name name) {
+ return new User(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row9 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row9<Integer, String, String, String, String, String, UserRoleEnum, String, OffsetDateTime> fieldsRow() {
+ return (Row9) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/UserAction.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/UserAction.java
new file mode 100644
index 0000000000..07f0a1faeb
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/UserAction.java
@@ -0,0 +1,186 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.sql.Timestamp;
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.enums.ActionEnum;
+import org.apache.texera.dao.jooq.generated.tables.records.UserActionRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row7;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class UserAction extends TableImpl<UserActionRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.user_action</code>
+ */
+ public static final UserAction USER_ACTION = new UserAction();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<UserActionRecord> getRecordType() {
+ return UserActionRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.user_action.user_action_id</code>.
+ */
+ public final TableField<UserActionRecord, Long> USER_ACTION_ID = createField(DSL.name("user_action_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
+
+ /**
+ * The column <code>texera_db.user_action.uid</code>.
+ */
+ public final TableField<UserActionRecord, Integer> UID = createField(DSL.name("uid"), SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column <code>texera_db.user_action.ip</code>.
+ */
+ public final TableField<UserActionRecord, String> IP = createField(DSL.name("ip"), SQLDataType.VARCHAR(15), this, "");
+
+ /**
+ * The column <code>texera_db.user_action.action_time</code>.
+ */
+ public final TableField<UserActionRecord, Timestamp> ACTION_TIME = createField(DSL.name("action_time"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, "");
+
+ /**
+ * The column <code>texera_db.user_action.resource_type</code>.
+ */
+ public final TableField<UserActionRecord, String> RESOURCE_TYPE = createField(DSL.name("resource_type"), SQLDataType.VARCHAR(15).nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.user_action.resource_id</code>.
+ */
+ public final TableField<UserActionRecord, Integer> RESOURCE_ID = createField(DSL.name("resource_id"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.user_action.action</code>.
+ */
+ public final TableField<UserActionRecord, ActionEnum> ACTION = createField(DSL.name("action"), SQLDataType.VARCHAR.nullable(false).asEnumDataType(org.apache.texera.dao.jooq.generated.enums.ActionEnum.class), this, "");
+
+ private UserAction(Name alias, Table<UserActionRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private UserAction(Name alias, Table<UserActionRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.user_action</code> table reference
+ */
+ public UserAction(String alias) {
+ this(DSL.name(alias), USER_ACTION);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.user_action</code> table reference
+ */
+ public UserAction(Name alias) {
+ this(alias, USER_ACTION);
+ }
+
+ /**
+ * Create a <code>texera_db.user_action</code> table reference
+ */
+ public UserAction() {
+ this(DSL.name("user_action"), null);
+ }
+
+ public <O extends Record> UserAction(Table<O> child, ForeignKey<O, UserActionRecord> key) {
+ super(child, key, USER_ACTION);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public Identity<UserActionRecord, Long> getIdentity() {
+ return (Identity<UserActionRecord, Long>) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey<UserActionRecord> getPrimaryKey() {
+ return Keys.USER_ACTION_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<UserActionRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.USER_ACTION__USER_ACTION_UID_FKEY);
+ }
+
+ private transient User _user;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.user</code> table.
+ */
+ public User user() {
+ if (_user == null)
+ _user = new User(this, Keys.USER_ACTION__USER_ACTION_UID_FKEY);
+
+ return _user;
+ }
+
+ @Override
+ public UserAction as(String alias) {
+ return new UserAction(DSL.name(alias), this);
+ }
+
+ @Override
+ public UserAction as(Name alias) {
+ return new UserAction(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public UserAction rename(String name) {
+ return new UserAction(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public UserAction rename(Name name) {
+ return new UserAction(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row7 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row7<Long, Integer, String, Timestamp, String, Integer, ActionEnum> fieldsRow() {
+ return (Row7) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/UserConfig.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/UserConfig.java
new file mode 100644
index 0000000000..9785d61cf8
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/UserConfig.java
@@ -0,0 +1,158 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.UserConfigRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row3;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class UserConfig extends TableImpl<UserConfigRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.user_config</code>
+ */
+ public static final UserConfig USER_CONFIG = new UserConfig();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<UserConfigRecord> getRecordType() {
+ return UserConfigRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.user_config.uid</code>.
+ */
+ public final TableField<UserConfigRecord, Integer> UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.user_config.key</code>.
+ */
+ public final TableField<UserConfigRecord, String> KEY = createField(DSL.name("key"), SQLDataType.VARCHAR(256).nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.user_config.value</code>.
+ */
+ public final TableField<UserConfigRecord, String> VALUE = createField(DSL.name("value"), SQLDataType.CLOB.nullable(false), this, "");
+
+ private UserConfig(Name alias, Table<UserConfigRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private UserConfig(Name alias, Table<UserConfigRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.user_config</code> table reference
+ */
+ public UserConfig(String alias) {
+ this(DSL.name(alias), USER_CONFIG);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.user_config</code> table reference
+ */
+ public UserConfig(Name alias) {
+ this(alias, USER_CONFIG);
+ }
+
+ /**
+ * Create a <code>texera_db.user_config</code> table reference
+ */
+ public UserConfig() {
+ this(DSL.name("user_config"), null);
+ }
+
+ public <O extends Record> UserConfig(Table<O> child, ForeignKey<O, UserConfigRecord> key) {
+ super(child, key, USER_CONFIG);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public UniqueKey<UserConfigRecord> getPrimaryKey() {
+ return Keys.USER_CONFIG_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<UserConfigRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.USER_CONFIG__USER_CONFIG_UID_FKEY);
+ }
+
+ private transient User _user;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.user</code> table.
+ */
+ public User user() {
+ if (_user == null)
+ _user = new User(this, Keys.USER_CONFIG__USER_CONFIG_UID_FKEY);
+
+ return _user;
+ }
+
+ @Override
+ public UserConfig as(String alias) {
+ return new UserConfig(DSL.name(alias), this);
+ }
+
+ @Override
+ public UserConfig as(Name alias) {
+ return new UserConfig(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public UserConfig rename(String name) {
+ return new UserConfig(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public UserConfig rename(Name name) {
+ return new UserConfig(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row3 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row3<Integer, String, String> fieldsRow() {
+ return (Row3) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/UserLastActiveTime.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/UserLastActiveTime.java
new file mode 100644
index 0000000000..ecb3c3e840
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/UserLastActiveTime.java
@@ -0,0 +1,156 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.time.OffsetDateTime;
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.UserLastActiveTimeRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row2;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class UserLastActiveTime extends TableImpl<UserLastActiveTimeRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.user_last_active_time</code>
+ */
+ public static final UserLastActiveTime USER_LAST_ACTIVE_TIME = new UserLastActiveTime();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<UserLastActiveTimeRecord> getRecordType() {
+ return UserLastActiveTimeRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.user_last_active_time.uid</code>.
+ */
+ public final TableField<UserLastActiveTimeRecord, Integer> UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.user_last_active_time.last_active_time</code>.
+ */
+ public final TableField<UserLastActiveTimeRecord, OffsetDateTime> LAST_ACTIVE_TIME = createField(DSL.name("last_active_time"), SQLDataType.TIMESTAMPWITHTIMEZONE(6), this, "");
+
+ private UserLastActiveTime(Name alias, Table<UserLastActiveTimeRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private UserLastActiveTime(Name alias, Table<UserLastActiveTimeRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.user_last_active_time</code> table
+ * reference
+ */
+ public UserLastActiveTime(String alias) {
+ this(DSL.name(alias), USER_LAST_ACTIVE_TIME);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.user_last_active_time</code> table
+ * reference
+ */
+ public UserLastActiveTime(Name alias) {
+ this(alias, USER_LAST_ACTIVE_TIME);
+ }
+
+ /**
+ * Create a <code>texera_db.user_last_active_time</code> table reference
+ */
+ public UserLastActiveTime() {
+ this(DSL.name("user_last_active_time"), null);
+ }
+
+ public <O extends Record> UserLastActiveTime(Table<O> child, ForeignKey<O, UserLastActiveTimeRecord> key) {
+ super(child, key, USER_LAST_ACTIVE_TIME);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public UniqueKey<UserLastActiveTimeRecord> getPrimaryKey() {
+ return Keys.USER_LAST_ACTIVE_TIME_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<UserLastActiveTimeRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.USER_LAST_ACTIVE_TIME__USER_LAST_ACTIVE_TIME_UID_FKEY);
+ }
+
+ private transient User _user;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.user</code> table.
+ */
+ public User user() {
+ if (_user == null)
+ _user = new User(this, Keys.USER_LAST_ACTIVE_TIME__USER_LAST_ACTIVE_TIME_UID_FKEY);
+
+ return _user;
+ }
+
+ @Override
+ public UserLastActiveTime as(String alias) {
+ return new UserLastActiveTime(DSL.name(alias), this);
+ }
+
+ @Override
+ public UserLastActiveTime as(Name alias) {
+ return new UserLastActiveTime(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public UserLastActiveTime rename(String name) {
+ return new UserLastActiveTime(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public UserLastActiveTime rename(Name name) {
+ return new UserLastActiveTime(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row2 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row2<Integer, OffsetDateTime> fieldsRow() {
+ return (Row2) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/Workflow.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/Workflow.java
new file mode 100644
index 0000000000..3dd2f781e2
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/Workflow.java
@@ -0,0 +1,166 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.sql.Timestamp;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row7;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Workflow extends TableImpl<WorkflowRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.workflow</code>
+ */
+ public static final Workflow WORKFLOW = new Workflow();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<WorkflowRecord> getRecordType() {
+ return WorkflowRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.workflow.wid</code>.
+ */
+ public final TableField<WorkflowRecord, Integer> WID = createField(DSL.name("wid"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
+
+ /**
+ * The column <code>texera_db.workflow.name</code>.
+ */
+ public final TableField<WorkflowRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(128).nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.workflow.description</code>.
+ */
+ public final TableField<WorkflowRecord, String> DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(500), this, "");
+
+ /**
+ * The column <code>texera_db.workflow.content</code>.
+ */
+ public final TableField<WorkflowRecord, String> CONTENT = createField(DSL.name("content"), SQLDataType.CLOB.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.workflow.creation_time</code>.
+ */
+ public final TableField<WorkflowRecord, Timestamp> CREATION_TIME = createField(DSL.name("creation_time"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, "");
+
+ /**
+ * The column <code>texera_db.workflow.last_modified_time</code>.
+ */
+ public final TableField<WorkflowRecord, Timestamp> LAST_MODIFIED_TIME = createField(DSL.name("last_modified_time"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, "");
+
+ /**
+ * The column <code>texera_db.workflow.is_public</code>.
+ */
+ public final TableField<WorkflowRecord, Boolean> IS_PUBLIC = createField(DSL.name("is_public"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field("false", SQLDataType.BOOLEAN)), this, "");
+
+ private Workflow(Name alias, Table<WorkflowRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private Workflow(Name alias, Table<WorkflowRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow</code> table reference
+ */
+ public Workflow(String alias) {
+ this(DSL.name(alias), WORKFLOW);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow</code> table reference
+ */
+ public Workflow(Name alias) {
+ this(alias, WORKFLOW);
+ }
+
+ /**
+ * Create a <code>texera_db.workflow</code> table reference
+ */
+ public Workflow() {
+ this(DSL.name("workflow"), null);
+ }
+
+ public <O extends Record> Workflow(Table<O> child, ForeignKey<O, WorkflowRecord> key) {
+ super(child, key, WORKFLOW);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public Identity<WorkflowRecord, Integer> getIdentity() {
+ return (Identity<WorkflowRecord, Integer>) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey<WorkflowRecord> getPrimaryKey() {
+ return Keys.WORKFLOW_PKEY;
+ }
+
+ @Override
+ public Workflow as(String alias) {
+ return new Workflow(DSL.name(alias), this);
+ }
+
+ @Override
+ public Workflow as(Name alias) {
+ return new Workflow(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Workflow rename(String name) {
+ return new Workflow(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Workflow rename(Name name) {
+ return new Workflow(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row7 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row7<Integer, String, String, String, Timestamp, Timestamp, Boolean> fieldsRow() {
+ return (Row7) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowComputingUnit.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowComputingUnit.java
new file mode 100644
index 0000000000..15b5c77533
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowComputingUnit.java
@@ -0,0 +1,174 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.sql.Timestamp;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.enums.WorkflowComputingUnitTypeEnum;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowComputingUnitRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row8;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowComputingUnit extends TableImpl<WorkflowComputingUnitRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.workflow_computing_unit</code>
+ */
+ public static final WorkflowComputingUnit WORKFLOW_COMPUTING_UNIT = new WorkflowComputingUnit();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<WorkflowComputingUnitRecord> getRecordType() {
+ return WorkflowComputingUnitRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.workflow_computing_unit.uid</code>.
+ */
+ public final TableField<WorkflowComputingUnitRecord, Integer> UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_computing_unit.name</code>.
+ */
+ public final TableField<WorkflowComputingUnitRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(128).nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_computing_unit.cuid</code>.
+ */
+ public final TableField<WorkflowComputingUnitRecord, Integer> CUID = createField(DSL.name("cuid"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_computing_unit.creation_time</code>.
+ */
+ public final TableField<WorkflowComputingUnitRecord, Timestamp> CREATION_TIME = createField(DSL.name("creation_time"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_computing_unit.terminate_time</code>.
+ */
+ public final TableField<WorkflowComputingUnitRecord, Timestamp> TERMINATE_TIME = createField(DSL.name("terminate_time"), SQLDataType.TIMESTAMP(0), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_computing_unit.type</code>.
+ */
+ public final TableField<WorkflowComputingUnitRecord, WorkflowComputingUnitTypeEnum> TYPE = createField(DSL.name("type"), SQLDataType.VARCHAR.asEnumDataType(org.apache.texera.dao.jooq.generated.enums.WorkflowComputingUnitTypeEnum.class), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_computing_unit.uri</code>.
+ */
+ public final TableField<WorkflowComputingUnitRecord, String> URI = createField(DSL.name("uri"), SQLDataType.CLOB.nullable(false).defaultValue(DSL.field("''::text", SQLDataType.CLOB)), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_computing_unit.resource</code>.
+ */
+ public final TableField<WorkflowComputingUnitRecord, String> RESOURCE = createField(DSL.name("resource"), SQLDataType.CLOB.defaultValue(DSL.field("''::text", SQLDataType.CLOB)), this, "");
+
+ private WorkflowComputingUnit(Name alias, Table<WorkflowComputingUnitRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private WorkflowComputingUnit(Name alias, Table<WorkflowComputingUnitRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow_computing_unit</code> table
+ * reference
+ */
+ public WorkflowComputingUnit(String alias) {
+ this(DSL.name(alias), WORKFLOW_COMPUTING_UNIT);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow_computing_unit</code> table
+ * reference
+ */
+ public WorkflowComputingUnit(Name alias) {
+ this(alias, WORKFLOW_COMPUTING_UNIT);
+ }
+
+ /**
+ * Create a <code>texera_db.workflow_computing_unit</code> table reference
+ */
+ public WorkflowComputingUnit() {
+ this(DSL.name("workflow_computing_unit"), null);
+ }
+
+ public <O extends Record> WorkflowComputingUnit(Table<O> child, ForeignKey<O, WorkflowComputingUnitRecord> key) {
+ super(child, key, WORKFLOW_COMPUTING_UNIT);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public Identity<WorkflowComputingUnitRecord, Integer> getIdentity() {
+ return (Identity<WorkflowComputingUnitRecord, Integer>) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey<WorkflowComputingUnitRecord> getPrimaryKey() {
+ return Keys.WORKFLOW_COMPUTING_UNIT_PKEY;
+ }
+
+ @Override
+ public WorkflowComputingUnit as(String alias) {
+ return new WorkflowComputingUnit(DSL.name(alias), this);
+ }
+
+ @Override
+ public WorkflowComputingUnit as(Name alias) {
+ return new WorkflowComputingUnit(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public WorkflowComputingUnit rename(String name) {
+ return new WorkflowComputingUnit(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public WorkflowComputingUnit rename(Name name) {
+ return new WorkflowComputingUnit(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row8 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row8<Integer, String, Integer, Timestamp, Timestamp, WorkflowComputingUnitTypeEnum, String, String> fieldsRow() {
+ return (Row8) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowExecutions.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowExecutions.java
new file mode 100644
index 0000000000..37cec4804c
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowExecutions.java
@@ -0,0 +1,247 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.sql.Timestamp;
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowExecutionsRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row14;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowExecutions extends TableImpl<WorkflowExecutionsRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.workflow_executions</code>
+ */
+ public static final WorkflowExecutions WORKFLOW_EXECUTIONS = new WorkflowExecutions();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<WorkflowExecutionsRecord> getRecordType() {
+ return WorkflowExecutionsRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.workflow_executions.eid</code>.
+ */
+ public final TableField<WorkflowExecutionsRecord, Integer> EID = createField(DSL.name("eid"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_executions.vid</code>.
+ */
+ public final TableField<WorkflowExecutionsRecord, Integer> VID = createField(DSL.name("vid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_executions.uid</code>.
+ */
+ public final TableField<WorkflowExecutionsRecord, Integer> UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_executions.cuid</code>.
+ */
+ public final TableField<WorkflowExecutionsRecord, Integer> CUID = createField(DSL.name("cuid"), SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column <code>texera_db.workflow_executions.status</code>.
+ */
+ public final TableField<WorkflowExecutionsRecord, Short> STATUS = createField(DSL.name("status"), SQLDataType.SMALLINT.nullable(false).defaultValue(DSL.field("1", SQLDataType.SMALLINT)), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_executions.result</code>.
+ */
+ public final TableField<WorkflowExecutionsRecord, String> RESULT = createField(DSL.name("result"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column <code>texera_db.workflow_executions.starting_time</code>.
+ */
+ public final TableField<WorkflowExecutionsRecord, Timestamp> STARTING_TIME = createField(DSL.name("starting_time"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_executions.last_update_time</code>.
+ */
+ public final TableField<WorkflowExecutionsRecord, Timestamp> LAST_UPDATE_TIME = createField(DSL.name("last_update_time"), SQLDataType.TIMESTAMP(0), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_executions.bookmarked</code>.
+ */
+ public final TableField<WorkflowExecutionsRecord, Boolean> BOOKMARKED = createField(DSL.name("bookmarked"), SQLDataType.BOOLEAN.defaultValue(DSL.field("false", SQLDataType.BOOLEAN)), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_executions.name</code>.
+ */
+ public final TableField<WorkflowExecutionsRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(128).nullable(false).defaultValue(DSL.field("'Untitled Execution'::character varying", SQLDataType.VARCHAR)), this, "");
+
+ /**
+ * The column
+ * <code>texera_db.workflow_executions.environment_version</code>.
+ */
+ public final TableField<WorkflowExecutionsRecord, String> ENVIRONMENT_VERSION = createField(DSL.name("environment_version"), SQLDataType.VARCHAR(128).nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_executions.log_location</code>.
+ */
+ public final TableField<WorkflowExecutionsRecord, String> LOG_LOCATION = createField(DSL.name("log_location"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column <code>texera_db.workflow_executions.runtime_stats_uri</code>.
+ */
+ public final TableField<WorkflowExecutionsRecord, String> RUNTIME_STATS_URI = createField(DSL.name("runtime_stats_uri"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column <code>texera_db.workflow_executions.runtime_stats_size</code>.
+ */
+ public final TableField<WorkflowExecutionsRecord, Integer> RUNTIME_STATS_SIZE = createField(DSL.name("runtime_stats_size"), SQLDataType.INTEGER.defaultValue(DSL.field("0", SQLDataType.INTEGER)), this, "");
+
+ private WorkflowExecutions(Name alias, Table<WorkflowExecutionsRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private WorkflowExecutions(Name alias, Table<WorkflowExecutionsRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow_executions</code> table
+ * reference
+ */
+ public WorkflowExecutions(String alias) {
+ this(DSL.name(alias), WORKFLOW_EXECUTIONS);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow_executions</code> table
+ * reference
+ */
+ public WorkflowExecutions(Name alias) {
+ this(alias, WORKFLOW_EXECUTIONS);
+ }
+
+ /**
+ * Create a <code>texera_db.workflow_executions</code> table reference
+ */
+ public WorkflowExecutions() {
+ this(DSL.name("workflow_executions"), null);
+ }
+
+ public <O extends Record> WorkflowExecutions(Table<O> child, ForeignKey<O, WorkflowExecutionsRecord> key) {
+ super(child, key, WORKFLOW_EXECUTIONS);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public Identity<WorkflowExecutionsRecord, Integer> getIdentity() {
+ return (Identity<WorkflowExecutionsRecord, Integer>) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey<WorkflowExecutionsRecord> getPrimaryKey() {
+ return Keys.WORKFLOW_EXECUTIONS_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<WorkflowExecutionsRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.WORKFLOW_EXECUTIONS__WORKFLOW_EXECUTIONS_VID_FKEY, Keys.WORKFLOW_EXECUTIONS__WORKFLOW_EXECUTIONS_UID_FKEY, Keys.WORKFLOW_EXECUTIONS__WORKFLOW_EXECUTIONS_CUID_FKEY);
+ }
+
+ private transient WorkflowVersion _workflowVersion;
+ private transient User _user;
+ private transient WorkflowComputingUnit _workflowComputingUnit;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.workflow_version</code>
+ * table.
+ */
+ public WorkflowVersion workflowVersion() {
+ if (_workflowVersion == null)
+ _workflowVersion = new WorkflowVersion(this, Keys.WORKFLOW_EXECUTIONS__WORKFLOW_EXECUTIONS_VID_FKEY);
+
+ return _workflowVersion;
+ }
+
+ /**
+ * Get the implicit join path to the <code>texera_db.user</code> table.
+ */
+ public User user() {
+ if (_user == null)
+ _user = new User(this, Keys.WORKFLOW_EXECUTIONS__WORKFLOW_EXECUTIONS_UID_FKEY);
+
+ return _user;
+ }
+
+ /**
+ * Get the implicit join path to the
+ * <code>texera_db.workflow_computing_unit</code> table.
+ */
+ public WorkflowComputingUnit workflowComputingUnit() {
+ if (_workflowComputingUnit == null)
+ _workflowComputingUnit = new WorkflowComputingUnit(this, Keys.WORKFLOW_EXECUTIONS__WORKFLOW_EXECUTIONS_CUID_FKEY);
+
+ return _workflowComputingUnit;
+ }
+
+ @Override
+ public WorkflowExecutions as(String alias) {
+ return new WorkflowExecutions(DSL.name(alias), this);
+ }
+
+ @Override
+ public WorkflowExecutions as(Name alias) {
+ return new WorkflowExecutions(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public WorkflowExecutions rename(String name) {
+ return new WorkflowExecutions(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public WorkflowExecutions rename(Name name) {
+ return new WorkflowExecutions(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row14 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row14<Integer, Integer, Integer, Integer, Short, String, Timestamp, Timestamp, Boolean, String, String, String, String, Integer> fieldsRow() {
+ return (Row14) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowOfProject.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowOfProject.java
new file mode 100644
index 0000000000..4f26c31798
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowOfProject.java
@@ -0,0 +1,166 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowOfProjectRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row2;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowOfProject extends TableImpl<WorkflowOfProjectRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.workflow_of_project</code>
+ */
+ public static final WorkflowOfProject WORKFLOW_OF_PROJECT = new WorkflowOfProject();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<WorkflowOfProjectRecord> getRecordType() {
+ return WorkflowOfProjectRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.workflow_of_project.wid</code>.
+ */
+ public final TableField<WorkflowOfProjectRecord, Integer> WID = createField(DSL.name("wid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_of_project.pid</code>.
+ */
+ public final TableField<WorkflowOfProjectRecord, Integer> PID = createField(DSL.name("pid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ private WorkflowOfProject(Name alias, Table<WorkflowOfProjectRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private WorkflowOfProject(Name alias, Table<WorkflowOfProjectRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow_of_project</code> table
+ * reference
+ */
+ public WorkflowOfProject(String alias) {
+ this(DSL.name(alias), WORKFLOW_OF_PROJECT);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow_of_project</code> table
+ * reference
+ */
+ public WorkflowOfProject(Name alias) {
+ this(alias, WORKFLOW_OF_PROJECT);
+ }
+
+ /**
+ * Create a <code>texera_db.workflow_of_project</code> table reference
+ */
+ public WorkflowOfProject() {
+ this(DSL.name("workflow_of_project"), null);
+ }
+
+ public <O extends Record> WorkflowOfProject(Table<O> child, ForeignKey<O, WorkflowOfProjectRecord> key) {
+ super(child, key, WORKFLOW_OF_PROJECT);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public UniqueKey<WorkflowOfProjectRecord> getPrimaryKey() {
+ return Keys.WORKFLOW_OF_PROJECT_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<WorkflowOfProjectRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.WORKFLOW_OF_PROJECT__WORKFLOW_OF_PROJECT_WID_FKEY, Keys.WORKFLOW_OF_PROJECT__WORKFLOW_OF_PROJECT_PID_FKEY);
+ }
+
+ private transient Workflow _workflow;
+ private transient Project _project;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.workflow</code> table.
+ */
+ public Workflow workflow() {
+ if (_workflow == null)
+ _workflow = new Workflow(this, Keys.WORKFLOW_OF_PROJECT__WORKFLOW_OF_PROJECT_WID_FKEY);
+
+ return _workflow;
+ }
+
+ /**
+ * Get the implicit join path to the <code>texera_db.project</code> table.
+ */
+ public Project project() {
+ if (_project == null)
+ _project = new Project(this, Keys.WORKFLOW_OF_PROJECT__WORKFLOW_OF_PROJECT_PID_FKEY);
+
+ return _project;
+ }
+
+ @Override
+ public WorkflowOfProject as(String alias) {
+ return new WorkflowOfProject(DSL.name(alias), this);
+ }
+
+ @Override
+ public WorkflowOfProject as(Name alias) {
+ return new WorkflowOfProject(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public WorkflowOfProject rename(String name) {
+ return new WorkflowOfProject(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public WorkflowOfProject rename(Name name) {
+ return new WorkflowOfProject(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row2 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row2<Integer, Integer> fieldsRow() {
+ return (Row2) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowOfUser.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowOfUser.java
new file mode 100644
index 0000000000..11bad2330f
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowOfUser.java
@@ -0,0 +1,164 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowOfUserRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row2;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowOfUser extends TableImpl<WorkflowOfUserRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.workflow_of_user</code>
+ */
+ public static final WorkflowOfUser WORKFLOW_OF_USER = new WorkflowOfUser();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<WorkflowOfUserRecord> getRecordType() {
+ return WorkflowOfUserRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.workflow_of_user.uid</code>.
+ */
+ public final TableField<WorkflowOfUserRecord, Integer> UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_of_user.wid</code>.
+ */
+ public final TableField<WorkflowOfUserRecord, Integer> WID = createField(DSL.name("wid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ private WorkflowOfUser(Name alias, Table<WorkflowOfUserRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private WorkflowOfUser(Name alias, Table<WorkflowOfUserRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow_of_user</code> table reference
+ */
+ public WorkflowOfUser(String alias) {
+ this(DSL.name(alias), WORKFLOW_OF_USER);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow_of_user</code> table reference
+ */
+ public WorkflowOfUser(Name alias) {
+ this(alias, WORKFLOW_OF_USER);
+ }
+
+ /**
+ * Create a <code>texera_db.workflow_of_user</code> table reference
+ */
+ public WorkflowOfUser() {
+ this(DSL.name("workflow_of_user"), null);
+ }
+
+ public <O extends Record> WorkflowOfUser(Table<O> child, ForeignKey<O, WorkflowOfUserRecord> key) {
+ super(child, key, WORKFLOW_OF_USER);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public UniqueKey<WorkflowOfUserRecord> getPrimaryKey() {
+ return Keys.WORKFLOW_OF_USER_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<WorkflowOfUserRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.WORKFLOW_OF_USER__WORKFLOW_OF_USER_UID_FKEY, Keys.WORKFLOW_OF_USER__WORKFLOW_OF_USER_WID_FKEY);
+ }
+
+ private transient User _user;
+ private transient Workflow _workflow;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.user</code> table.
+ */
+ public User user() {
+ if (_user == null)
+ _user = new User(this, Keys.WORKFLOW_OF_USER__WORKFLOW_OF_USER_UID_FKEY);
+
+ return _user;
+ }
+
+ /**
+ * Get the implicit join path to the <code>texera_db.workflow</code> table.
+ */
+ public Workflow workflow() {
+ if (_workflow == null)
+ _workflow = new Workflow(this, Keys.WORKFLOW_OF_USER__WORKFLOW_OF_USER_WID_FKEY);
+
+ return _workflow;
+ }
+
+ @Override
+ public WorkflowOfUser as(String alias) {
+ return new WorkflowOfUser(DSL.name(alias), this);
+ }
+
+ @Override
+ public WorkflowOfUser as(Name alias) {
+ return new WorkflowOfUser(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public WorkflowOfUser rename(String name) {
+ return new WorkflowOfUser(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public WorkflowOfUser rename(Name name) {
+ return new WorkflowOfUser(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row2 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row2<Integer, Integer> fieldsRow() {
+ return (Row2) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowUserAccess.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowUserAccess.java
new file mode 100644
index 0000000000..f36c7e6b0f
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowUserAccess.java
@@ -0,0 +1,172 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.enums.PrivilegeEnum;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowUserAccessRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row3;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowUserAccess extends TableImpl<WorkflowUserAccessRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.workflow_user_access</code>
+ */
+ public static final WorkflowUserAccess WORKFLOW_USER_ACCESS = new WorkflowUserAccess();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<WorkflowUserAccessRecord> getRecordType() {
+ return WorkflowUserAccessRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.workflow_user_access.uid</code>.
+ */
+ public final TableField<WorkflowUserAccessRecord, Integer> UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_user_access.wid</code>.
+ */
+ public final TableField<WorkflowUserAccessRecord, Integer> WID = createField(DSL.name("wid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_user_access.privilege</code>.
+ */
+ public final TableField<WorkflowUserAccessRecord, PrivilegeEnum> PRIVILEGE = createField(DSL.name("privilege"), SQLDataType.VARCHAR.nullable(false).defaultValue(DSL.field("'NONE'::texera_db.privilege_enum", SQLDataType.VARCHAR)).asEnumDataType(org.apache.texera.dao.jooq.generated.enums.PrivilegeEnum.class), this, "");
+
+ private WorkflowUserAccess(Name alias, Table<WorkflowUserAccessRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private WorkflowUserAccess(Name alias, Table<WorkflowUserAccessRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow_user_access</code> table
+ * reference
+ */
+ public WorkflowUserAccess(String alias) {
+ this(DSL.name(alias), WORKFLOW_USER_ACCESS);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow_user_access</code> table
+ * reference
+ */
+ public WorkflowUserAccess(Name alias) {
+ this(alias, WORKFLOW_USER_ACCESS);
+ }
+
+ /**
+ * Create a <code>texera_db.workflow_user_access</code> table reference
+ */
+ public WorkflowUserAccess() {
+ this(DSL.name("workflow_user_access"), null);
+ }
+
+ public <O extends Record> WorkflowUserAccess(Table<O> child, ForeignKey<O, WorkflowUserAccessRecord> key) {
+ super(child, key, WORKFLOW_USER_ACCESS);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public UniqueKey<WorkflowUserAccessRecord> getPrimaryKey() {
+ return Keys.WORKFLOW_USER_ACCESS_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<WorkflowUserAccessRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.WORKFLOW_USER_ACCESS__WORKFLOW_USER_ACCESS_UID_FKEY, Keys.WORKFLOW_USER_ACCESS__WORKFLOW_USER_ACCESS_WID_FKEY);
+ }
+
+ private transient User _user;
+ private transient Workflow _workflow;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.user</code> table.
+ */
+ public User user() {
+ if (_user == null)
+ _user = new User(this, Keys.WORKFLOW_USER_ACCESS__WORKFLOW_USER_ACCESS_UID_FKEY);
+
+ return _user;
+ }
+
+ /**
+ * Get the implicit join path to the <code>texera_db.workflow</code> table.
+ */
+ public Workflow workflow() {
+ if (_workflow == null)
+ _workflow = new Workflow(this, Keys.WORKFLOW_USER_ACCESS__WORKFLOW_USER_ACCESS_WID_FKEY);
+
+ return _workflow;
+ }
+
+ @Override
+ public WorkflowUserAccess as(String alias) {
+ return new WorkflowUserAccess(DSL.name(alias), this);
+ }
+
+ @Override
+ public WorkflowUserAccess as(Name alias) {
+ return new WorkflowUserAccess(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public WorkflowUserAccess rename(String name) {
+ return new WorkflowUserAccess(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public WorkflowUserAccess rename(Name name) {
+ return new WorkflowUserAccess(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row3 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row3<Integer, Integer, PrivilegeEnum> fieldsRow() {
+ return (Row3) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowUserClones.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowUserClones.java
new file mode 100644
index 0000000000..e58ac41881
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowUserClones.java
@@ -0,0 +1,166 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowUserClonesRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row2;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowUserClones extends TableImpl<WorkflowUserClonesRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.workflow_user_clones</code>
+ */
+ public static final WorkflowUserClones WORKFLOW_USER_CLONES = new WorkflowUserClones();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<WorkflowUserClonesRecord> getRecordType() {
+ return WorkflowUserClonesRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.workflow_user_clones.uid</code>.
+ */
+ public final TableField<WorkflowUserClonesRecord, Integer> UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_user_clones.wid</code>.
+ */
+ public final TableField<WorkflowUserClonesRecord, Integer> WID = createField(DSL.name("wid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ private WorkflowUserClones(Name alias, Table<WorkflowUserClonesRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private WorkflowUserClones(Name alias, Table<WorkflowUserClonesRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow_user_clones</code> table
+ * reference
+ */
+ public WorkflowUserClones(String alias) {
+ this(DSL.name(alias), WORKFLOW_USER_CLONES);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow_user_clones</code> table
+ * reference
+ */
+ public WorkflowUserClones(Name alias) {
+ this(alias, WORKFLOW_USER_CLONES);
+ }
+
+ /**
+ * Create a <code>texera_db.workflow_user_clones</code> table reference
+ */
+ public WorkflowUserClones() {
+ this(DSL.name("workflow_user_clones"), null);
+ }
+
+ public <O extends Record> WorkflowUserClones(Table<O> child, ForeignKey<O, WorkflowUserClonesRecord> key) {
+ super(child, key, WORKFLOW_USER_CLONES);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public UniqueKey<WorkflowUserClonesRecord> getPrimaryKey() {
+ return Keys.WORKFLOW_USER_CLONES_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<WorkflowUserClonesRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.WORKFLOW_USER_CLONES__WORKFLOW_USER_CLONES_UID_FKEY, Keys.WORKFLOW_USER_CLONES__WORKFLOW_USER_CLONES_WID_FKEY);
+ }
+
+ private transient User _user;
+ private transient Workflow _workflow;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.user</code> table.
+ */
+ public User user() {
+ if (_user == null)
+ _user = new User(this, Keys.WORKFLOW_USER_CLONES__WORKFLOW_USER_CLONES_UID_FKEY);
+
+ return _user;
+ }
+
+ /**
+ * Get the implicit join path to the <code>texera_db.workflow</code> table.
+ */
+ public Workflow workflow() {
+ if (_workflow == null)
+ _workflow = new Workflow(this, Keys.WORKFLOW_USER_CLONES__WORKFLOW_USER_CLONES_WID_FKEY);
+
+ return _workflow;
+ }
+
+ @Override
+ public WorkflowUserClones as(String alias) {
+ return new WorkflowUserClones(DSL.name(alias), this);
+ }
+
+ @Override
+ public WorkflowUserClones as(Name alias) {
+ return new WorkflowUserClones(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public WorkflowUserClones rename(String name) {
+ return new WorkflowUserClones(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public WorkflowUserClones rename(Name name) {
+ return new WorkflowUserClones(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row2 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row2<Integer, Integer> fieldsRow() {
+ return (Row2) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowUserLikes.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowUserLikes.java
new file mode 100644
index 0000000000..fe36570943
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowUserLikes.java
@@ -0,0 +1,166 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowUserLikesRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row2;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowUserLikes extends TableImpl<WorkflowUserLikesRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.workflow_user_likes</code>
+ */
+ public static final WorkflowUserLikes WORKFLOW_USER_LIKES = new WorkflowUserLikes();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<WorkflowUserLikesRecord> getRecordType() {
+ return WorkflowUserLikesRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.workflow_user_likes.uid</code>.
+ */
+ public final TableField<WorkflowUserLikesRecord, Integer> UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_user_likes.wid</code>.
+ */
+ public final TableField<WorkflowUserLikesRecord, Integer> WID = createField(DSL.name("wid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ private WorkflowUserLikes(Name alias, Table<WorkflowUserLikesRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private WorkflowUserLikes(Name alias, Table<WorkflowUserLikesRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow_user_likes</code> table
+ * reference
+ */
+ public WorkflowUserLikes(String alias) {
+ this(DSL.name(alias), WORKFLOW_USER_LIKES);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow_user_likes</code> table
+ * reference
+ */
+ public WorkflowUserLikes(Name alias) {
+ this(alias, WORKFLOW_USER_LIKES);
+ }
+
+ /**
+ * Create a <code>texera_db.workflow_user_likes</code> table reference
+ */
+ public WorkflowUserLikes() {
+ this(DSL.name("workflow_user_likes"), null);
+ }
+
+ public <O extends Record> WorkflowUserLikes(Table<O> child, ForeignKey<O, WorkflowUserLikesRecord> key) {
+ super(child, key, WORKFLOW_USER_LIKES);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public UniqueKey<WorkflowUserLikesRecord> getPrimaryKey() {
+ return Keys.WORKFLOW_USER_LIKES_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<WorkflowUserLikesRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.WORKFLOW_USER_LIKES__WORKFLOW_USER_LIKES_UID_FKEY, Keys.WORKFLOW_USER_LIKES__WORKFLOW_USER_LIKES_WID_FKEY);
+ }
+
+ private transient User _user;
+ private transient Workflow _workflow;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.user</code> table.
+ */
+ public User user() {
+ if (_user == null)
+ _user = new User(this, Keys.WORKFLOW_USER_LIKES__WORKFLOW_USER_LIKES_UID_FKEY);
+
+ return _user;
+ }
+
+ /**
+ * Get the implicit join path to the <code>texera_db.workflow</code> table.
+ */
+ public Workflow workflow() {
+ if (_workflow == null)
+ _workflow = new Workflow(this, Keys.WORKFLOW_USER_LIKES__WORKFLOW_USER_LIKES_WID_FKEY);
+
+ return _workflow;
+ }
+
+ @Override
+ public WorkflowUserLikes as(String alias) {
+ return new WorkflowUserLikes(DSL.name(alias), this);
+ }
+
+ @Override
+ public WorkflowUserLikes as(Name alias) {
+ return new WorkflowUserLikes(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public WorkflowUserLikes rename(String name) {
+ return new WorkflowUserLikes(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public WorkflowUserLikes rename(Name name) {
+ return new WorkflowUserLikes(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row2 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row2<Integer, Integer> fieldsRow() {
+ return (Row2) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowVersion.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowVersion.java
new file mode 100644
index 0000000000..1a946c3f86
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowVersion.java
@@ -0,0 +1,170 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.sql.Timestamp;
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowVersionRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row4;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowVersion extends TableImpl<WorkflowVersionRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.workflow_version</code>
+ */
+ public static final WorkflowVersion WORKFLOW_VERSION = new WorkflowVersion();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<WorkflowVersionRecord> getRecordType() {
+ return WorkflowVersionRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.workflow_version.vid</code>.
+ */
+ public final TableField<WorkflowVersionRecord, Integer> VID = createField(DSL.name("vid"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_version.wid</code>.
+ */
+ public final TableField<WorkflowVersionRecord, Integer> WID = createField(DSL.name("wid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_version.content</code>.
+ */
+ public final TableField<WorkflowVersionRecord, String> CONTENT = createField(DSL.name("content"), SQLDataType.CLOB.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_version.creation_time</code>.
+ */
+ public final TableField<WorkflowVersionRecord, Timestamp> CREATION_TIME = createField(DSL.name("creation_time"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, "");
+
+ private WorkflowVersion(Name alias, Table<WorkflowVersionRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private WorkflowVersion(Name alias, Table<WorkflowVersionRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow_version</code> table reference
+ */
+ public WorkflowVersion(String alias) {
+ this(DSL.name(alias), WORKFLOW_VERSION);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow_version</code> table reference
+ */
+ public WorkflowVersion(Name alias) {
+ this(alias, WORKFLOW_VERSION);
+ }
+
+ /**
+ * Create a <code>texera_db.workflow_version</code> table reference
+ */
+ public WorkflowVersion() {
+ this(DSL.name("workflow_version"), null);
+ }
+
+ public <O extends Record> WorkflowVersion(Table<O> child, ForeignKey<O, WorkflowVersionRecord> key) {
+ super(child, key, WORKFLOW_VERSION);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public Identity<WorkflowVersionRecord, Integer> getIdentity() {
+ return (Identity<WorkflowVersionRecord, Integer>) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey<WorkflowVersionRecord> getPrimaryKey() {
+ return Keys.WORKFLOW_VERSION_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<WorkflowVersionRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.WORKFLOW_VERSION__WORKFLOW_VERSION_WID_FKEY);
+ }
+
+ private transient Workflow _workflow;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.workflow</code> table.
+ */
+ public Workflow workflow() {
+ if (_workflow == null)
+ _workflow = new Workflow(this, Keys.WORKFLOW_VERSION__WORKFLOW_VERSION_WID_FKEY);
+
+ return _workflow;
+ }
+
+ @Override
+ public WorkflowVersion as(String alias) {
+ return new WorkflowVersion(DSL.name(alias), this);
+ }
+
+ @Override
+ public WorkflowVersion as(Name alias) {
+ return new WorkflowVersion(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public WorkflowVersion rename(String name) {
+ return new WorkflowVersion(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public WorkflowVersion rename(Name name) {
+ return new WorkflowVersion(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row4 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row4<Integer, Integer, String, Timestamp> fieldsRow() {
+ return (Row4) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowViewCount.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowViewCount.java
new file mode 100644
index 0000000000..e4addde85d
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/WorkflowViewCount.java
@@ -0,0 +1,155 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables;
+
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.Keys;
+import org.apache.texera.dao.jooq.generated.TexeraDb;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowViewCountRecord;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row2;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowViewCount extends TableImpl<WorkflowViewCountRecord> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of <code>texera_db.workflow_view_count</code>
+ */
+ public static final WorkflowViewCount WORKFLOW_VIEW_COUNT = new WorkflowViewCount();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class<WorkflowViewCountRecord> getRecordType() {
+ return WorkflowViewCountRecord.class;
+ }
+
+ /**
+ * The column <code>texera_db.workflow_view_count.wid</code>.
+ */
+ public final TableField<WorkflowViewCountRecord, Integer> WID = createField(DSL.name("wid"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column <code>texera_db.workflow_view_count.view_count</code>.
+ */
+ public final TableField<WorkflowViewCountRecord, Integer> VIEW_COUNT = createField(DSL.name("view_count"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field("0", SQLDataType.INTEGER)), this, "");
+
+ private WorkflowViewCount(Name alias, Table<WorkflowViewCountRecord> aliased) {
+ this(alias, aliased, null);
+ }
+
+ private WorkflowViewCount(Name alias, Table<WorkflowViewCountRecord> aliased, Field<?>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow_view_count</code> table
+ * reference
+ */
+ public WorkflowViewCount(String alias) {
+ this(DSL.name(alias), WORKFLOW_VIEW_COUNT);
+ }
+
+ /**
+ * Create an aliased <code>texera_db.workflow_view_count</code> table
+ * reference
+ */
+ public WorkflowViewCount(Name alias) {
+ this(alias, WORKFLOW_VIEW_COUNT);
+ }
+
+ /**
+ * Create a <code>texera_db.workflow_view_count</code> table reference
+ */
+ public WorkflowViewCount() {
+ this(DSL.name("workflow_view_count"), null);
+ }
+
+ public <O extends Record> WorkflowViewCount(Table<O> child, ForeignKey<O, WorkflowViewCountRecord> key) {
+ super(child, key, WORKFLOW_VIEW_COUNT);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : TexeraDb.TEXERA_DB;
+ }
+
+ @Override
+ public UniqueKey<WorkflowViewCountRecord> getPrimaryKey() {
+ return Keys.WORKFLOW_VIEW_COUNT_PKEY;
+ }
+
+ @Override
+ public List<ForeignKey<WorkflowViewCountRecord, ?>> getReferences() {
+ return Arrays.asList(Keys.WORKFLOW_VIEW_COUNT__WORKFLOW_VIEW_COUNT_WID_FKEY);
+ }
+
+ private transient Workflow _workflow;
+
+ /**
+ * Get the implicit join path to the <code>texera_db.workflow</code> table.
+ */
+ public Workflow workflow() {
+ if (_workflow == null)
+ _workflow = new Workflow(this, Keys.WORKFLOW_VIEW_COUNT__WORKFLOW_VIEW_COUNT_WID_FKEY);
+
+ return _workflow;
+ }
+
+ @Override
+ public WorkflowViewCount as(String alias) {
+ return new WorkflowViewCount(DSL.name(alias), this);
+ }
+
+ @Override
+ public WorkflowViewCount as(Name alias) {
+ return new WorkflowViewCount(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public WorkflowViewCount rename(String name) {
+ return new WorkflowViewCount(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public WorkflowViewCount rename(Name name) {
+ return new WorkflowViewCount(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row2 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row2<Integer, Integer> fieldsRow() {
+ return (Row2) super.fieldsRow();
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/ComputingUnitUserAccessDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/ComputingUnitUserAccessDao.java
new file mode 100644
index 0000000000..e4b949a07e
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/ComputingUnitUserAccessDao.java
@@ -0,0 +1,86 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.enums.PrivilegeEnum;
+import org.apache.texera.dao.jooq.generated.tables.ComputingUnitUserAccess;
+import org.apache.texera.dao.jooq.generated.tables.records.ComputingUnitUserAccessRecord;
+import org.jooq.Configuration;
+import org.jooq.Record2;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class ComputingUnitUserAccessDao extends DAOImpl<ComputingUnitUserAccessRecord, org.apache.texera.dao.jooq.generated.tables.pojos.ComputingUnitUserAccess, Record2<Integer, Integer>> {
+
+ /**
+ * Create a new ComputingUnitUserAccessDao without any configuration
+ */
+ public ComputingUnitUserAccessDao() {
+ super(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS, org.apache.texera.dao.jooq.generated.tables.pojos.ComputingUnitUserAccess.class);
+ }
+
+ /**
+ * Create a new ComputingUnitUserAccessDao with an attached configuration
+ */
+ public ComputingUnitUserAccessDao(Configuration configuration) {
+ super(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS, org.apache.texera.dao.jooq.generated.tables.pojos.ComputingUnitUserAccess.class, configuration);
+ }
+
+ @Override
+ public Record2<Integer, Integer> getId(org.apache.texera.dao.jooq.generated.tables.pojos.ComputingUnitUserAccess object) {
+ return compositeKeyRecord(object.getCuid(), object.getUid());
+ }
+
+ /**
+ * Fetch records that have <code>cuid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.ComputingUnitUserAccess> fetchRangeOfCuid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.CUID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>cuid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.ComputingUnitUserAccess> fetchByCuid(Integer... values) {
+ return fetch(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.CUID, values);
+ }
+
+ /**
+ * Fetch records that have <code>uid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.ComputingUnitUserAccess> fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.UID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>uid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.ComputingUnitUserAccess> fetchByUid(Integer... values) {
+ return fetch(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.UID, values);
+ }
+
+ /**
+ * Fetch records that have <code>privilege BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.ComputingUnitUserAccess> fetchRangeOfPrivilege(PrivilegeEnum lowerInclusive, PrivilegeEnum upperInclusive) {
+ return fetchRange(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.PRIVILEGE, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>privilege IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.ComputingUnitUserAccess> fetchByPrivilege(PrivilegeEnum... values) {
+ return fetch(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.PRIVILEGE, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/DatasetDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/DatasetDao.java
new file mode 100644
index 0000000000..e0c249fe09
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/DatasetDao.java
@@ -0,0 +1,175 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.sql.Timestamp;
+import java.util.List;
+import java.util.Optional;
+
+import org.apache.texera.dao.jooq.generated.tables.Dataset;
+import org.apache.texera.dao.jooq.generated.tables.records.DatasetRecord;
+import org.jooq.Configuration;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class DatasetDao extends DAOImpl<DatasetRecord, org.apache.texera.dao.jooq.generated.tables.pojos.Dataset, Integer> {
+
+ /**
+ * Create a new DatasetDao without any configuration
+ */
+ public DatasetDao() {
+ super(Dataset.DATASET, org.apache.texera.dao.jooq.generated.tables.pojos.Dataset.class);
+ }
+
+ /**
+ * Create a new DatasetDao with an attached configuration
+ */
+ public DatasetDao(Configuration configuration) {
+ super(Dataset.DATASET, org.apache.texera.dao.jooq.generated.tables.pojos.Dataset.class, configuration);
+ }
+
+ @Override
+ public Integer getId(org.apache.texera.dao.jooq.generated.tables.pojos.Dataset object) {
+ return object.getDid();
+ }
+
+ /**
+ * Fetch records that have <code>did BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Dataset> fetchRangeOfDid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(Dataset.DATASET.DID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>did IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Dataset> fetchByDid(Integer... values) {
+ return fetch(Dataset.DATASET.DID, values);
+ }
+
+ /**
+ * Fetch a unique record that has <code>did = value</code>
+ */
+ public org.apache.texera.dao.jooq.generated.tables.pojos.Dataset fetchOneByDid(Integer value) {
+ return fetchOne(Dataset.DATASET.DID, value);
+ }
+
+ /**
+ * Fetch a unique record that has <code>did = value</code>
+ */
+ public Optional<org.apache.texera.dao.jooq.generated.tables.pojos.Dataset> fetchOptionalByDid(Integer value) {
+ return fetchOptional(Dataset.DATASET.DID, value);
+ }
+
+ /**
+ * Fetch records that have <code>owner_uid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Dataset> fetchRangeOfOwnerUid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(Dataset.DATASET.OWNER_UID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>owner_uid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Dataset> fetchByOwnerUid(Integer... values) {
+ return fetch(Dataset.DATASET.OWNER_UID, values);
+ }
+
+ /**
+ * Fetch records that have <code>name BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Dataset> fetchRangeOfName(String lowerInclusive, String upperInclusive) {
+ return fetchRange(Dataset.DATASET.NAME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>name IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Dataset> fetchByName(String... values) {
+ return fetch(Dataset.DATASET.NAME, values);
+ }
+
+ /**
+ * Fetch records that have <code>is_public BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Dataset> fetchRangeOfIsPublic(Boolean lowerInclusive, Boolean upperInclusive) {
+ return fetchRange(Dataset.DATASET.IS_PUBLIC, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>is_public IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Dataset> fetchByIsPublic(Boolean... values) {
+ return fetch(Dataset.DATASET.IS_PUBLIC, values);
+ }
+
+ /**
+ * Fetch records that have <code>is_downloadable BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Dataset> fetchRangeOfIsDownloadable(Boolean lowerInclusive, Boolean upperInclusive) {
+ return fetchRange(Dataset.DATASET.IS_DOWNLOADABLE, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>is_downloadable IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Dataset> fetchByIsDownloadable(Boolean... values) {
+ return fetch(Dataset.DATASET.IS_DOWNLOADABLE, values);
+ }
+
+ /**
+ * Fetch records that have <code>description BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Dataset> fetchRangeOfDescription(String lowerInclusive, String upperInclusive) {
+ return fetchRange(Dataset.DATASET.DESCRIPTION, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>description IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Dataset> fetchByDescription(String... values) {
+ return fetch(Dataset.DATASET.DESCRIPTION, values);
+ }
+
+ /**
+ * Fetch records that have <code>creation_time BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Dataset> fetchRangeOfCreationTime(Timestamp lowerInclusive, Timestamp upperInclusive) {
+ return fetchRange(Dataset.DATASET.CREATION_TIME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>creation_time IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Dataset> fetchByCreationTime(Timestamp... values) {
+ return fetch(Dataset.DATASET.CREATION_TIME, values);
+ }
+
+ /**
+ * Fetch records that have <code>repository_name BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Dataset> fetchRangeOfRepositoryName(String lowerInclusive, String upperInclusive) {
+ return fetchRange(Dataset.DATASET.REPOSITORY_NAME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>repository_name IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Dataset> fetchByRepositoryName(String... values) {
+ return fetch(Dataset.DATASET.REPOSITORY_NAME, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/DatasetUserAccessDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/DatasetUserAccessDao.java
new file mode 100644
index 0000000000..cf6e4404cb
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/DatasetUserAccessDao.java
@@ -0,0 +1,86 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.enums.PrivilegeEnum;
+import org.apache.texera.dao.jooq.generated.tables.DatasetUserAccess;
+import org.apache.texera.dao.jooq.generated.tables.records.DatasetUserAccessRecord;
+import org.jooq.Configuration;
+import org.jooq.Record2;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class DatasetUserAccessDao extends DAOImpl<DatasetUserAccessRecord, org.apache.texera.dao.jooq.generated.tables.pojos.DatasetUserAccess, Record2<Integer, Integer>> {
+
+ /**
+ * Create a new DatasetUserAccessDao without any configuration
+ */
+ public DatasetUserAccessDao() {
+ super(DatasetUserAccess.DATASET_USER_ACCESS, org.apache.texera.dao.jooq.generated.tables.pojos.DatasetUserAccess.class);
+ }
+
+ /**
+ * Create a new DatasetUserAccessDao with an attached configuration
+ */
+ public DatasetUserAccessDao(Configuration configuration) {
+ super(DatasetUserAccess.DATASET_USER_ACCESS, org.apache.texera.dao.jooq.generated.tables.pojos.DatasetUserAccess.class, configuration);
+ }
+
+ @Override
+ public Record2<Integer, Integer> getId(org.apache.texera.dao.jooq.generated.tables.pojos.DatasetUserAccess object) {
+ return compositeKeyRecord(object.getDid(), object.getUid());
+ }
+
+ /**
+ * Fetch records that have <code>did BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetUserAccess> fetchRangeOfDid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(DatasetUserAccess.DATASET_USER_ACCESS.DID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>did IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetUserAccess> fetchByDid(Integer... values) {
+ return fetch(DatasetUserAccess.DATASET_USER_ACCESS.DID, values);
+ }
+
+ /**
+ * Fetch records that have <code>uid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetUserAccess> fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(DatasetUserAccess.DATASET_USER_ACCESS.UID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>uid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetUserAccess> fetchByUid(Integer... values) {
+ return fetch(DatasetUserAccess.DATASET_USER_ACCESS.UID, values);
+ }
+
+ /**
+ * Fetch records that have <code>privilege BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetUserAccess> fetchRangeOfPrivilege(PrivilegeEnum lowerInclusive, PrivilegeEnum upperInclusive) {
+ return fetchRange(DatasetUserAccess.DATASET_USER_ACCESS.PRIVILEGE, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>privilege IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetUserAccess> fetchByPrivilege(PrivilegeEnum... values) {
+ return fetch(DatasetUserAccess.DATASET_USER_ACCESS.PRIVILEGE, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/DatasetUserLikesDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/DatasetUserLikesDao.java
new file mode 100644
index 0000000000..1e820de7c6
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/DatasetUserLikesDao.java
@@ -0,0 +1,70 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.tables.DatasetUserLikes;
+import org.apache.texera.dao.jooq.generated.tables.records.DatasetUserLikesRecord;
+import org.jooq.Configuration;
+import org.jooq.Record2;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class DatasetUserLikesDao extends DAOImpl<DatasetUserLikesRecord, org.apache.texera.dao.jooq.generated.tables.pojos.DatasetUserLikes, Record2<Integer, Integer>> {
+
+ /**
+ * Create a new DatasetUserLikesDao without any configuration
+ */
+ public DatasetUserLikesDao() {
+ super(DatasetUserLikes.DATASET_USER_LIKES, org.apache.texera.dao.jooq.generated.tables.pojos.DatasetUserLikes.class);
+ }
+
+ /**
+ * Create a new DatasetUserLikesDao with an attached configuration
+ */
+ public DatasetUserLikesDao(Configuration configuration) {
+ super(DatasetUserLikes.DATASET_USER_LIKES, org.apache.texera.dao.jooq.generated.tables.pojos.DatasetUserLikes.class, configuration);
+ }
+
+ @Override
+ public Record2<Integer, Integer> getId(org.apache.texera.dao.jooq.generated.tables.pojos.DatasetUserLikes object) {
+ return compositeKeyRecord(object.getUid(), object.getDid());
+ }
+
+ /**
+ * Fetch records that have <code>uid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetUserLikes> fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(DatasetUserLikes.DATASET_USER_LIKES.UID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>uid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetUserLikes> fetchByUid(Integer... values) {
+ return fetch(DatasetUserLikes.DATASET_USER_LIKES.UID, values);
+ }
+
+ /**
+ * Fetch records that have <code>did BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetUserLikes> fetchRangeOfDid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(DatasetUserLikes.DATASET_USER_LIKES.DID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>did IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetUserLikes> fetchByDid(Integer... values) {
+ return fetch(DatasetUserLikes.DATASET_USER_LIKES.DID, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/DatasetVersionDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/DatasetVersionDao.java
new file mode 100644
index 0000000000..7ef0296990
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/DatasetVersionDao.java
@@ -0,0 +1,145 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.sql.Timestamp;
+import java.util.List;
+import java.util.Optional;
+
+import org.apache.texera.dao.jooq.generated.tables.DatasetVersion;
+import org.apache.texera.dao.jooq.generated.tables.records.DatasetVersionRecord;
+import org.jooq.Configuration;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class DatasetVersionDao extends DAOImpl<DatasetVersionRecord, org.apache.texera.dao.jooq.generated.tables.pojos.DatasetVersion, Integer> {
+
+ /**
+ * Create a new DatasetVersionDao without any configuration
+ */
+ public DatasetVersionDao() {
+ super(DatasetVersion.DATASET_VERSION, org.apache.texera.dao.jooq.generated.tables.pojos.DatasetVersion.class);
+ }
+
+ /**
+ * Create a new DatasetVersionDao with an attached configuration
+ */
+ public DatasetVersionDao(Configuration configuration) {
+ super(DatasetVersion.DATASET_VERSION, org.apache.texera.dao.jooq.generated.tables.pojos.DatasetVersion.class, configuration);
+ }
+
+ @Override
+ public Integer getId(org.apache.texera.dao.jooq.generated.tables.pojos.DatasetVersion object) {
+ return object.getDvid();
+ }
+
+ /**
+ * Fetch records that have <code>dvid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetVersion> fetchRangeOfDvid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(DatasetVersion.DATASET_VERSION.DVID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>dvid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetVersion> fetchByDvid(Integer... values) {
+ return fetch(DatasetVersion.DATASET_VERSION.DVID, values);
+ }
+
+ /**
+ * Fetch a unique record that has <code>dvid = value</code>
+ */
+ public org.apache.texera.dao.jooq.generated.tables.pojos.DatasetVersion fetchOneByDvid(Integer value) {
+ return fetchOne(DatasetVersion.DATASET_VERSION.DVID, value);
+ }
+
+ /**
+ * Fetch a unique record that has <code>dvid = value</code>
+ */
+ public Optional<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetVersion> fetchOptionalByDvid(Integer value) {
+ return fetchOptional(DatasetVersion.DATASET_VERSION.DVID, value);
+ }
+
+ /**
+ * Fetch records that have <code>did BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetVersion> fetchRangeOfDid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(DatasetVersion.DATASET_VERSION.DID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>did IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetVersion> fetchByDid(Integer... values) {
+ return fetch(DatasetVersion.DATASET_VERSION.DID, values);
+ }
+
+ /**
+ * Fetch records that have <code>creator_uid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetVersion> fetchRangeOfCreatorUid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(DatasetVersion.DATASET_VERSION.CREATOR_UID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>creator_uid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetVersion> fetchByCreatorUid(Integer... values) {
+ return fetch(DatasetVersion.DATASET_VERSION.CREATOR_UID, values);
+ }
+
+ /**
+ * Fetch records that have <code>name BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetVersion> fetchRangeOfName(String lowerInclusive, String upperInclusive) {
+ return fetchRange(DatasetVersion.DATASET_VERSION.NAME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>name IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetVersion> fetchByName(String... values) {
+ return fetch(DatasetVersion.DATASET_VERSION.NAME, values);
+ }
+
+ /**
+ * Fetch records that have <code>version_hash BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetVersion> fetchRangeOfVersionHash(String lowerInclusive, String upperInclusive) {
+ return fetchRange(DatasetVersion.DATASET_VERSION.VERSION_HASH, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>version_hash IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetVersion> fetchByVersionHash(String... values) {
+ return fetch(DatasetVersion.DATASET_VERSION.VERSION_HASH, values);
+ }
+
+ /**
+ * Fetch records that have <code>creation_time BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetVersion> fetchRangeOfCreationTime(Timestamp lowerInclusive, Timestamp upperInclusive) {
+ return fetchRange(DatasetVersion.DATASET_VERSION.CREATION_TIME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>creation_time IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetVersion> fetchByCreationTime(Timestamp... values) {
+ return fetch(DatasetVersion.DATASET_VERSION.CREATION_TIME, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/DatasetViewCountDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/DatasetViewCountDao.java
new file mode 100644
index 0000000000..4f0ea6bf00
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/DatasetViewCountDao.java
@@ -0,0 +1,84 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.util.List;
+import java.util.Optional;
+
+import org.apache.texera.dao.jooq.generated.tables.DatasetViewCount;
+import org.apache.texera.dao.jooq.generated.tables.records.DatasetViewCountRecord;
+import org.jooq.Configuration;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class DatasetViewCountDao extends DAOImpl<DatasetViewCountRecord, org.apache.texera.dao.jooq.generated.tables.pojos.DatasetViewCount, Integer> {
+
+ /**
+ * Create a new DatasetViewCountDao without any configuration
+ */
+ public DatasetViewCountDao() {
+ super(DatasetViewCount.DATASET_VIEW_COUNT, org.apache.texera.dao.jooq.generated.tables.pojos.DatasetViewCount.class);
+ }
+
+ /**
+ * Create a new DatasetViewCountDao with an attached configuration
+ */
+ public DatasetViewCountDao(Configuration configuration) {
+ super(DatasetViewCount.DATASET_VIEW_COUNT, org.apache.texera.dao.jooq.generated.tables.pojos.DatasetViewCount.class, configuration);
+ }
+
+ @Override
+ public Integer getId(org.apache.texera.dao.jooq.generated.tables.pojos.DatasetViewCount object) {
+ return object.getDid();
+ }
+
+ /**
+ * Fetch records that have <code>did BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetViewCount> fetchRangeOfDid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(DatasetViewCount.DATASET_VIEW_COUNT.DID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>did IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetViewCount> fetchByDid(Integer... values) {
+ return fetch(DatasetViewCount.DATASET_VIEW_COUNT.DID, values);
+ }
+
+ /**
+ * Fetch a unique record that has <code>did = value</code>
+ */
+ public org.apache.texera.dao.jooq.generated.tables.pojos.DatasetViewCount fetchOneByDid(Integer value) {
+ return fetchOne(DatasetViewCount.DATASET_VIEW_COUNT.DID, value);
+ }
+
+ /**
+ * Fetch a unique record that has <code>did = value</code>
+ */
+ public Optional<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetViewCount> fetchOptionalByDid(Integer value) {
+ return fetchOptional(DatasetViewCount.DATASET_VIEW_COUNT.DID, value);
+ }
+
+ /**
+ * Fetch records that have <code>view_count BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetViewCount> fetchRangeOfViewCount(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(DatasetViewCount.DATASET_VIEW_COUNT.VIEW_COUNT, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>view_count IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.DatasetViewCount> fetchByViewCount(Integer... values) {
+ return fetch(DatasetViewCount.DATASET_VIEW_COUNT.VIEW_COUNT, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/OperatorExecutionsDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/OperatorExecutionsDao.java
new file mode 100644
index 0000000000..114efe2c76
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/OperatorExecutionsDao.java
@@ -0,0 +1,100 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.tables.OperatorExecutions;
+import org.apache.texera.dao.jooq.generated.tables.records.OperatorExecutionsRecord;
+import org.jooq.Configuration;
+import org.jooq.Record2;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class OperatorExecutionsDao extends DAOImpl<OperatorExecutionsRecord, org.apache.texera.dao.jooq.generated.tables.pojos.OperatorExecutions, Record2<Integer, String>> {
+
+ /**
+ * Create a new OperatorExecutionsDao without any configuration
+ */
+ public OperatorExecutionsDao() {
+ super(OperatorExecutions.OPERATOR_EXECUTIONS, org.apache.texera.dao.jooq.generated.tables.pojos.OperatorExecutions.class);
+ }
+
+ /**
+ * Create a new OperatorExecutionsDao with an attached configuration
+ */
+ public OperatorExecutionsDao(Configuration configuration) {
+ super(OperatorExecutions.OPERATOR_EXECUTIONS, org.apache.texera.dao.jooq.generated.tables.pojos.OperatorExecutions.class, configuration);
+ }
+
+ @Override
+ public Record2<Integer, String> getId(org.apache.texera.dao.jooq.generated.tables.pojos.OperatorExecutions object) {
+ return compositeKeyRecord(object.getWorkflowExecutionId(), object.getOperatorId());
+ }
+
+ /**
+ * Fetch records that have <code>workflow_execution_id BETWEEN
+ * lowerInclusive AND upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.OperatorExecutions> fetchRangeOfWorkflowExecutionId(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(OperatorExecutions.OPERATOR_EXECUTIONS.WORKFLOW_EXECUTION_ID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>workflow_execution_id IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.OperatorExecutions> fetchByWorkflowExecutionId(Integer... values) {
+ return fetch(OperatorExecutions.OPERATOR_EXECUTIONS.WORKFLOW_EXECUTION_ID, values);
+ }
+
+ /**
+ * Fetch records that have <code>operator_id BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.OperatorExecutions> fetchRangeOfOperatorId(String lowerInclusive, String upperInclusive) {
+ return fetchRange(OperatorExecutions.OPERATOR_EXECUTIONS.OPERATOR_ID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>operator_id IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.OperatorExecutions> fetchByOperatorId(String... values) {
+ return fetch(OperatorExecutions.OPERATOR_EXECUTIONS.OPERATOR_ID, values);
+ }
+
+ /**
+ * Fetch records that have <code>console_messages_uri BETWEEN lowerInclusive
+ * AND upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.OperatorExecutions> fetchRangeOfConsoleMessagesUri(String lowerInclusive, String upperInclusive) {
+ return fetchRange(OperatorExecutions.OPERATOR_EXECUTIONS.CONSOLE_MESSAGES_URI, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>console_messages_uri IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.OperatorExecutions> fetchByConsoleMessagesUri(String... values) {
+ return fetch(OperatorExecutions.OPERATOR_EXECUTIONS.CONSOLE_MESSAGES_URI, values);
+ }
+
+ /**
+ * Fetch records that have <code>console_messages_size BETWEEN
+ * lowerInclusive AND upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.OperatorExecutions> fetchRangeOfConsoleMessagesSize(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(OperatorExecutions.OPERATOR_EXECUTIONS.CONSOLE_MESSAGES_SIZE, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>console_messages_size IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.OperatorExecutions> fetchByConsoleMessagesSize(Integer... values) {
+ return fetch(OperatorExecutions.OPERATOR_EXECUTIONS.CONSOLE_MESSAGES_SIZE, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/OperatorPortExecutionsDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/OperatorPortExecutionsDao.java
new file mode 100644
index 0000000000..14bf821c06
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/OperatorPortExecutionsDao.java
@@ -0,0 +1,100 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.tables.OperatorPortExecutions;
+import org.apache.texera.dao.jooq.generated.tables.records.OperatorPortExecutionsRecord;
+import org.jooq.Configuration;
+import org.jooq.Record2;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class OperatorPortExecutionsDao extends DAOImpl<OperatorPortExecutionsRecord, org.apache.texera.dao.jooq.generated.tables.pojos.OperatorPortExecutions, Record2<Integer, String>> {
+
+ /**
+ * Create a new OperatorPortExecutionsDao without any configuration
+ */
+ public OperatorPortExecutionsDao() {
+ super(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS, org.apache.texera.dao.jooq.generated.tables.pojos.OperatorPortExecutions.class);
+ }
+
+ /**
+ * Create a new OperatorPortExecutionsDao with an attached configuration
+ */
+ public OperatorPortExecutionsDao(Configuration configuration) {
+ super(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS, org.apache.texera.dao.jooq.generated.tables.pojos.OperatorPortExecutions.class, configuration);
+ }
+
+ @Override
+ public Record2<Integer, String> getId(org.apache.texera.dao.jooq.generated.tables.pojos.OperatorPortExecutions object) {
+ return compositeKeyRecord(object.getWorkflowExecutionId(), object.getGlobalPortId());
+ }
+
+ /**
+ * Fetch records that have <code>workflow_execution_id BETWEEN
+ * lowerInclusive AND upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.OperatorPortExecutions> fetchRangeOfWorkflowExecutionId(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.WORKFLOW_EXECUTION_ID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>workflow_execution_id IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.OperatorPortExecutions> fetchByWorkflowExecutionId(Integer... values) {
+ return fetch(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.WORKFLOW_EXECUTION_ID, values);
+ }
+
+ /**
+ * Fetch records that have <code>global_port_id BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.OperatorPortExecutions> fetchRangeOfGlobalPortId(String lowerInclusive, String upperInclusive) {
+ return fetchRange(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.GLOBAL_PORT_ID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>global_port_id IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.OperatorPortExecutions> fetchByGlobalPortId(String... values) {
+ return fetch(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.GLOBAL_PORT_ID, values);
+ }
+
+ /**
+ * Fetch records that have <code>result_uri BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.OperatorPortExecutions> fetchRangeOfResultUri(String lowerInclusive, String upperInclusive) {
+ return fetchRange(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.RESULT_URI, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>result_uri IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.OperatorPortExecutions> fetchByResultUri(String... values) {
+ return fetch(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.RESULT_URI, values);
+ }
+
+ /**
+ * Fetch records that have <code>result_size BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.OperatorPortExecutions> fetchRangeOfResultSize(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.RESULT_SIZE, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>result_size IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.OperatorPortExecutions> fetchByResultSize(Integer... values) {
+ return fetch(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.RESULT_SIZE, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/ProjectDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/ProjectDao.java
new file mode 100644
index 0000000000..3783e20ae1
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/ProjectDao.java
@@ -0,0 +1,145 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.sql.Timestamp;
+import java.util.List;
+import java.util.Optional;
+
+import org.apache.texera.dao.jooq.generated.tables.Project;
+import org.apache.texera.dao.jooq.generated.tables.records.ProjectRecord;
+import org.jooq.Configuration;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class ProjectDao extends DAOImpl<ProjectRecord, org.apache.texera.dao.jooq.generated.tables.pojos.Project, Integer> {
+
+ /**
+ * Create a new ProjectDao without any configuration
+ */
+ public ProjectDao() {
+ super(Project.PROJECT, org.apache.texera.dao.jooq.generated.tables.pojos.Project.class);
+ }
+
+ /**
+ * Create a new ProjectDao with an attached configuration
+ */
+ public ProjectDao(Configuration configuration) {
+ super(Project.PROJECT, org.apache.texera.dao.jooq.generated.tables.pojos.Project.class, configuration);
+ }
+
+ @Override
+ public Integer getId(org.apache.texera.dao.jooq.generated.tables.pojos.Project object) {
+ return object.getPid();
+ }
+
+ /**
+ * Fetch records that have <code>pid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Project> fetchRangeOfPid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(Project.PROJECT.PID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>pid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Project> fetchByPid(Integer... values) {
+ return fetch(Project.PROJECT.PID, values);
+ }
+
+ /**
+ * Fetch a unique record that has <code>pid = value</code>
+ */
+ public org.apache.texera.dao.jooq.generated.tables.pojos.Project fetchOneByPid(Integer value) {
+ return fetchOne(Project.PROJECT.PID, value);
+ }
+
+ /**
+ * Fetch a unique record that has <code>pid = value</code>
+ */
+ public Optional<org.apache.texera.dao.jooq.generated.tables.pojos.Project> fetchOptionalByPid(Integer value) {
+ return fetchOptional(Project.PROJECT.PID, value);
+ }
+
+ /**
+ * Fetch records that have <code>name BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Project> fetchRangeOfName(String lowerInclusive, String upperInclusive) {
+ return fetchRange(Project.PROJECT.NAME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>name IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Project> fetchByName(String... values) {
+ return fetch(Project.PROJECT.NAME, values);
+ }
+
+ /**
+ * Fetch records that have <code>description BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Project> fetchRangeOfDescription(String lowerInclusive, String upperInclusive) {
+ return fetchRange(Project.PROJECT.DESCRIPTION, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>description IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Project> fetchByDescription(String... values) {
+ return fetch(Project.PROJECT.DESCRIPTION, values);
+ }
+
+ /**
+ * Fetch records that have <code>owner_id BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Project> fetchRangeOfOwnerId(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(Project.PROJECT.OWNER_ID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>owner_id IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Project> fetchByOwnerId(Integer... values) {
+ return fetch(Project.PROJECT.OWNER_ID, values);
+ }
+
+ /**
+ * Fetch records that have <code>creation_time BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Project> fetchRangeOfCreationTime(Timestamp lowerInclusive, Timestamp upperInclusive) {
+ return fetchRange(Project.PROJECT.CREATION_TIME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>creation_time IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Project> fetchByCreationTime(Timestamp... values) {
+ return fetch(Project.PROJECT.CREATION_TIME, values);
+ }
+
+ /**
+ * Fetch records that have <code>color BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Project> fetchRangeOfColor(String lowerInclusive, String upperInclusive) {
+ return fetchRange(Project.PROJECT.COLOR, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>color IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Project> fetchByColor(String... values) {
+ return fetch(Project.PROJECT.COLOR, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/ProjectUserAccessDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/ProjectUserAccessDao.java
new file mode 100644
index 0000000000..af2003961e
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/ProjectUserAccessDao.java
@@ -0,0 +1,86 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.enums.PrivilegeEnum;
+import org.apache.texera.dao.jooq.generated.tables.ProjectUserAccess;
+import org.apache.texera.dao.jooq.generated.tables.records.ProjectUserAccessRecord;
+import org.jooq.Configuration;
+import org.jooq.Record2;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class ProjectUserAccessDao extends DAOImpl<ProjectUserAccessRecord, org.apache.texera.dao.jooq.generated.tables.pojos.ProjectUserAccess, Record2<Integer, Integer>> {
+
+ /**
+ * Create a new ProjectUserAccessDao without any configuration
+ */
+ public ProjectUserAccessDao() {
+ super(ProjectUserAccess.PROJECT_USER_ACCESS, org.apache.texera.dao.jooq.generated.tables.pojos.ProjectUserAccess.class);
+ }
+
+ /**
+ * Create a new ProjectUserAccessDao with an attached configuration
+ */
+ public ProjectUserAccessDao(Configuration configuration) {
+ super(ProjectUserAccess.PROJECT_USER_ACCESS, org.apache.texera.dao.jooq.generated.tables.pojos.ProjectUserAccess.class, configuration);
+ }
+
+ @Override
+ public Record2<Integer, Integer> getId(org.apache.texera.dao.jooq.generated.tables.pojos.ProjectUserAccess object) {
+ return compositeKeyRecord(object.getUid(), object.getPid());
+ }
+
+ /**
+ * Fetch records that have <code>uid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.ProjectUserAccess> fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(ProjectUserAccess.PROJECT_USER_ACCESS.UID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>uid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.ProjectUserAccess> fetchByUid(Integer... values) {
+ return fetch(ProjectUserAccess.PROJECT_USER_ACCESS.UID, values);
+ }
+
+ /**
+ * Fetch records that have <code>pid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.ProjectUserAccess> fetchRangeOfPid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(ProjectUserAccess.PROJECT_USER_ACCESS.PID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>pid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.ProjectUserAccess> fetchByPid(Integer... values) {
+ return fetch(ProjectUserAccess.PROJECT_USER_ACCESS.PID, values);
+ }
+
+ /**
+ * Fetch records that have <code>privilege BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.ProjectUserAccess> fetchRangeOfPrivilege(PrivilegeEnum lowerInclusive, PrivilegeEnum upperInclusive) {
+ return fetchRange(ProjectUserAccess.PROJECT_USER_ACCESS.PRIVILEGE, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>privilege IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.ProjectUserAccess> fetchByPrivilege(PrivilegeEnum... values) {
+ return fetch(ProjectUserAccess.PROJECT_USER_ACCESS.PRIVILEGE, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/PublicProjectDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/PublicProjectDao.java
new file mode 100644
index 0000000000..36dc448c06
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/PublicProjectDao.java
@@ -0,0 +1,84 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.util.List;
+import java.util.Optional;
+
+import org.apache.texera.dao.jooq.generated.tables.PublicProject;
+import org.apache.texera.dao.jooq.generated.tables.records.PublicProjectRecord;
+import org.jooq.Configuration;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class PublicProjectDao extends DAOImpl<PublicProjectRecord, org.apache.texera.dao.jooq.generated.tables.pojos.PublicProject, Integer> {
+
+ /**
+ * Create a new PublicProjectDao without any configuration
+ */
+ public PublicProjectDao() {
+ super(PublicProject.PUBLIC_PROJECT, org.apache.texera.dao.jooq.generated.tables.pojos.PublicProject.class);
+ }
+
+ /**
+ * Create a new PublicProjectDao with an attached configuration
+ */
+ public PublicProjectDao(Configuration configuration) {
+ super(PublicProject.PUBLIC_PROJECT, org.apache.texera.dao.jooq.generated.tables.pojos.PublicProject.class, configuration);
+ }
+
+ @Override
+ public Integer getId(org.apache.texera.dao.jooq.generated.tables.pojos.PublicProject object) {
+ return object.getPid();
+ }
+
+ /**
+ * Fetch records that have <code>pid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.PublicProject> fetchRangeOfPid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(PublicProject.PUBLIC_PROJECT.PID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>pid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.PublicProject> fetchByPid(Integer... values) {
+ return fetch(PublicProject.PUBLIC_PROJECT.PID, values);
+ }
+
+ /**
+ * Fetch a unique record that has <code>pid = value</code>
+ */
+ public org.apache.texera.dao.jooq.generated.tables.pojos.PublicProject fetchOneByPid(Integer value) {
+ return fetchOne(PublicProject.PUBLIC_PROJECT.PID, value);
+ }
+
+ /**
+ * Fetch a unique record that has <code>pid = value</code>
+ */
+ public Optional<org.apache.texera.dao.jooq.generated.tables.pojos.PublicProject> fetchOptionalByPid(Integer value) {
+ return fetchOptional(PublicProject.PUBLIC_PROJECT.PID, value);
+ }
+
+ /**
+ * Fetch records that have <code>uid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.PublicProject> fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(PublicProject.PUBLIC_PROJECT.UID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>uid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.PublicProject> fetchByUid(Integer... values) {
+ return fetch(PublicProject.PUBLIC_PROJECT.UID, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/SiteSettingsDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/SiteSettingsDao.java
new file mode 100644
index 0000000000..eb4640ef6b
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/SiteSettingsDao.java
@@ -0,0 +1,115 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.sql.Timestamp;
+import java.util.List;
+import java.util.Optional;
+
+import org.apache.texera.dao.jooq.generated.tables.SiteSettings;
+import org.apache.texera.dao.jooq.generated.tables.records.SiteSettingsRecord;
+import org.jooq.Configuration;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class SiteSettingsDao extends DAOImpl<SiteSettingsRecord, org.apache.texera.dao.jooq.generated.tables.pojos.SiteSettings, String> {
+
+ /**
+ * Create a new SiteSettingsDao without any configuration
+ */
+ public SiteSettingsDao() {
+ super(SiteSettings.SITE_SETTINGS, org.apache.texera.dao.jooq.generated.tables.pojos.SiteSettings.class);
+ }
+
+ /**
+ * Create a new SiteSettingsDao with an attached configuration
+ */
+ public SiteSettingsDao(Configuration configuration) {
+ super(SiteSettings.SITE_SETTINGS, org.apache.texera.dao.jooq.generated.tables.pojos.SiteSettings.class, configuration);
+ }
+
+ @Override
+ public String getId(org.apache.texera.dao.jooq.generated.tables.pojos.SiteSettings object) {
+ return object.getKey();
+ }
+
+ /**
+ * Fetch records that have <code>key BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.SiteSettings> fetchRangeOfKey(String lowerInclusive, String upperInclusive) {
+ return fetchRange(SiteSettings.SITE_SETTINGS.KEY, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>key IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.SiteSettings> fetchByKey(String... values) {
+ return fetch(SiteSettings.SITE_SETTINGS.KEY, values);
+ }
+
+ /**
+ * Fetch a unique record that has <code>key = value</code>
+ */
+ public org.apache.texera.dao.jooq.generated.tables.pojos.SiteSettings fetchOneByKey(String value) {
+ return fetchOne(SiteSettings.SITE_SETTINGS.KEY, value);
+ }
+
+ /**
+ * Fetch a unique record that has <code>key = value</code>
+ */
+ public Optional<org.apache.texera.dao.jooq.generated.tables.pojos.SiteSettings> fetchOptionalByKey(String value) {
+ return fetchOptional(SiteSettings.SITE_SETTINGS.KEY, value);
+ }
+
+ /**
+ * Fetch records that have <code>value BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.SiteSettings> fetchRangeOfValue(String lowerInclusive, String upperInclusive) {
+ return fetchRange(SiteSettings.SITE_SETTINGS.VALUE, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>value IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.SiteSettings> fetchByValue(String... values) {
+ return fetch(SiteSettings.SITE_SETTINGS.VALUE, values);
+ }
+
+ /**
+ * Fetch records that have <code>updated_by BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.SiteSettings> fetchRangeOfUpdatedBy(String lowerInclusive, String upperInclusive) {
+ return fetchRange(SiteSettings.SITE_SETTINGS.UPDATED_BY, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>updated_by IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.SiteSettings> fetchByUpdatedBy(String... values) {
+ return fetch(SiteSettings.SITE_SETTINGS.UPDATED_BY, values);
+ }
+
+ /**
+ * Fetch records that have <code>updated_at BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.SiteSettings> fetchRangeOfUpdatedAt(Timestamp lowerInclusive, Timestamp upperInclusive) {
+ return fetchRange(SiteSettings.SITE_SETTINGS.UPDATED_AT, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>updated_at IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.SiteSettings> fetchByUpdatedAt(Timestamp... values) {
+ return fetch(SiteSettings.SITE_SETTINGS.UPDATED_AT, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/UserActionDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/UserActionDao.java
new file mode 100644
index 0000000000..fedc706030
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/UserActionDao.java
@@ -0,0 +1,161 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.sql.Timestamp;
+import java.util.List;
+import java.util.Optional;
+
+import org.apache.texera.dao.jooq.generated.enums.ActionEnum;
+import org.apache.texera.dao.jooq.generated.tables.UserAction;
+import org.apache.texera.dao.jooq.generated.tables.records.UserActionRecord;
+import org.jooq.Configuration;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class UserActionDao extends DAOImpl<UserActionRecord, org.apache.texera.dao.jooq.generated.tables.pojos.UserAction, Long> {
+
+ /**
+ * Create a new UserActionDao without any configuration
+ */
+ public UserActionDao() {
+ super(UserAction.USER_ACTION, org.apache.texera.dao.jooq.generated.tables.pojos.UserAction.class);
+ }
+
+ /**
+ * Create a new UserActionDao with an attached configuration
+ */
+ public UserActionDao(Configuration configuration) {
+ super(UserAction.USER_ACTION, org.apache.texera.dao.jooq.generated.tables.pojos.UserAction.class, configuration);
+ }
+
+ @Override
+ public Long getId(org.apache.texera.dao.jooq.generated.tables.pojos.UserAction object) {
+ return object.getUserActionId();
+ }
+
+ /**
+ * Fetch records that have <code>user_action_id BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserAction> fetchRangeOfUserActionId(Long lowerInclusive, Long upperInclusive) {
+ return fetchRange(UserAction.USER_ACTION.USER_ACTION_ID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>user_action_id IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserAction> fetchByUserActionId(Long... values) {
+ return fetch(UserAction.USER_ACTION.USER_ACTION_ID, values);
+ }
+
+ /**
+ * Fetch a unique record that has <code>user_action_id = value</code>
+ */
+ public org.apache.texera.dao.jooq.generated.tables.pojos.UserAction fetchOneByUserActionId(Long value) {
+ return fetchOne(UserAction.USER_ACTION.USER_ACTION_ID, value);
+ }
+
+ /**
+ * Fetch a unique record that has <code>user_action_id = value</code>
+ */
+ public Optional<org.apache.texera.dao.jooq.generated.tables.pojos.UserAction> fetchOptionalByUserActionId(Long value) {
+ return fetchOptional(UserAction.USER_ACTION.USER_ACTION_ID, value);
+ }
+
+ /**
+ * Fetch records that have <code>uid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserAction> fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(UserAction.USER_ACTION.UID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>uid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserAction> fetchByUid(Integer... values) {
+ return fetch(UserAction.USER_ACTION.UID, values);
+ }
+
+ /**
+ * Fetch records that have <code>ip BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserAction> fetchRangeOfIp(String lowerInclusive, String upperInclusive) {
+ return fetchRange(UserAction.USER_ACTION.IP, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>ip IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserAction> fetchByIp(String... values) {
+ return fetch(UserAction.USER_ACTION.IP, values);
+ }
+
+ /**
+ * Fetch records that have <code>action_time BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserAction> fetchRangeOfActionTime(Timestamp lowerInclusive, Timestamp upperInclusive) {
+ return fetchRange(UserAction.USER_ACTION.ACTION_TIME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>action_time IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserAction> fetchByActionTime(Timestamp... values) {
+ return fetch(UserAction.USER_ACTION.ACTION_TIME, values);
+ }
+
+ /**
+ * Fetch records that have <code>resource_type BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserAction> fetchRangeOfResourceType(String lowerInclusive, String upperInclusive) {
+ return fetchRange(UserAction.USER_ACTION.RESOURCE_TYPE, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>resource_type IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserAction> fetchByResourceType(String... values) {
+ return fetch(UserAction.USER_ACTION.RESOURCE_TYPE, values);
+ }
+
+ /**
+ * Fetch records that have <code>resource_id BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserAction> fetchRangeOfResourceId(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(UserAction.USER_ACTION.RESOURCE_ID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>resource_id IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserAction> fetchByResourceId(Integer... values) {
+ return fetch(UserAction.USER_ACTION.RESOURCE_ID, values);
+ }
+
+ /**
+ * Fetch records that have <code>action BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserAction> fetchRangeOfAction(ActionEnum lowerInclusive, ActionEnum upperInclusive) {
+ return fetchRange(UserAction.USER_ACTION.ACTION, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>action IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserAction> fetchByAction(ActionEnum... values) {
+ return fetch(UserAction.USER_ACTION.ACTION, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/UserConfigDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/UserConfigDao.java
new file mode 100644
index 0000000000..c778ded036
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/UserConfigDao.java
@@ -0,0 +1,85 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.tables.UserConfig;
+import org.apache.texera.dao.jooq.generated.tables.records.UserConfigRecord;
+import org.jooq.Configuration;
+import org.jooq.Record2;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class UserConfigDao extends DAOImpl<UserConfigRecord, org.apache.texera.dao.jooq.generated.tables.pojos.UserConfig, Record2<Integer, String>> {
+
+ /**
+ * Create a new UserConfigDao without any configuration
+ */
+ public UserConfigDao() {
+ super(UserConfig.USER_CONFIG, org.apache.texera.dao.jooq.generated.tables.pojos.UserConfig.class);
+ }
+
+ /**
+ * Create a new UserConfigDao with an attached configuration
+ */
+ public UserConfigDao(Configuration configuration) {
+ super(UserConfig.USER_CONFIG, org.apache.texera.dao.jooq.generated.tables.pojos.UserConfig.class, configuration);
+ }
+
+ @Override
+ public Record2<Integer, String> getId(org.apache.texera.dao.jooq.generated.tables.pojos.UserConfig object) {
+ return compositeKeyRecord(object.getUid(), object.getKey());
+ }
+
+ /**
+ * Fetch records that have <code>uid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserConfig> fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(UserConfig.USER_CONFIG.UID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>uid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserConfig> fetchByUid(Integer... values) {
+ return fetch(UserConfig.USER_CONFIG.UID, values);
+ }
+
+ /**
+ * Fetch records that have <code>key BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserConfig> fetchRangeOfKey(String lowerInclusive, String upperInclusive) {
+ return fetchRange(UserConfig.USER_CONFIG.KEY, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>key IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserConfig> fetchByKey(String... values) {
+ return fetch(UserConfig.USER_CONFIG.KEY, values);
+ }
+
+ /**
+ * Fetch records that have <code>value BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserConfig> fetchRangeOfValue(String lowerInclusive, String upperInclusive) {
+ return fetchRange(UserConfig.USER_CONFIG.VALUE, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>value IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserConfig> fetchByValue(String... values) {
+ return fetch(UserConfig.USER_CONFIG.VALUE, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/UserDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/UserDao.java
new file mode 100644
index 0000000000..17703ac1a5
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/UserDao.java
@@ -0,0 +1,219 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.time.OffsetDateTime;
+import java.util.List;
+import java.util.Optional;
+
+import org.apache.texera.dao.jooq.generated.enums.UserRoleEnum;
+import org.apache.texera.dao.jooq.generated.tables.User;
+import org.apache.texera.dao.jooq.generated.tables.records.UserRecord;
+import org.jooq.Configuration;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class UserDao extends DAOImpl<UserRecord, org.apache.texera.dao.jooq.generated.tables.pojos.User, Integer> {
+
+ /**
+ * Create a new UserDao without any configuration
+ */
+ public UserDao() {
+ super(User.USER, org.apache.texera.dao.jooq.generated.tables.pojos.User.class);
+ }
+
+ /**
+ * Create a new UserDao with an attached configuration
+ */
+ public UserDao(Configuration configuration) {
+ super(User.USER, org.apache.texera.dao.jooq.generated.tables.pojos.User.class, configuration);
+ }
+
+ @Override
+ public Integer getId(org.apache.texera.dao.jooq.generated.tables.pojos.User object) {
+ return object.getUid();
+ }
+
+ /**
+ * Fetch records that have <code>uid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(User.USER.UID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>uid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchByUid(Integer... values) {
+ return fetch(User.USER.UID, values);
+ }
+
+ /**
+ * Fetch a unique record that has <code>uid = value</code>
+ */
+ public org.apache.texera.dao.jooq.generated.tables.pojos.User fetchOneByUid(Integer value) {
+ return fetchOne(User.USER.UID, value);
+ }
+
+ /**
+ * Fetch a unique record that has <code>uid = value</code>
+ */
+ public Optional<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchOptionalByUid(Integer value) {
+ return fetchOptional(User.USER.UID, value);
+ }
+
+ /**
+ * Fetch records that have <code>name BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchRangeOfName(String lowerInclusive, String upperInclusive) {
+ return fetchRange(User.USER.NAME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>name IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchByName(String... values) {
+ return fetch(User.USER.NAME, values);
+ }
+
+ /**
+ * Fetch records that have <code>email BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchRangeOfEmail(String lowerInclusive, String upperInclusive) {
+ return fetchRange(User.USER.EMAIL, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>email IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchByEmail(String... values) {
+ return fetch(User.USER.EMAIL, values);
+ }
+
+ /**
+ * Fetch a unique record that has <code>email = value</code>
+ */
+ public org.apache.texera.dao.jooq.generated.tables.pojos.User fetchOneByEmail(String value) {
+ return fetchOne(User.USER.EMAIL, value);
+ }
+
+ /**
+ * Fetch a unique record that has <code>email = value</code>
+ */
+ public Optional<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchOptionalByEmail(String value) {
+ return fetchOptional(User.USER.EMAIL, value);
+ }
+
+ /**
+ * Fetch records that have <code>password BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchRangeOfPassword(String lowerInclusive, String upperInclusive) {
+ return fetchRange(User.USER.PASSWORD, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>password IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchByPassword(String... values) {
+ return fetch(User.USER.PASSWORD, values);
+ }
+
+ /**
+ * Fetch records that have <code>google_id BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchRangeOfGoogleId(String lowerInclusive, String upperInclusive) {
+ return fetchRange(User.USER.GOOGLE_ID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>google_id IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchByGoogleId(String... values) {
+ return fetch(User.USER.GOOGLE_ID, values);
+ }
+
+ /**
+ * Fetch a unique record that has <code>google_id = value</code>
+ */
+ public org.apache.texera.dao.jooq.generated.tables.pojos.User fetchOneByGoogleId(String value) {
+ return fetchOne(User.USER.GOOGLE_ID, value);
+ }
+
+ /**
+ * Fetch a unique record that has <code>google_id = value</code>
+ */
+ public Optional<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchOptionalByGoogleId(String value) {
+ return fetchOptional(User.USER.GOOGLE_ID, value);
+ }
+
+ /**
+ * Fetch records that have <code>google_avatar BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchRangeOfGoogleAvatar(String lowerInclusive, String upperInclusive) {
+ return fetchRange(User.USER.GOOGLE_AVATAR, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>google_avatar IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchByGoogleAvatar(String... values) {
+ return fetch(User.USER.GOOGLE_AVATAR, values);
+ }
+
+ /**
+ * Fetch records that have <code>role BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchRangeOfRole(UserRoleEnum lowerInclusive, UserRoleEnum upperInclusive) {
+ return fetchRange(User.USER.ROLE, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>role IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchByRole(UserRoleEnum... values) {
+ return fetch(User.USER.ROLE, values);
+ }
+
+ /**
+ * Fetch records that have <code>comment BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchRangeOfComment(String lowerInclusive, String upperInclusive) {
+ return fetchRange(User.USER.COMMENT, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>comment IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchByComment(String... values) {
+ return fetch(User.USER.COMMENT, values);
+ }
+
+ /**
+ * Fetch records that have <code>account_creation_time BETWEEN
+ * lowerInclusive AND upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchRangeOfAccountCreationTime(OffsetDateTime lowerInclusive, OffsetDateTime upperInclusive) {
+ return fetchRange(User.USER.ACCOUNT_CREATION_TIME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>account_creation_time IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.User> fetchByAccountCreationTime(OffsetDateTime... values) {
+ return fetch(User.USER.ACCOUNT_CREATION_TIME, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/UserLastActiveTimeDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/UserLastActiveTimeDao.java
new file mode 100644
index 0000000000..e1f7cbabb0
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/UserLastActiveTimeDao.java
@@ -0,0 +1,85 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.time.OffsetDateTime;
+import java.util.List;
+import java.util.Optional;
+
+import org.apache.texera.dao.jooq.generated.tables.UserLastActiveTime;
+import org.apache.texera.dao.jooq.generated.tables.records.UserLastActiveTimeRecord;
+import org.jooq.Configuration;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class UserLastActiveTimeDao extends DAOImpl<UserLastActiveTimeRecord, org.apache.texera.dao.jooq.generated.tables.pojos.UserLastActiveTime, Integer> {
+
+ /**
+ * Create a new UserLastActiveTimeDao without any configuration
+ */
+ public UserLastActiveTimeDao() {
+ super(UserLastActiveTime.USER_LAST_ACTIVE_TIME, org.apache.texera.dao.jooq.generated.tables.pojos.UserLastActiveTime.class);
+ }
+
+ /**
+ * Create a new UserLastActiveTimeDao with an attached configuration
+ */
+ public UserLastActiveTimeDao(Configuration configuration) {
+ super(UserLastActiveTime.USER_LAST_ACTIVE_TIME, org.apache.texera.dao.jooq.generated.tables.pojos.UserLastActiveTime.class, configuration);
+ }
+
+ @Override
+ public Integer getId(org.apache.texera.dao.jooq.generated.tables.pojos.UserLastActiveTime object) {
+ return object.getUid();
+ }
+
+ /**
+ * Fetch records that have <code>uid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserLastActiveTime> fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(UserLastActiveTime.USER_LAST_ACTIVE_TIME.UID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>uid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserLastActiveTime> fetchByUid(Integer... values) {
+ return fetch(UserLastActiveTime.USER_LAST_ACTIVE_TIME.UID, values);
+ }
+
+ /**
+ * Fetch a unique record that has <code>uid = value</code>
+ */
+ public org.apache.texera.dao.jooq.generated.tables.pojos.UserLastActiveTime fetchOneByUid(Integer value) {
+ return fetchOne(UserLastActiveTime.USER_LAST_ACTIVE_TIME.UID, value);
+ }
+
+ /**
+ * Fetch a unique record that has <code>uid = value</code>
+ */
+ public Optional<org.apache.texera.dao.jooq.generated.tables.pojos.UserLastActiveTime> fetchOptionalByUid(Integer value) {
+ return fetchOptional(UserLastActiveTime.USER_LAST_ACTIVE_TIME.UID, value);
+ }
+
+ /**
+ * Fetch records that have <code>last_active_time BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserLastActiveTime> fetchRangeOfLastActiveTime(OffsetDateTime lowerInclusive, OffsetDateTime upperInclusive) {
+ return fetchRange(UserLastActiveTime.USER_LAST_ACTIVE_TIME.LAST_ACTIVE_TIME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>last_active_time IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.UserLastActiveTime> fetchByLastActiveTime(OffsetDateTime... values) {
+ return fetch(UserLastActiveTime.USER_LAST_ACTIVE_TIME.LAST_ACTIVE_TIME, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowComputingUnitDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowComputingUnitDao.java
new file mode 100644
index 0000000000..791c97bf9c
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowComputingUnitDao.java
@@ -0,0 +1,176 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.sql.Timestamp;
+import java.util.List;
+import java.util.Optional;
+
+import org.apache.texera.dao.jooq.generated.enums.WorkflowComputingUnitTypeEnum;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowComputingUnit;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowComputingUnitRecord;
+import org.jooq.Configuration;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowComputingUnitDao extends DAOImpl<WorkflowComputingUnitRecord, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit, Integer> {
+
+ /**
+ * Create a new WorkflowComputingUnitDao without any configuration
+ */
+ public WorkflowComputingUnitDao() {
+ super(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit.class);
+ }
+
+ /**
+ * Create a new WorkflowComputingUnitDao with an attached configuration
+ */
+ public WorkflowComputingUnitDao(Configuration configuration) {
+ super(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit.class, configuration);
+ }
+
+ @Override
+ public Integer getId(org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit object) {
+ return object.getCuid();
+ }
+
+ /**
+ * Fetch records that have <code>uid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit> fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.UID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>uid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit> fetchByUid(Integer... values) {
+ return fetch(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.UID, values);
+ }
+
+ /**
+ * Fetch records that have <code>name BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit> fetchRangeOfName(String lowerInclusive, String upperInclusive) {
+ return fetchRange(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.NAME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>name IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit> fetchByName(String... values) {
+ return fetch(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.NAME, values);
+ }
+
+ /**
+ * Fetch records that have <code>cuid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit> fetchRangeOfCuid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CUID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>cuid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit> fetchByCuid(Integer... values) {
+ return fetch(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CUID, values);
+ }
+
+ /**
+ * Fetch a unique record that has <code>cuid = value</code>
+ */
+ public org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit fetchOneByCuid(Integer value) {
+ return fetchOne(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CUID, value);
+ }
+
+ /**
+ * Fetch a unique record that has <code>cuid = value</code>
+ */
+ public Optional<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit> fetchOptionalByCuid(Integer value) {
+ return fetchOptional(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CUID, value);
+ }
+
+ /**
+ * Fetch records that have <code>creation_time BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit> fetchRangeOfCreationTime(Timestamp lowerInclusive, Timestamp upperInclusive) {
+ return fetchRange(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CREATION_TIME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>creation_time IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit> fetchByCreationTime(Timestamp... values) {
+ return fetch(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CREATION_TIME, values);
+ }
+
+ /**
+ * Fetch records that have <code>terminate_time BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit> fetchRangeOfTerminateTime(Timestamp lowerInclusive, Timestamp upperInclusive) {
+ return fetchRange(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.TERMINATE_TIME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>terminate_time IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit> fetchByTerminateTime(Timestamp... values) {
+ return fetch(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.TERMINATE_TIME, values);
+ }
+
+ /**
+ * Fetch records that have <code>type BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit> fetchRangeOfType(WorkflowComputingUnitTypeEnum lowerInclusive, WorkflowComputingUnitTypeEnum upperInclusive) {
+ return fetchRange(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.TYPE, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>type IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit> fetchByType(WorkflowComputingUnitTypeEnum... values) {
+ return fetch(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.TYPE, values);
+ }
+
+ /**
+ * Fetch records that have <code>uri BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit> fetchRangeOfUri(String lowerInclusive, String upperInclusive) {
+ return fetchRange(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.URI, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>uri IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit> fetchByUri(String... values) {
+ return fetch(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.URI, values);
+ }
+
+ /**
+ * Fetch records that have <code>resource BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit> fetchRangeOfResource(String lowerInclusive, String upperInclusive) {
+ return fetchRange(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.RESOURCE, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>resource IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit> fetchByResource(String... values) {
+ return fetch(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.RESOURCE, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowDao.java
new file mode 100644
index 0000000000..470491ada7
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowDao.java
@@ -0,0 +1,160 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.sql.Timestamp;
+import java.util.List;
+import java.util.Optional;
+
+import org.apache.texera.dao.jooq.generated.tables.Workflow;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowRecord;
+import org.jooq.Configuration;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowDao extends DAOImpl<WorkflowRecord, org.apache.texera.dao.jooq.generated.tables.pojos.Workflow, Integer> {
+
+ /**
+ * Create a new WorkflowDao without any configuration
+ */
+ public WorkflowDao() {
+ super(Workflow.WORKFLOW, org.apache.texera.dao.jooq.generated.tables.pojos.Workflow.class);
+ }
+
+ /**
+ * Create a new WorkflowDao with an attached configuration
+ */
+ public WorkflowDao(Configuration configuration) {
+ super(Workflow.WORKFLOW, org.apache.texera.dao.jooq.generated.tables.pojos.Workflow.class, configuration);
+ }
+
+ @Override
+ public Integer getId(org.apache.texera.dao.jooq.generated.tables.pojos.Workflow object) {
+ return object.getWid();
+ }
+
+ /**
+ * Fetch records that have <code>wid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Workflow> fetchRangeOfWid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(Workflow.WORKFLOW.WID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>wid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Workflow> fetchByWid(Integer... values) {
+ return fetch(Workflow.WORKFLOW.WID, values);
+ }
+
+ /**
+ * Fetch a unique record that has <code>wid = value</code>
+ */
+ public org.apache.texera.dao.jooq.generated.tables.pojos.Workflow fetchOneByWid(Integer value) {
+ return fetchOne(Workflow.WORKFLOW.WID, value);
+ }
+
+ /**
+ * Fetch a unique record that has <code>wid = value</code>
+ */
+ public Optional<org.apache.texera.dao.jooq.generated.tables.pojos.Workflow> fetchOptionalByWid(Integer value) {
+ return fetchOptional(Workflow.WORKFLOW.WID, value);
+ }
+
+ /**
+ * Fetch records that have <code>name BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Workflow> fetchRangeOfName(String lowerInclusive, String upperInclusive) {
+ return fetchRange(Workflow.WORKFLOW.NAME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>name IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Workflow> fetchByName(String... values) {
+ return fetch(Workflow.WORKFLOW.NAME, values);
+ }
+
+ /**
+ * Fetch records that have <code>description BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Workflow> fetchRangeOfDescription(String lowerInclusive, String upperInclusive) {
+ return fetchRange(Workflow.WORKFLOW.DESCRIPTION, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>description IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Workflow> fetchByDescription(String... values) {
+ return fetch(Workflow.WORKFLOW.DESCRIPTION, values);
+ }
+
+ /**
+ * Fetch records that have <code>content BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Workflow> fetchRangeOfContent(String lowerInclusive, String upperInclusive) {
+ return fetchRange(Workflow.WORKFLOW.CONTENT, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>content IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Workflow> fetchByContent(String... values) {
+ return fetch(Workflow.WORKFLOW.CONTENT, values);
+ }
+
+ /**
+ * Fetch records that have <code>creation_time BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Workflow> fetchRangeOfCreationTime(Timestamp lowerInclusive, Timestamp upperInclusive) {
+ return fetchRange(Workflow.WORKFLOW.CREATION_TIME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>creation_time IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Workflow> fetchByCreationTime(Timestamp... values) {
+ return fetch(Workflow.WORKFLOW.CREATION_TIME, values);
+ }
+
+ /**
+ * Fetch records that have <code>last_modified_time BETWEEN lowerInclusive
+ * AND upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Workflow> fetchRangeOfLastModifiedTime(Timestamp lowerInclusive, Timestamp upperInclusive) {
+ return fetchRange(Workflow.WORKFLOW.LAST_MODIFIED_TIME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>last_modified_time IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Workflow> fetchByLastModifiedTime(Timestamp... values) {
+ return fetch(Workflow.WORKFLOW.LAST_MODIFIED_TIME, values);
+ }
+
+ /**
+ * Fetch records that have <code>is_public BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Workflow> fetchRangeOfIsPublic(Boolean lowerInclusive, Boolean upperInclusive) {
+ return fetchRange(Workflow.WORKFLOW.IS_PUBLIC, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>is_public IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.Workflow> fetchByIsPublic(Boolean... values) {
+ return fetch(Workflow.WORKFLOW.IS_PUBLIC, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowExecutionsDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowExecutionsDao.java
new file mode 100644
index 0000000000..55f805f345
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowExecutionsDao.java
@@ -0,0 +1,265 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.sql.Timestamp;
+import java.util.List;
+import java.util.Optional;
+
+import org.apache.texera.dao.jooq.generated.tables.WorkflowExecutions;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowExecutionsRecord;
+import org.jooq.Configuration;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowExecutionsDao extends DAOImpl<WorkflowExecutionsRecord, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions, Integer> {
+
+ /**
+ * Create a new WorkflowExecutionsDao without any configuration
+ */
+ public WorkflowExecutionsDao() {
+ super(WorkflowExecutions.WORKFLOW_EXECUTIONS, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions.class);
+ }
+
+ /**
+ * Create a new WorkflowExecutionsDao with an attached configuration
+ */
+ public WorkflowExecutionsDao(Configuration configuration) {
+ super(WorkflowExecutions.WORKFLOW_EXECUTIONS, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions.class, configuration);
+ }
+
+ @Override
+ public Integer getId(org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions object) {
+ return object.getEid();
+ }
+
+ /**
+ * Fetch records that have <code>eid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchRangeOfEid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.EID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>eid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchByEid(Integer... values) {
+ return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.EID, values);
+ }
+
+ /**
+ * Fetch a unique record that has <code>eid = value</code>
+ */
+ public org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions fetchOneByEid(Integer value) {
+ return fetchOne(WorkflowExecutions.WORKFLOW_EXECUTIONS.EID, value);
+ }
+
+ /**
+ * Fetch a unique record that has <code>eid = value</code>
+ */
+ public Optional<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchOptionalByEid(Integer value) {
+ return fetchOptional(WorkflowExecutions.WORKFLOW_EXECUTIONS.EID, value);
+ }
+
+ /**
+ * Fetch records that have <code>vid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchRangeOfVid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.VID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>vid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchByVid(Integer... values) {
+ return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.VID, values);
+ }
+
+ /**
+ * Fetch records that have <code>uid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.UID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>uid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchByUid(Integer... values) {
+ return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.UID, values);
+ }
+
+ /**
+ * Fetch records that have <code>cuid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchRangeOfCuid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.CUID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>cuid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchByCuid(Integer... values) {
+ return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.CUID, values);
+ }
+
+ /**
+ * Fetch records that have <code>status BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchRangeOfStatus(Short lowerInclusive, Short upperInclusive) {
+ return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.STATUS, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>status IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchByStatus(Short... values) {
+ return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.STATUS, values);
+ }
+
+ /**
+ * Fetch records that have <code>result BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchRangeOfResult(String lowerInclusive, String upperInclusive) {
+ return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.RESULT, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>result IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchByResult(String... values) {
+ return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.RESULT, values);
+ }
+
+ /**
+ * Fetch records that have <code>starting_time BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchRangeOfStartingTime(Timestamp lowerInclusive, Timestamp upperInclusive) {
+ return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.STARTING_TIME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>starting_time IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchByStartingTime(Timestamp... values) {
+ return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.STARTING_TIME, values);
+ }
+
+ /**
+ * Fetch records that have <code>last_update_time BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchRangeOfLastUpdateTime(Timestamp lowerInclusive, Timestamp upperInclusive) {
+ return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.LAST_UPDATE_TIME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>last_update_time IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchByLastUpdateTime(Timestamp... values) {
+ return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.LAST_UPDATE_TIME, values);
+ }
+
+ /**
+ * Fetch records that have <code>bookmarked BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchRangeOfBookmarked(Boolean lowerInclusive, Boolean upperInclusive) {
+ return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.BOOKMARKED, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>bookmarked IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchByBookmarked(Boolean... values) {
+ return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.BOOKMARKED, values);
+ }
+
+ /**
+ * Fetch records that have <code>name BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchRangeOfName(String lowerInclusive, String upperInclusive) {
+ return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.NAME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>name IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchByName(String... values) {
+ return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.NAME, values);
+ }
+
+ /**
+ * Fetch records that have <code>environment_version BETWEEN lowerInclusive
+ * AND upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchRangeOfEnvironmentVersion(String lowerInclusive, String upperInclusive) {
+ return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.ENVIRONMENT_VERSION, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>environment_version IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchByEnvironmentVersion(String... values) {
+ return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.ENVIRONMENT_VERSION, values);
+ }
+
+ /**
+ * Fetch records that have <code>log_location BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchRangeOfLogLocation(String lowerInclusive, String upperInclusive) {
+ return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.LOG_LOCATION, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>log_location IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchByLogLocation(String... values) {
+ return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.LOG_LOCATION, values);
+ }
+
+ /**
+ * Fetch records that have <code>runtime_stats_uri BETWEEN lowerInclusive
+ * AND upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchRangeOfRuntimeStatsUri(String lowerInclusive, String upperInclusive) {
+ return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.RUNTIME_STATS_URI, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>runtime_stats_uri IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchByRuntimeStatsUri(String... values) {
+ return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.RUNTIME_STATS_URI, values);
+ }
+
+ /**
+ * Fetch records that have <code>runtime_stats_size BETWEEN lowerInclusive
+ * AND upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchRangeOfRuntimeStatsSize(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.RUNTIME_STATS_SIZE, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>runtime_stats_size IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions> fetchByRuntimeStatsSize(Integer... values) {
+ return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.RUNTIME_STATS_SIZE, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowOfProjectDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowOfProjectDao.java
new file mode 100644
index 0000000000..87f42a90eb
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowOfProjectDao.java
@@ -0,0 +1,70 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.tables.WorkflowOfProject;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowOfProjectRecord;
+import org.jooq.Configuration;
+import org.jooq.Record2;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowOfProjectDao extends DAOImpl<WorkflowOfProjectRecord, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowOfProject, Record2<Integer, Integer>> {
+
+ /**
+ * Create a new WorkflowOfProjectDao without any configuration
+ */
+ public WorkflowOfProjectDao() {
+ super(WorkflowOfProject.WORKFLOW_OF_PROJECT, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowOfProject.class);
+ }
+
+ /**
+ * Create a new WorkflowOfProjectDao with an attached configuration
+ */
+ public WorkflowOfProjectDao(Configuration configuration) {
+ super(WorkflowOfProject.WORKFLOW_OF_PROJECT, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowOfProject.class, configuration);
+ }
+
+ @Override
+ public Record2<Integer, Integer> getId(org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowOfProject object) {
+ return compositeKeyRecord(object.getWid(), object.getPid());
+ }
+
+ /**
+ * Fetch records that have <code>wid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowOfProject> fetchRangeOfWid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowOfProject.WORKFLOW_OF_PROJECT.WID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>wid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowOfProject> fetchByWid(Integer... values) {
+ return fetch(WorkflowOfProject.WORKFLOW_OF_PROJECT.WID, values);
+ }
+
+ /**
+ * Fetch records that have <code>pid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowOfProject> fetchRangeOfPid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowOfProject.WORKFLOW_OF_PROJECT.PID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>pid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowOfProject> fetchByPid(Integer... values) {
+ return fetch(WorkflowOfProject.WORKFLOW_OF_PROJECT.PID, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowOfUserDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowOfUserDao.java
new file mode 100644
index 0000000000..c18890ac7f
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowOfUserDao.java
@@ -0,0 +1,70 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.tables.WorkflowOfUser;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowOfUserRecord;
+import org.jooq.Configuration;
+import org.jooq.Record2;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowOfUserDao extends DAOImpl<WorkflowOfUserRecord, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowOfUser, Record2<Integer, Integer>> {
+
+ /**
+ * Create a new WorkflowOfUserDao without any configuration
+ */
+ public WorkflowOfUserDao() {
+ super(WorkflowOfUser.WORKFLOW_OF_USER, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowOfUser.class);
+ }
+
+ /**
+ * Create a new WorkflowOfUserDao with an attached configuration
+ */
+ public WorkflowOfUserDao(Configuration configuration) {
+ super(WorkflowOfUser.WORKFLOW_OF_USER, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowOfUser.class, configuration);
+ }
+
+ @Override
+ public Record2<Integer, Integer> getId(org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowOfUser object) {
+ return compositeKeyRecord(object.getUid(), object.getWid());
+ }
+
+ /**
+ * Fetch records that have <code>uid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowOfUser> fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowOfUser.WORKFLOW_OF_USER.UID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>uid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowOfUser> fetchByUid(Integer... values) {
+ return fetch(WorkflowOfUser.WORKFLOW_OF_USER.UID, values);
+ }
+
+ /**
+ * Fetch records that have <code>wid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowOfUser> fetchRangeOfWid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowOfUser.WORKFLOW_OF_USER.WID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>wid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowOfUser> fetchByWid(Integer... values) {
+ return fetch(WorkflowOfUser.WORKFLOW_OF_USER.WID, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowUserAccessDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowUserAccessDao.java
new file mode 100644
index 0000000000..df5506c2eb
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowUserAccessDao.java
@@ -0,0 +1,86 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.enums.PrivilegeEnum;
+import org.apache.texera.dao.jooq.generated.tables.WorkflowUserAccess;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowUserAccessRecord;
+import org.jooq.Configuration;
+import org.jooq.Record2;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowUserAccessDao extends DAOImpl<WorkflowUserAccessRecord, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserAccess, Record2<Integer, Integer>> {
+
+ /**
+ * Create a new WorkflowUserAccessDao without any configuration
+ */
+ public WorkflowUserAccessDao() {
+ super(WorkflowUserAccess.WORKFLOW_USER_ACCESS, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserAccess.class);
+ }
+
+ /**
+ * Create a new WorkflowUserAccessDao with an attached configuration
+ */
+ public WorkflowUserAccessDao(Configuration configuration) {
+ super(WorkflowUserAccess.WORKFLOW_USER_ACCESS, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserAccess.class, configuration);
+ }
+
+ @Override
+ public Record2<Integer, Integer> getId(org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserAccess object) {
+ return compositeKeyRecord(object.getUid(), object.getWid());
+ }
+
+ /**
+ * Fetch records that have <code>uid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserAccess> fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowUserAccess.WORKFLOW_USER_ACCESS.UID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>uid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserAccess> fetchByUid(Integer... values) {
+ return fetch(WorkflowUserAccess.WORKFLOW_USER_ACCESS.UID, values);
+ }
+
+ /**
+ * Fetch records that have <code>wid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserAccess> fetchRangeOfWid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>wid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserAccess> fetchByWid(Integer... values) {
+ return fetch(WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID, values);
+ }
+
+ /**
+ * Fetch records that have <code>privilege BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserAccess> fetchRangeOfPrivilege(PrivilegeEnum lowerInclusive, PrivilegeEnum upperInclusive) {
+ return fetchRange(WorkflowUserAccess.WORKFLOW_USER_ACCESS.PRIVILEGE, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>privilege IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserAccess> fetchByPrivilege(PrivilegeEnum... values) {
+ return fetch(WorkflowUserAccess.WORKFLOW_USER_ACCESS.PRIVILEGE, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowUserClonesDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowUserClonesDao.java
new file mode 100644
index 0000000000..42f407444c
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowUserClonesDao.java
@@ -0,0 +1,70 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.tables.WorkflowUserClones;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowUserClonesRecord;
+import org.jooq.Configuration;
+import org.jooq.Record2;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowUserClonesDao extends DAOImpl<WorkflowUserClonesRecord, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserClones, Record2<Integer, Integer>> {
+
+ /**
+ * Create a new WorkflowUserClonesDao without any configuration
+ */
+ public WorkflowUserClonesDao() {
+ super(WorkflowUserClones.WORKFLOW_USER_CLONES, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserClones.class);
+ }
+
+ /**
+ * Create a new WorkflowUserClonesDao with an attached configuration
+ */
+ public WorkflowUserClonesDao(Configuration configuration) {
+ super(WorkflowUserClones.WORKFLOW_USER_CLONES, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserClones.class, configuration);
+ }
+
+ @Override
+ public Record2<Integer, Integer> getId(org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserClones object) {
+ return compositeKeyRecord(object.getUid(), object.getWid());
+ }
+
+ /**
+ * Fetch records that have <code>uid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserClones> fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowUserClones.WORKFLOW_USER_CLONES.UID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>uid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserClones> fetchByUid(Integer... values) {
+ return fetch(WorkflowUserClones.WORKFLOW_USER_CLONES.UID, values);
+ }
+
+ /**
+ * Fetch records that have <code>wid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserClones> fetchRangeOfWid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowUserClones.WORKFLOW_USER_CLONES.WID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>wid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserClones> fetchByWid(Integer... values) {
+ return fetch(WorkflowUserClones.WORKFLOW_USER_CLONES.WID, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowUserLikesDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowUserLikesDao.java
new file mode 100644
index 0000000000..d1bc266a64
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowUserLikesDao.java
@@ -0,0 +1,70 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.util.List;
+
+import org.apache.texera.dao.jooq.generated.tables.WorkflowUserLikes;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowUserLikesRecord;
+import org.jooq.Configuration;
+import org.jooq.Record2;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowUserLikesDao extends DAOImpl<WorkflowUserLikesRecord, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserLikes, Record2<Integer, Integer>> {
+
+ /**
+ * Create a new WorkflowUserLikesDao without any configuration
+ */
+ public WorkflowUserLikesDao() {
+ super(WorkflowUserLikes.WORKFLOW_USER_LIKES, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserLikes.class);
+ }
+
+ /**
+ * Create a new WorkflowUserLikesDao with an attached configuration
+ */
+ public WorkflowUserLikesDao(Configuration configuration) {
+ super(WorkflowUserLikes.WORKFLOW_USER_LIKES, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserLikes.class, configuration);
+ }
+
+ @Override
+ public Record2<Integer, Integer> getId(org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserLikes object) {
+ return compositeKeyRecord(object.getUid(), object.getWid());
+ }
+
+ /**
+ * Fetch records that have <code>uid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserLikes> fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowUserLikes.WORKFLOW_USER_LIKES.UID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>uid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserLikes> fetchByUid(Integer... values) {
+ return fetch(WorkflowUserLikes.WORKFLOW_USER_LIKES.UID, values);
+ }
+
+ /**
+ * Fetch records that have <code>wid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserLikes> fetchRangeOfWid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowUserLikes.WORKFLOW_USER_LIKES.WID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>wid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowUserLikes> fetchByWid(Integer... values) {
+ return fetch(WorkflowUserLikes.WORKFLOW_USER_LIKES.WID, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowVersionDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowVersionDao.java
new file mode 100644
index 0000000000..50c062ae2c
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowVersionDao.java
@@ -0,0 +1,115 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.sql.Timestamp;
+import java.util.List;
+import java.util.Optional;
+
+import org.apache.texera.dao.jooq.generated.tables.WorkflowVersion;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowVersionRecord;
+import org.jooq.Configuration;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowVersionDao extends DAOImpl<WorkflowVersionRecord, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowVersion, Integer> {
+
+ /**
+ * Create a new WorkflowVersionDao without any configuration
+ */
+ public WorkflowVersionDao() {
+ super(WorkflowVersion.WORKFLOW_VERSION, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowVersion.class);
+ }
+
+ /**
+ * Create a new WorkflowVersionDao with an attached configuration
+ */
+ public WorkflowVersionDao(Configuration configuration) {
+ super(WorkflowVersion.WORKFLOW_VERSION, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowVersion.class, configuration);
+ }
+
+ @Override
+ public Integer getId(org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowVersion object) {
+ return object.getVid();
+ }
+
+ /**
+ * Fetch records that have <code>vid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowVersion> fetchRangeOfVid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowVersion.WORKFLOW_VERSION.VID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>vid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowVersion> fetchByVid(Integer... values) {
+ return fetch(WorkflowVersion.WORKFLOW_VERSION.VID, values);
+ }
+
+ /**
+ * Fetch a unique record that has <code>vid = value</code>
+ */
+ public org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowVersion fetchOneByVid(Integer value) {
+ return fetchOne(WorkflowVersion.WORKFLOW_VERSION.VID, value);
+ }
+
+ /**
+ * Fetch a unique record that has <code>vid = value</code>
+ */
+ public Optional<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowVersion> fetchOptionalByVid(Integer value) {
+ return fetchOptional(WorkflowVersion.WORKFLOW_VERSION.VID, value);
+ }
+
+ /**
+ * Fetch records that have <code>wid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowVersion> fetchRangeOfWid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowVersion.WORKFLOW_VERSION.WID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>wid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowVersion> fetchByWid(Integer... values) {
+ return fetch(WorkflowVersion.WORKFLOW_VERSION.WID, values);
+ }
+
+ /**
+ * Fetch records that have <code>content BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowVersion> fetchRangeOfContent(String lowerInclusive, String upperInclusive) {
+ return fetchRange(WorkflowVersion.WORKFLOW_VERSION.CONTENT, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>content IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowVersion> fetchByContent(String... values) {
+ return fetch(WorkflowVersion.WORKFLOW_VERSION.CONTENT, values);
+ }
+
+ /**
+ * Fetch records that have <code>creation_time BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowVersion> fetchRangeOfCreationTime(Timestamp lowerInclusive, Timestamp upperInclusive) {
+ return fetchRange(WorkflowVersion.WORKFLOW_VERSION.CREATION_TIME, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>creation_time IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowVersion> fetchByCreationTime(Timestamp... values) {
+ return fetch(WorkflowVersion.WORKFLOW_VERSION.CREATION_TIME, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowViewCountDao.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowViewCountDao.java
new file mode 100644
index 0000000000..561c778f18
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/daos/WorkflowViewCountDao.java
@@ -0,0 +1,84 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.daos;
+
+
+import java.util.List;
+import java.util.Optional;
+
+import org.apache.texera.dao.jooq.generated.tables.WorkflowViewCount;
+import org.apache.texera.dao.jooq.generated.tables.records.WorkflowViewCountRecord;
+import org.jooq.Configuration;
+import org.jooq.impl.DAOImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class WorkflowViewCountDao extends DAOImpl<WorkflowViewCountRecord, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowViewCount, Integer> {
+
+ /**
+ * Create a new WorkflowViewCountDao without any configuration
+ */
+ public WorkflowViewCountDao() {
+ super(WorkflowViewCount.WORKFLOW_VIEW_COUNT, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowViewCount.class);
+ }
+
+ /**
+ * Create a new WorkflowViewCountDao with an attached configuration
+ */
+ public WorkflowViewCountDao(Configuration configuration) {
+ super(WorkflowViewCount.WORKFLOW_VIEW_COUNT, org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowViewCount.class, configuration);
+ }
+
+ @Override
+ public Integer getId(org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowViewCount object) {
+ return object.getWid();
+ }
+
+ /**
+ * Fetch records that have <code>wid BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowViewCount> fetchRangeOfWid(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>wid IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowViewCount> fetchByWid(Integer... values) {
+ return fetch(WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID, values);
+ }
+
+ /**
+ * Fetch a unique record that has <code>wid = value</code>
+ */
+ public org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowViewCount fetchOneByWid(Integer value) {
+ return fetchOne(WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID, value);
+ }
+
+ /**
+ * Fetch a unique record that has <code>wid = value</code>
+ */
+ public Optional<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowViewCount> fetchOptionalByWid(Integer value) {
+ return fetchOptional(WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID, value);
+ }
+
+ /**
+ * Fetch records that have <code>view_count BETWEEN lowerInclusive AND
+ * upperInclusive</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowViewCount> fetchRangeOfViewCount(Integer lowerInclusive, Integer upperInclusive) {
+ return fetchRange(WorkflowViewCount.WORKFLOW_VIEW_COUNT.VIEW_COUNT, lowerInclusive, upperInclusive);
+ }
+
+ /**
+ * Fetch records that have <code>view_count IN (values)</code>
+ */
+ public List<org.apache.texera.dao.jooq.generated.tables.pojos.WorkflowViewCount> fetchByViewCount(Integer... values) {
+ return fetch(WorkflowViewCount.WORKFLOW_VIEW_COUNT.VIEW_COUNT, values);
+ }
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IComputingUnitUserAccess.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IComputingUnitUserAccess.java
new file mode 100644
index 0000000000..36e501fd7f
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IComputingUnitUserAccess.java
@@ -0,0 +1,63 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.interfaces;
+
+
+import java.io.Serializable;
+
+import org.apache.texera.dao.jooq.generated.enums.PrivilegeEnum;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public interface IComputingUnitUserAccess extends Serializable {
+
+ /**
+ * Setter for <code>texera_db.computing_unit_user_access.cuid</code>.
+ */
+ public void setCuid(Integer value);
+
+ /**
+ * Getter for <code>texera_db.computing_unit_user_access.cuid</code>.
+ */
+ public Integer getCuid();
+
+ /**
+ * Setter for <code>texera_db.computing_unit_user_access.uid</code>.
+ */
+ public void setUid(Integer value);
+
+ /**
+ * Getter for <code>texera_db.computing_unit_user_access.uid</code>.
+ */
+ public Integer getUid();
+
+ /**
+ * Setter for <code>texera_db.computing_unit_user_access.privilege</code>.
+ */
+ public void setPrivilege(PrivilegeEnum value);
+
+ /**
+ * Getter for <code>texera_db.computing_unit_user_access.privilege</code>.
+ */
+ public PrivilegeEnum getPrivilege();
+
+ // -------------------------------------------------------------------------
+ // FROM and INTO
+ // -------------------------------------------------------------------------
+
+ /**
+ * Load data from another generated Record/POJO implementing the common
+ * interface IComputingUnitUserAccess
+ */
+ public void from(IComputingUnitUserAccess from);
+
+ /**
+ * Copy data into another generated Record/POJO implementing the common
+ * interface IComputingUnitUserAccess
+ */
+ public <E extends IComputingUnitUserAccess> E into(E into);
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IDataset.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IDataset.java
new file mode 100644
index 0000000000..b271f6acda
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IDataset.java
@@ -0,0 +1,112 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.interfaces;
+
+
+import java.io.Serializable;
+import java.sql.Timestamp;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public interface IDataset extends Serializable {
+
+ /**
+ * Setter for <code>texera_db.dataset.did</code>.
+ */
+ public void setDid(Integer value);
+
+ /**
+ * Getter for <code>texera_db.dataset.did</code>.
+ */
+ public Integer getDid();
+
+ /**
+ * Setter for <code>texera_db.dataset.owner_uid</code>.
+ */
+ public void setOwnerUid(Integer value);
+
+ /**
+ * Getter for <code>texera_db.dataset.owner_uid</code>.
+ */
+ public Integer getOwnerUid();
+
+ /**
+ * Setter for <code>texera_db.dataset.name</code>.
+ */
+ public void setName(String value);
+
+ /**
+ * Getter for <code>texera_db.dataset.name</code>.
+ */
+ public String getName();
+
+ /**
+ * Setter for <code>texera_db.dataset.is_public</code>.
+ */
+ public void setIsPublic(Boolean value);
+
+ /**
+ * Getter for <code>texera_db.dataset.is_public</code>.
+ */
+ public Boolean getIsPublic();
+
+ /**
+ * Setter for <code>texera_db.dataset.is_downloadable</code>.
+ */
+ public void setIsDownloadable(Boolean value);
+
+ /**
+ * Getter for <code>texera_db.dataset.is_downloadable</code>.
+ */
+ public Boolean getIsDownloadable();
+
+ /**
+ * Setter for <code>texera_db.dataset.description</code>.
+ */
+ public void setDescription(String value);
+
+ /**
+ * Getter for <code>texera_db.dataset.description</code>.
+ */
+ public String getDescription();
+
+ /**
+ * Setter for <code>texera_db.dataset.creation_time</code>.
+ */
+ public void setCreationTime(Timestamp value);
+
+ /**
+ * Getter for <code>texera_db.dataset.creation_time</code>.
+ */
+ public Timestamp getCreationTime();
+
+ /**
+ * Setter for <code>texera_db.dataset.repository_name</code>.
+ */
+ public void setRepositoryName(String value);
+
+ /**
+ * Getter for <code>texera_db.dataset.repository_name</code>.
+ */
+ public String getRepositoryName();
+
+ // -------------------------------------------------------------------------
+ // FROM and INTO
+ // -------------------------------------------------------------------------
+
+ /**
+ * Load data from another generated Record/POJO implementing the common
+ * interface IDataset
+ */
+ public void from(IDataset from);
+
+ /**
+ * Copy data into another generated Record/POJO implementing the common
+ * interface IDataset
+ */
+ public <E extends IDataset> E into(E into);
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IDatasetUserAccess.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IDatasetUserAccess.java
new file mode 100644
index 0000000000..2b39be6071
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IDatasetUserAccess.java
@@ -0,0 +1,63 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.interfaces;
+
+
+import java.io.Serializable;
+
+import org.apache.texera.dao.jooq.generated.enums.PrivilegeEnum;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public interface IDatasetUserAccess extends Serializable {
+
+ /**
+ * Setter for <code>texera_db.dataset_user_access.did</code>.
+ */
+ public void setDid(Integer value);
+
+ /**
+ * Getter for <code>texera_db.dataset_user_access.did</code>.
+ */
+ public Integer getDid();
+
+ /**
+ * Setter for <code>texera_db.dataset_user_access.uid</code>.
+ */
+ public void setUid(Integer value);
+
+ /**
+ * Getter for <code>texera_db.dataset_user_access.uid</code>.
+ */
+ public Integer getUid();
+
+ /**
+ * Setter for <code>texera_db.dataset_user_access.privilege</code>.
+ */
+ public void setPrivilege(PrivilegeEnum value);
+
+ /**
+ * Getter for <code>texera_db.dataset_user_access.privilege</code>.
+ */
+ public PrivilegeEnum getPrivilege();
+
+ // -------------------------------------------------------------------------
+ // FROM and INTO
+ // -------------------------------------------------------------------------
+
+ /**
+ * Load data from another generated Record/POJO implementing the common
+ * interface IDatasetUserAccess
+ */
+ public void from(IDatasetUserAccess from);
+
+ /**
+ * Copy data into another generated Record/POJO implementing the common
+ * interface IDatasetUserAccess
+ */
+ public <E extends IDatasetUserAccess> E into(E into);
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IDatasetUserLikes.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IDatasetUserLikes.java
new file mode 100644
index 0000000000..3febf9ec26
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IDatasetUserLikes.java
@@ -0,0 +1,51 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.interfaces;
+
+
+import java.io.Serializable;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public interface IDatasetUserLikes extends Serializable {
+
+ /**
+ * Setter for <code>texera_db.dataset_user_likes.uid</code>.
+ */
+ public void setUid(Integer value);
+
+ /**
+ * Getter for <code>texera_db.dataset_user_likes.uid</code>.
+ */
+ public Integer getUid();
+
+ /**
+ * Setter for <code>texera_db.dataset_user_likes.did</code>.
+ */
+ public void setDid(Integer value);
+
+ /**
+ * Getter for <code>texera_db.dataset_user_likes.did</code>.
+ */
+ public Integer getDid();
+
+ // -------------------------------------------------------------------------
+ // FROM and INTO
+ // -------------------------------------------------------------------------
+
+ /**
+ * Load data from another generated Record/POJO implementing the common
+ * interface IDatasetUserLikes
+ */
+ public void from(IDatasetUserLikes from);
+
+ /**
+ * Copy data into another generated Record/POJO implementing the common
+ * interface IDatasetUserLikes
+ */
+ public <E extends IDatasetUserLikes> E into(E into);
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IDatasetVersion.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IDatasetVersion.java
new file mode 100644
index 0000000000..ddb442e77d
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IDatasetVersion.java
@@ -0,0 +1,92 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.interfaces;
+
+
+import java.io.Serializable;
+import java.sql.Timestamp;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public interface IDatasetVersion extends Serializable {
+
+ /**
+ * Setter for <code>texera_db.dataset_version.dvid</code>.
+ */
+ public void setDvid(Integer value);
+
+ /**
+ * Getter for <code>texera_db.dataset_version.dvid</code>.
+ */
+ public Integer getDvid();
+
+ /**
+ * Setter for <code>texera_db.dataset_version.did</code>.
+ */
+ public void setDid(Integer value);
+
+ /**
+ * Getter for <code>texera_db.dataset_version.did</code>.
+ */
+ public Integer getDid();
+
+ /**
+ * Setter for <code>texera_db.dataset_version.creator_uid</code>.
+ */
+ public void setCreatorUid(Integer value);
+
+ /**
+ * Getter for <code>texera_db.dataset_version.creator_uid</code>.
+ */
+ public Integer getCreatorUid();
+
+ /**
+ * Setter for <code>texera_db.dataset_version.name</code>.
+ */
+ public void setName(String value);
+
+ /**
+ * Getter for <code>texera_db.dataset_version.name</code>.
+ */
+ public String getName();
+
+ /**
+ * Setter for <code>texera_db.dataset_version.version_hash</code>.
+ */
+ public void setVersionHash(String value);
+
+ /**
+ * Getter for <code>texera_db.dataset_version.version_hash</code>.
+ */
+ public String getVersionHash();
+
+ /**
+ * Setter for <code>texera_db.dataset_version.creation_time</code>.
+ */
+ public void setCreationTime(Timestamp value);
+
+ /**
+ * Getter for <code>texera_db.dataset_version.creation_time</code>.
+ */
+ public Timestamp getCreationTime();
+
+ // -------------------------------------------------------------------------
+ // FROM and INTO
+ // -------------------------------------------------------------------------
+
+ /**
+ * Load data from another generated Record/POJO implementing the common
+ * interface IDatasetVersion
+ */
+ public void from(IDatasetVersion from);
+
+ /**
+ * Copy data into another generated Record/POJO implementing the common
+ * interface IDatasetVersion
+ */
+ public <E extends IDatasetVersion> E into(E into);
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IDatasetViewCount.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IDatasetViewCount.java
new file mode 100644
index 0000000000..9b0258db26
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IDatasetViewCount.java
@@ -0,0 +1,51 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.interfaces;
+
+
+import java.io.Serializable;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public interface IDatasetViewCount extends Serializable {
+
+ /**
+ * Setter for <code>texera_db.dataset_view_count.did</code>.
+ */
+ public void setDid(Integer value);
+
+ /**
+ * Getter for <code>texera_db.dataset_view_count.did</code>.
+ */
+ public Integer getDid();
+
+ /**
+ * Setter for <code>texera_db.dataset_view_count.view_count</code>.
+ */
+ public void setViewCount(Integer value);
+
+ /**
+ * Getter for <code>texera_db.dataset_view_count.view_count</code>.
+ */
+ public Integer getViewCount();
+
+ // -------------------------------------------------------------------------
+ // FROM and INTO
+ // -------------------------------------------------------------------------
+
+ /**
+ * Load data from another generated Record/POJO implementing the common
+ * interface IDatasetViewCount
+ */
+ public void from(IDatasetViewCount from);
+
+ /**
+ * Copy data into another generated Record/POJO implementing the common
+ * interface IDatasetViewCount
+ */
+ public <E extends IDatasetViewCount> E into(E into);
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IOperatorExecutions.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IOperatorExecutions.java
new file mode 100644
index 0000000000..b794db344a
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IOperatorExecutions.java
@@ -0,0 +1,77 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.interfaces;
+
+
+import java.io.Serializable;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public interface IOperatorExecutions extends Serializable {
+
+ /**
+ * Setter for
+ * <code>texera_db.operator_executions.workflow_execution_id</code>.
+ */
+ public void setWorkflowExecutionId(Integer value);
+
+ /**
+ * Getter for
+ * <code>texera_db.operator_executions.workflow_execution_id</code>.
+ */
+ public Integer getWorkflowExecutionId();
+
+ /**
+ * Setter for <code>texera_db.operator_executions.operator_id</code>.
+ */
+ public void setOperatorId(String value);
+
+ /**
+ * Getter for <code>texera_db.operator_executions.operator_id</code>.
+ */
+ public String getOperatorId();
+
+ /**
+ * Setter for
+ * <code>texera_db.operator_executions.console_messages_uri</code>.
+ */
+ public void setConsoleMessagesUri(String value);
+
+ /**
+ * Getter for
+ * <code>texera_db.operator_executions.console_messages_uri</code>.
+ */
+ public String getConsoleMessagesUri();
+
+ /**
+ * Setter for
+ * <code>texera_db.operator_executions.console_messages_size</code>.
+ */
+ public void setConsoleMessagesSize(Integer value);
+
+ /**
+ * Getter for
+ * <code>texera_db.operator_executions.console_messages_size</code>.
+ */
+ public Integer getConsoleMessagesSize();
+
+ // -------------------------------------------------------------------------
+ // FROM and INTO
+ // -------------------------------------------------------------------------
+
+ /**
+ * Load data from another generated Record/POJO implementing the common
+ * interface IOperatorExecutions
+ */
+ public void from(IOperatorExecutions from);
+
+ /**
+ * Copy data into another generated Record/POJO implementing the common
+ * interface IOperatorExecutions
+ */
+ public <E extends IOperatorExecutions> E into(E into);
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IOperatorPortExecutions.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IOperatorPortExecutions.java
new file mode 100644
index 0000000000..261148cdc8
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IOperatorPortExecutions.java
@@ -0,0 +1,75 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.interfaces;
+
+
+import java.io.Serializable;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public interface IOperatorPortExecutions extends Serializable {
+
+ /**
+ * Setter for
+ * <code>texera_db.operator_port_executions.workflow_execution_id</code>.
+ */
+ public void setWorkflowExecutionId(Integer value);
+
+ /**
+ * Getter for
+ * <code>texera_db.operator_port_executions.workflow_execution_id</code>.
+ */
+ public Integer getWorkflowExecutionId();
+
+ /**
+ * Setter for
+ * <code>texera_db.operator_port_executions.global_port_id</code>.
+ */
+ public void setGlobalPortId(String value);
+
+ /**
+ * Getter for
+ * <code>texera_db.operator_port_executions.global_port_id</code>.
+ */
+ public String getGlobalPortId();
+
+ /**
+ * Setter for <code>texera_db.operator_port_executions.result_uri</code>.
+ */
+ public void setResultUri(String value);
+
+ /**
+ * Getter for <code>texera_db.operator_port_executions.result_uri</code>.
+ */
+ public String getResultUri();
+
+ /**
+ * Setter for <code>texera_db.operator_port_executions.result_size</code>.
+ */
+ public void setResultSize(Integer value);
+
+ /**
+ * Getter for <code>texera_db.operator_port_executions.result_size</code>.
+ */
+ public Integer getResultSize();
+
+ // -------------------------------------------------------------------------
+ // FROM and INTO
+ // -------------------------------------------------------------------------
+
+ /**
+ * Load data from another generated Record/POJO implementing the common
+ * interface IOperatorPortExecutions
+ */
+ public void from(IOperatorPortExecutions from);
+
+ /**
+ * Copy data into another generated Record/POJO implementing the common
+ * interface IOperatorPortExecutions
+ */
+ public <E extends IOperatorPortExecutions> E into(E into);
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IProject.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IProject.java
new file mode 100644
index 0000000000..885806cea5
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IProject.java
@@ -0,0 +1,92 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.interfaces;
+
+
+import java.io.Serializable;
+import java.sql.Timestamp;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public interface IProject extends Serializable {
+
+ /**
+ * Setter for <code>texera_db.project.pid</code>.
+ */
+ public void setPid(Integer value);
+
+ /**
+ * Getter for <code>texera_db.project.pid</code>.
+ */
+ public Integer getPid();
+
+ /**
+ * Setter for <code>texera_db.project.name</code>.
+ */
+ public void setName(String value);
+
+ /**
+ * Getter for <code>texera_db.project.name</code>.
+ */
+ public String getName();
+
+ /**
+ * Setter for <code>texera_db.project.description</code>.
+ */
+ public void setDescription(String value);
+
+ /**
+ * Getter for <code>texera_db.project.description</code>.
+ */
+ public String getDescription();
+
+ /**
+ * Setter for <code>texera_db.project.owner_id</code>.
+ */
+ public void setOwnerId(Integer value);
+
+ /**
+ * Getter for <code>texera_db.project.owner_id</code>.
+ */
+ public Integer getOwnerId();
+
+ /**
+ * Setter for <code>texera_db.project.creation_time</code>.
+ */
+ public void setCreationTime(Timestamp value);
+
+ /**
+ * Getter for <code>texera_db.project.creation_time</code>.
+ */
+ public Timestamp getCreationTime();
+
+ /**
+ * Setter for <code>texera_db.project.color</code>.
+ */
+ public void setColor(String value);
+
+ /**
+ * Getter for <code>texera_db.project.color</code>.
+ */
+ public String getColor();
+
+ // -------------------------------------------------------------------------
+ // FROM and INTO
+ // -------------------------------------------------------------------------
+
+ /**
+ * Load data from another generated Record/POJO implementing the common
+ * interface IProject
+ */
+ public void from(IProject from);
+
+ /**
+ * Copy data into another generated Record/POJO implementing the common
+ * interface IProject
+ */
+ public <E extends IProject> E into(E into);
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IProjectUserAccess.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IProjectUserAccess.java
new file mode 100644
index 0000000000..e76d48a9fb
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IProjectUserAccess.java
@@ -0,0 +1,63 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.interfaces;
+
+
+import java.io.Serializable;
+
+import org.apache.texera.dao.jooq.generated.enums.PrivilegeEnum;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public interface IProjectUserAccess extends Serializable {
+
+ /**
+ * Setter for <code>texera_db.project_user_access.uid</code>.
+ */
+ public void setUid(Integer value);
+
+ /**
+ * Getter for <code>texera_db.project_user_access.uid</code>.
+ */
+ public Integer getUid();
+
+ /**
+ * Setter for <code>texera_db.project_user_access.pid</code>.
+ */
+ public void setPid(Integer value);
+
+ /**
+ * Getter for <code>texera_db.project_user_access.pid</code>.
+ */
+ public Integer getPid();
+
+ /**
+ * Setter for <code>texera_db.project_user_access.privilege</code>.
+ */
+ public void setPrivilege(PrivilegeEnum value);
+
+ /**
+ * Getter for <code>texera_db.project_user_access.privilege</code>.
+ */
+ public PrivilegeEnum getPrivilege();
+
+ // -------------------------------------------------------------------------
+ // FROM and INTO
+ // -------------------------------------------------------------------------
+
+ /**
+ * Load data from another generated Record/POJO implementing the common
+ * interface IProjectUserAccess
+ */
+ public void from(IProjectUserAccess from);
+
+ /**
+ * Copy data into another generated Record/POJO implementing the common
+ * interface IProjectUserAccess
+ */
+ public <E extends IProjectUserAccess> E into(E into);
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IPublicProject.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IPublicProject.java
new file mode 100644
index 0000000000..87c056dd97
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/IPublicProject.java
@@ -0,0 +1,51 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.interfaces;
+
+
+import java.io.Serializable;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public interface IPublicProject extends Serializable {
+
+ /**
+ * Setter for <code>texera_db.public_project.pid</code>.
+ */
+ public void setPid(Integer value);
+
+ /**
+ * Getter for <code>texera_db.public_project.pid</code>.
+ */
+ public Integer getPid();
+
+ /**
+ * Setter for <code>texera_db.public_project.uid</code>.
+ */
+ public void setUid(Integer value);
+
+ /**
+ * Getter for <code>texera_db.public_project.uid</code>.
+ */
+ public Integer getUid();
+
+ // -------------------------------------------------------------------------
+ // FROM and INTO
+ // -------------------------------------------------------------------------
+
+ /**
+ * Load data from another generated Record/POJO implementing the common
+ * interface IPublicProject
+ */
+ public void from(IPublicProject from);
+
+ /**
+ * Copy data into another generated Record/POJO implementing the common
+ * interface IPublicProject
+ */
+ public <E extends IPublicProject> E into(E into);
+}
diff --git a/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/ISiteSettings.java b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/ISiteSettings.java
new file mode 100644
index 0000000000..b573774dcb
--- /dev/null
+++ b/common/dao/src/main/scala/org/apache/texera/dao/jooq/generated/tables/interfaces/ISiteSettings.java
@@ -0,0 +1,72 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package org.apache.texera.dao.jooq.generated.tables.interfaces;
+
+
+import java.io.Serializable;
+import java.sql.Timestamp;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public interface ISiteSettings extends Serializable {
+
+ /**
+ * Setter for <code>texera_db.site_settings.key</code>.
+ */
+ public void setKey(String value);
+
+ /**
+ * Getter for <code>texera_db.site_settings.key</code>.
+ */
+ public String getKey();
+
+ /**
+ * Setter for <code>texera_db.site_settings.value</code>.
... 22151 lines suppressed ...