From ec31f614e3908656dd14685a3610af146630b71c Mon Sep 17 00:00:00 2001 From: Jiadong Bai Date: Mon, 16 Dec 2024 23:45:25 -0800 Subject: [PATCH] finished --- .../ics/texera/web/ComputingUnitMaster.scala | 2 +- .../texera/web/ServletAwareConfigurator.scala | 2 +- .../ics/texera/web/auth/GuestAuthFilter.scala | 4 +- .../edu/uci/ics/texera/web/auth/JwtAuth.scala | 2 +- .../uci/ics/texera/web/auth/SessionUser.scala | 4 +- .../texera/web/auth/UserAuthenticator.scala | 4 +- .../texera/web/auth/UserRoleAuthorizer.scala | 2 +- .../model/jooq/generated/DefaultCatalog.java | 51 -- .../web/model/jooq/generated/Indexes.java | 108 --- .../texera/web/model/jooq/generated/Keys.java | 156 ---- .../web/model/jooq/generated/Tables.java | 110 --- .../web/model/jooq/generated/TexeraDb.java | 167 ---- .../enums/DatasetUserAccessPrivilege.java | 49 -- .../enums/ProjectUserAccessPrivilege.java | 49 -- .../model/jooq/generated/enums/UserRole.java | 51 -- .../enums/WorkflowUserAccessPrivilege.java | 49 -- .../model/jooq/generated/tables/Dataset.java | 173 ----- .../generated/tables/DatasetUserAccess.java | 157 ---- .../jooq/generated/tables/DatasetVersion.java | 173 ----- .../model/jooq/generated/tables/Project.java | 173 ----- .../generated/tables/ProjectUserAccess.java | 157 ---- .../jooq/generated/tables/PublicProject.java | 147 ---- .../web/model/jooq/generated/tables/User.java | 169 ---- .../jooq/generated/tables/UserConfig.java | 152 ---- .../model/jooq/generated/tables/Workflow.java | 169 ---- .../generated/tables/WorkflowExecutions.java | 202 ----- .../generated/tables/WorkflowOfProject.java | 151 ---- .../jooq/generated/tables/WorkflowOfUser.java | 151 ---- .../tables/WorkflowRuntimeStatistics.java | 198 ----- .../generated/tables/WorkflowUserAccess.java | 157 ---- .../tables/WorkflowUserActivity.java | 135 ---- .../generated/tables/WorkflowUserClones.java | 151 ---- .../generated/tables/WorkflowUserLikes.java | 151 ---- .../generated/tables/WorkflowVersion.java | 163 ---- .../generated/tables/WorkflowViewCount.java | 147 ---- .../generated/tables/daos/DatasetDao.java | 132 ---- .../tables/daos/DatasetUserAccessDao.java | 84 -- .../tables/daos/DatasetVersionDao.java | 132 ---- .../generated/tables/daos/ProjectDao.java | 132 ---- .../tables/daos/ProjectUserAccessDao.java | 84 -- .../tables/daos/PublicProjectDao.java | 75 -- .../generated/tables/daos/UserConfigDao.java | 83 -- .../jooq/generated/tables/daos/UserDao.java | 160 ---- .../generated/tables/daos/WorkflowDao.java | 146 ---- .../tables/daos/WorkflowExecutionsDao.java | 202 ----- .../tables/daos/WorkflowOfProjectDao.java | 69 -- .../tables/daos/WorkflowOfUserDao.java | 69 -- .../daos/WorkflowRuntimeStatisticsDao.java | 197 ----- .../tables/daos/WorkflowUserAccessDao.java | 84 -- .../tables/daos/WorkflowUserClonesDao.java | 69 -- .../tables/daos/WorkflowUserLikesDao.java | 69 -- .../tables/daos/WorkflowVersionDao.java | 104 --- .../tables/daos/WorkflowViewCountDao.java | 75 -- .../generated/tables/interfaces/IDataset.java | 92 --- .../tables/interfaces/IDatasetUserAccess.java | 62 -- .../tables/interfaces/IDatasetVersion.java | 92 --- .../generated/tables/interfaces/IProject.java | 92 --- .../tables/interfaces/IProjectUserAccess.java | 62 -- .../tables/interfaces/IPublicProject.java | 51 -- .../generated/tables/interfaces/IUser.java | 102 --- .../tables/interfaces/IUserConfig.java | 61 -- .../tables/interfaces/IWorkflow.java | 102 --- .../interfaces/IWorkflowExecutions.java | 142 ---- .../tables/interfaces/IWorkflowOfProject.java | 51 -- .../tables/interfaces/IWorkflowOfUser.java | 51 -- .../IWorkflowRuntimeStatistics.java | 143 ---- .../interfaces/IWorkflowUserAccess.java | 62 -- .../interfaces/IWorkflowUserActivity.java | 82 -- .../interfaces/IWorkflowUserClones.java | 51 -- .../tables/interfaces/IWorkflowUserLikes.java | 51 -- .../tables/interfaces/IWorkflowVersion.java | 72 -- .../tables/interfaces/IWorkflowViewCount.java | 51 -- .../jooq/generated/tables/pojos/Dataset.java | 150 ---- .../tables/pojos/DatasetUserAccess.java | 101 --- .../tables/pojos/DatasetVersion.java | 150 ---- .../jooq/generated/tables/pojos/Project.java | 150 ---- .../tables/pojos/ProjectUserAccess.java | 101 --- .../generated/tables/pojos/PublicProject.java | 84 -- .../jooq/generated/tables/pojos/User.java | 165 ---- .../generated/tables/pojos/UserConfig.java | 100 --- .../jooq/generated/tables/pojos/Workflow.java | 166 ---- .../tables/pojos/WorkflowExecutions.java | 230 ------ .../tables/pojos/WorkflowOfProject.java | 84 -- .../tables/pojos/WorkflowOfUser.java | 84 -- .../pojos/WorkflowRuntimeStatistics.java | 231 ------ .../tables/pojos/WorkflowUserAccess.java | 101 --- .../tables/pojos/WorkflowUserActivity.java | 134 ---- .../tables/pojos/WorkflowUserClones.java | 84 -- .../tables/pojos/WorkflowUserLikes.java | 84 -- .../tables/pojos/WorkflowVersion.java | 118 --- .../tables/pojos/WorkflowViewCount.java | 84 -- .../tables/records/DatasetRecord.java | 327 -------- .../records/DatasetUserAccessRecord.java | 206 ----- .../tables/records/DatasetVersionRecord.java | 327 -------- .../tables/records/ProjectRecord.java | 327 -------- .../records/ProjectUserAccessRecord.java | 206 ----- .../tables/records/PublicProjectRecord.java | 165 ---- .../tables/records/UserConfigRecord.java | 205 ----- .../generated/tables/records/UserRecord.java | 366 --------- .../records/WorkflowExecutionsRecord.java | 527 ------------- .../records/WorkflowOfProjectRecord.java | 164 ---- .../tables/records/WorkflowOfUserRecord.java | 164 ---- .../tables/records/WorkflowRecord.java | 367 --------- .../WorkflowRuntimeStatisticsRecord.java | 528 ------------- .../records/WorkflowUserAccessRecord.java | 206 ----- .../records/WorkflowUserActivityRecord.java | 277 ------- .../records/WorkflowUserClonesRecord.java | 164 ---- .../records/WorkflowUserLikesRecord.java | 164 ---- .../tables/records/WorkflowVersionRecord.java | 247 ------ .../records/WorkflowViewCountRecord.java | 165 ---- .../web/resource/CollaborationResource.scala | 2 +- .../web/resource/UserConfigResource.scala | 6 +- .../resource/WorkflowWebsocketResource.scala | 2 +- .../web/resource/auth/AuthResource.scala | 8 +- .../resource/auth/GoogleAuthResource.scala | 6 +- .../dashboard/DashboardResource.scala | 4 +- .../dashboard/DatasetSearchQueryBuilder.scala | 8 +- .../dashboard/ProjectSearchQueryBuilder.scala | 4 +- .../dashboard/UnifiedResourceSchema.scala | 2 +- .../WorkflowSearchQueryBuilder.scala | 4 +- .../execution/AdminExecutionResource.scala | 2 +- .../admin/user/AdminUserResource.scala | 6 +- .../hub/workflow/HubWorkflowResource.scala | 6 +- .../user/dataset/DatasetAccessResource.scala | 12 +- .../user/dataset/DatasetResource.scala | 14 +- .../utils/DatasetStatisticsUtils.scala | 2 +- .../user/project/ProjectAccessResource.scala | 8 +- .../user/project/ProjectResource.scala | 8 +- .../user/project/PublicProjectResource.scala | 8 +- .../user/quota/UserQuotaResource.scala | 2 +- .../workflow/WorkflowAccessResource.scala | 8 +- .../workflow/WorkflowExecutionsResource.scala | 6 +- .../user/workflow/WorkflowResource.scala | 8 +- .../workflow/WorkflowVersionResource.scala | 6 +- .../web/service/ExecutionStatsService.scala | 2 +- .../ExecutionsMetadataPersistService.scala | 4 +- .../web/service/ResultExportService.scala | 2 +- .../texera/web/service/WorkflowService.scala | 2 +- .../dashboard/file/WorkflowResourceSpec.scala | 8 +- .../node_modules/minipass/LICENSE | 15 + .../node_modules/minipass/README.md | 728 ++++++++++++++++++ .../node_modules/minipass/index.d.ts | 155 ++++ .../node_modules/minipass/index.js | 649 ++++++++++++++++ .../node_modules/minipass/package.json | 56 ++ 144 files changed, 1693 insertions(+), 14897 deletions(-) delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/DefaultCatalog.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Indexes.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Keys.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Tables.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/TexeraDb.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/DatasetUserAccessPrivilege.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/ProjectUserAccessPrivilege.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/UserRole.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/WorkflowUserAccessPrivilege.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Dataset.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/DatasetUserAccess.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/DatasetVersion.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Project.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/ProjectUserAccess.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/PublicProject.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/User.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/UserConfig.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Workflow.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowExecutions.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowOfProject.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowOfUser.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowRuntimeStatistics.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserAccess.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserActivity.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserClones.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserLikes.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowVersion.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowViewCount.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/DatasetDao.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/DatasetUserAccessDao.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/DatasetVersionDao.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/ProjectDao.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/ProjectUserAccessDao.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/PublicProjectDao.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/UserConfigDao.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/UserDao.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowDao.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowExecutionsDao.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowOfProjectDao.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowOfUserDao.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowRuntimeStatisticsDao.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowUserAccessDao.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowUserClonesDao.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowUserLikesDao.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowVersionDao.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowViewCountDao.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IDataset.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IDatasetUserAccess.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IDatasetVersion.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IProject.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IProjectUserAccess.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IPublicProject.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IUser.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IUserConfig.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflow.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowExecutions.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowOfProject.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowOfUser.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowRuntimeStatistics.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserAccess.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserActivity.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserClones.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserLikes.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowVersion.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowViewCount.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/Dataset.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/DatasetUserAccess.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/DatasetVersion.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/Project.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/ProjectUserAccess.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/PublicProject.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/User.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/UserConfig.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/Workflow.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowExecutions.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowOfProject.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowOfUser.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowRuntimeStatistics.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserAccess.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserActivity.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserClones.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserLikes.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowVersion.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowViewCount.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/DatasetRecord.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/DatasetUserAccessRecord.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/DatasetVersionRecord.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/ProjectRecord.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/ProjectUserAccessRecord.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/PublicProjectRecord.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/UserConfigRecord.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/UserRecord.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowExecutionsRecord.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowOfProjectRecord.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowOfUserRecord.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowRecord.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowRuntimeStatisticsRecord.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserAccessRecord.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserActivityRecord.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserClonesRecord.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserLikesRecord.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowVersionRecord.java delete mode 100644 core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowViewCountRecord.java create mode 100644 core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/LICENSE create mode 100644 core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/README.md create mode 100644 core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/index.d.ts create mode 100644 core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/index.js create mode 100644 core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/package.json diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/ComputingUnitMaster.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/ComputingUnitMaster.scala index 27bd59ddf8d..eba2c81df24 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/ComputingUnitMaster.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/ComputingUnitMaster.scala @@ -17,7 +17,7 @@ import edu.uci.ics.amber.engine.common.storage.SequentialRecordStorage import edu.uci.ics.amber.engine.common.{AmberConfig, AmberRuntime, Utils} import edu.uci.ics.amber.virtualidentity.ExecutionIdentity import edu.uci.ics.texera.web.auth.JwtAuth.setupJwtAuth -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowExecutions +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions import edu.uci.ics.texera.web.resource.WorkflowWebsocketResource import edu.uci.ics.texera.web.resource.dashboard.user.workflow.WorkflowExecutionsResource import edu.uci.ics.texera.web.service.ExecutionsMetadataPersistService diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/ServletAwareConfigurator.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/ServletAwareConfigurator.scala index 28c89fa123c..ce0e65913bc 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/ServletAwareConfigurator.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/ServletAwareConfigurator.scala @@ -2,7 +2,7 @@ package edu.uci.ics.texera.web import com.typesafe.scalalogging.LazyLogging import edu.uci.ics.texera.web.auth.JwtAuth.jwtConsumer -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User import org.apache.http.client.utils.URLEncodedUtils import org.jooq.types.UInteger diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/GuestAuthFilter.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/GuestAuthFilter.scala index 474406bf9fe..318a12c8f2d 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/GuestAuthFilter.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/GuestAuthFilter.scala @@ -1,8 +1,8 @@ package edu.uci.ics.texera.web.auth import edu.uci.ics.texera.web.auth.GuestAuthFilter.GUEST -import edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User +import edu.uci.ics.texera.dao.jooq.generated.enums.UserRole +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User import io.dropwizard.auth.AuthFilter import java.io.IOException diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/JwtAuth.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/JwtAuth.scala index 0cd5c5978a8..de67708c794 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/JwtAuth.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/JwtAuth.scala @@ -3,7 +3,7 @@ package edu.uci.ics.texera.web.auth import com.github.toastshaman.dropwizard.auth.jwt.JwtAuthFilter import com.typesafe.config.Config import edu.uci.ics.amber.engine.common.AmberConfig -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User import io.dropwizard.auth.AuthDynamicFeature import io.dropwizard.setup.Environment import org.jose4j.jws.AlgorithmIdentifiers.HMAC_SHA256 diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/SessionUser.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/SessionUser.scala index 62445306b8c..baee51b24fb 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/SessionUser.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/SessionUser.scala @@ -1,7 +1,7 @@ package edu.uci.ics.texera.web.auth -import edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User +import edu.uci.ics.texera.dao.jooq.generated.enums.UserRole +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User import org.jooq.types.UInteger import java.security.Principal diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/UserAuthenticator.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/UserAuthenticator.scala index 883edac54da..2a4947dc2ce 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/UserAuthenticator.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/UserAuthenticator.scala @@ -1,8 +1,8 @@ package edu.uci.ics.texera.web.auth import com.typesafe.scalalogging.LazyLogging -import edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User +import edu.uci.ics.texera.dao.jooq.generated.enums.UserRole +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User import io.dropwizard.auth.Authenticator import org.jooq.types.UInteger import org.jose4j.jwt.consumer.JwtContext diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/UserRoleAuthorizer.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/UserRoleAuthorizer.scala index bd2583bcb1c..67ceade63ab 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/UserRoleAuthorizer.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/auth/UserRoleAuthorizer.scala @@ -1,6 +1,6 @@ package edu.uci.ics.texera.web.auth -import edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole +import edu.uci.ics.texera.dao.jooq.generated.enums.UserRole import io.dropwizard.auth.Authorizer object UserRoleAuthorizer extends Authorizer[SessionUser] { diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/DefaultCatalog.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/DefaultCatalog.java deleted file mode 100644 index 4d86516a86d..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/DefaultCatalog.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated; - - -import org.jooq.Schema; -import org.jooq.impl.CatalogImpl; - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class DefaultCatalog extends CatalogImpl { - - private static final long serialVersionUID = -625238328; - - /** - * The reference instance of - */ - public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog(); - - /** - * The schema texera_db. - */ - public final TexeraDb TEXERA_DB = edu.uci.ics.texera.web.model.jooq.generated.TexeraDb.TEXERA_DB; - - /** - * No further instances allowed - */ - private DefaultCatalog() { - super(""); - } - - @Override - public final List getSchemas() { - List result = new ArrayList(); - result.addAll(getSchemas0()); - return result; - } - - private final List getSchemas0() { - return Arrays.asList( - TexeraDb.TEXERA_DB); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Indexes.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Indexes.java deleted file mode 100644 index 674a105bb5c..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Indexes.java +++ /dev/null @@ -1,108 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.*; -import org.jooq.Index; -import org.jooq.OrderField; -import org.jooq.impl.Internal; - - -/** - * A class modelling indexes of tables of the texera_db schema. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class Indexes { - - // ------------------------------------------------------------------------- - // INDEX definitions - // ------------------------------------------------------------------------- - - public static final Index DATASET_IDX_DATASET_NAME_DESCRIPTION = Indexes0.DATASET_IDX_DATASET_NAME_DESCRIPTION; - public static final Index DATASET_OWNER_UID = Indexes0.DATASET_OWNER_UID; - public static final Index DATASET_PRIMARY = Indexes0.DATASET_PRIMARY; - public static final Index DATASET_USER_ACCESS_PRIMARY = Indexes0.DATASET_USER_ACCESS_PRIMARY; - public static final Index DATASET_USER_ACCESS_UID = Indexes0.DATASET_USER_ACCESS_UID; - public static final Index DATASET_VERSION_DID = Indexes0.DATASET_VERSION_DID; - public static final Index DATASET_VERSION_IDX_DATASET_VERSION_NAME = Indexes0.DATASET_VERSION_IDX_DATASET_VERSION_NAME; - public static final Index DATASET_VERSION_PRIMARY = Indexes0.DATASET_VERSION_PRIMARY; - public static final Index PROJECT_IDX_USER_PROJECT_NAME_DESCRIPTION = Indexes0.PROJECT_IDX_USER_PROJECT_NAME_DESCRIPTION; - public static final Index PROJECT_OWNER_ID = Indexes0.PROJECT_OWNER_ID; - public static final Index PROJECT_PRIMARY = Indexes0.PROJECT_PRIMARY; - public static final Index PROJECT_USER_ACCESS_PID = Indexes0.PROJECT_USER_ACCESS_PID; - public static final Index PROJECT_USER_ACCESS_PRIMARY = Indexes0.PROJECT_USER_ACCESS_PRIMARY; - public static final Index PUBLIC_PROJECT_PRIMARY = Indexes0.PUBLIC_PROJECT_PRIMARY; - public static final Index USER_EMAIL = Indexes0.USER_EMAIL; - public static final Index USER_GOOGLE_ID = Indexes0.USER_GOOGLE_ID; - public static final Index USER_IDX_USER_NAME = Indexes0.USER_IDX_USER_NAME; - public static final Index USER_PRIMARY = Indexes0.USER_PRIMARY; - public static final Index USER_CONFIG_PRIMARY = Indexes0.USER_CONFIG_PRIMARY; - public static final Index WORKFLOW_IDX_WORKFLOW_NAME_DESCRIPTION_CONTENT = Indexes0.WORKFLOW_IDX_WORKFLOW_NAME_DESCRIPTION_CONTENT; - public static final Index WORKFLOW_PRIMARY = Indexes0.WORKFLOW_PRIMARY; - public static final Index WORKFLOW_EXECUTIONS_PRIMARY = Indexes0.WORKFLOW_EXECUTIONS_PRIMARY; - public static final Index WORKFLOW_EXECUTIONS_UID = Indexes0.WORKFLOW_EXECUTIONS_UID; - public static final Index WORKFLOW_EXECUTIONS_VID = Indexes0.WORKFLOW_EXECUTIONS_VID; - public static final Index WORKFLOW_OF_PROJECT_PID = Indexes0.WORKFLOW_OF_PROJECT_PID; - public static final Index WORKFLOW_OF_PROJECT_PRIMARY = Indexes0.WORKFLOW_OF_PROJECT_PRIMARY; - public static final Index WORKFLOW_OF_USER_PRIMARY = Indexes0.WORKFLOW_OF_USER_PRIMARY; - public static final Index WORKFLOW_OF_USER_WID = Indexes0.WORKFLOW_OF_USER_WID; - public static final Index WORKFLOW_RUNTIME_STATISTICS_EXECUTION_ID = Indexes0.WORKFLOW_RUNTIME_STATISTICS_EXECUTION_ID; - public static final Index WORKFLOW_RUNTIME_STATISTICS_PRIMARY = Indexes0.WORKFLOW_RUNTIME_STATISTICS_PRIMARY; - public static final Index WORKFLOW_USER_ACCESS_PRIMARY = Indexes0.WORKFLOW_USER_ACCESS_PRIMARY; - public static final Index WORKFLOW_USER_ACCESS_WID = Indexes0.WORKFLOW_USER_ACCESS_WID; - public static final Index WORKFLOW_USER_CLONES_PRIMARY = Indexes0.WORKFLOW_USER_CLONES_PRIMARY; - public static final Index WORKFLOW_USER_CLONES_WID = Indexes0.WORKFLOW_USER_CLONES_WID; - public static final Index WORKFLOW_USER_LIKES_PRIMARY = Indexes0.WORKFLOW_USER_LIKES_PRIMARY; - public static final Index WORKFLOW_USER_LIKES_WID = Indexes0.WORKFLOW_USER_LIKES_WID; - public static final Index WORKFLOW_VERSION_PRIMARY = Indexes0.WORKFLOW_VERSION_PRIMARY; - public static final Index WORKFLOW_VERSION_WID = Indexes0.WORKFLOW_VERSION_WID; - public static final Index WORKFLOW_VIEW_COUNT_PRIMARY = Indexes0.WORKFLOW_VIEW_COUNT_PRIMARY; - - // ------------------------------------------------------------------------- - // [#1459] distribute members to avoid static initialisers > 64kb - // ------------------------------------------------------------------------- - - private static class Indexes0 { - public static Index DATASET_IDX_DATASET_NAME_DESCRIPTION = Internal.createIndex("idx_dataset_name_description", Dataset.DATASET, new OrderField[]{Dataset.DATASET.NAME, Dataset.DATASET.DESCRIPTION}, false); - public static Index DATASET_OWNER_UID = Internal.createIndex("owner_uid", Dataset.DATASET, new OrderField[]{Dataset.DATASET.OWNER_UID}, false); - public static Index DATASET_PRIMARY = Internal.createIndex("PRIMARY", Dataset.DATASET, new OrderField[]{Dataset.DATASET.DID}, true); - public static Index DATASET_USER_ACCESS_PRIMARY = Internal.createIndex("PRIMARY", DatasetUserAccess.DATASET_USER_ACCESS, new OrderField[]{DatasetUserAccess.DATASET_USER_ACCESS.DID, DatasetUserAccess.DATASET_USER_ACCESS.UID}, true); - public static Index DATASET_USER_ACCESS_UID = Internal.createIndex("uid", DatasetUserAccess.DATASET_USER_ACCESS, new OrderField[]{DatasetUserAccess.DATASET_USER_ACCESS.UID}, false); - public static Index DATASET_VERSION_DID = Internal.createIndex("did", DatasetVersion.DATASET_VERSION, new OrderField[]{DatasetVersion.DATASET_VERSION.DID}, false); - public static Index DATASET_VERSION_IDX_DATASET_VERSION_NAME = Internal.createIndex("idx_dataset_version_name", DatasetVersion.DATASET_VERSION, new OrderField[]{DatasetVersion.DATASET_VERSION.NAME}, false); - public static Index DATASET_VERSION_PRIMARY = Internal.createIndex("PRIMARY", DatasetVersion.DATASET_VERSION, new OrderField[]{DatasetVersion.DATASET_VERSION.DVID}, true); - public static Index PROJECT_IDX_USER_PROJECT_NAME_DESCRIPTION = Internal.createIndex("idx_user_project_name_description", Project.PROJECT, new OrderField[]{Project.PROJECT.NAME, Project.PROJECT.DESCRIPTION}, false); - public static Index PROJECT_OWNER_ID = Internal.createIndex("owner_id", Project.PROJECT, new OrderField[]{Project.PROJECT.OWNER_ID, Project.PROJECT.NAME}, true); - public static Index PROJECT_PRIMARY = Internal.createIndex("PRIMARY", Project.PROJECT, new OrderField[]{Project.PROJECT.PID}, true); - public static Index PROJECT_USER_ACCESS_PID = Internal.createIndex("pid", ProjectUserAccess.PROJECT_USER_ACCESS, new OrderField[]{ProjectUserAccess.PROJECT_USER_ACCESS.PID}, false); - public static Index PROJECT_USER_ACCESS_PRIMARY = Internal.createIndex("PRIMARY", ProjectUserAccess.PROJECT_USER_ACCESS, new OrderField[]{ProjectUserAccess.PROJECT_USER_ACCESS.UID, ProjectUserAccess.PROJECT_USER_ACCESS.PID}, true); - public static Index PUBLIC_PROJECT_PRIMARY = Internal.createIndex("PRIMARY", PublicProject.PUBLIC_PROJECT, new OrderField[]{PublicProject.PUBLIC_PROJECT.PID}, true); - public static Index USER_EMAIL = Internal.createIndex("email", User.USER, new OrderField[]{User.USER.EMAIL}, true); - public static Index USER_GOOGLE_ID = Internal.createIndex("google_id", User.USER, new OrderField[]{User.USER.GOOGLE_ID}, true); - public static Index USER_IDX_USER_NAME = Internal.createIndex("idx_user_name", User.USER, new OrderField[]{User.USER.NAME}, false); - public static Index USER_PRIMARY = Internal.createIndex("PRIMARY", User.USER, new OrderField[]{User.USER.UID}, true); - public static Index USER_CONFIG_PRIMARY = Internal.createIndex("PRIMARY", UserConfig.USER_CONFIG, new OrderField[]{UserConfig.USER_CONFIG.UID, UserConfig.USER_CONFIG.KEY}, true); - public static Index WORKFLOW_IDX_WORKFLOW_NAME_DESCRIPTION_CONTENT = Internal.createIndex("idx_workflow_name_description_content", Workflow.WORKFLOW, new OrderField[]{Workflow.WORKFLOW.NAME, Workflow.WORKFLOW.DESCRIPTION, Workflow.WORKFLOW.CONTENT}, false); - public static Index WORKFLOW_PRIMARY = Internal.createIndex("PRIMARY", Workflow.WORKFLOW, new OrderField[]{Workflow.WORKFLOW.WID}, true); - public static Index WORKFLOW_EXECUTIONS_PRIMARY = Internal.createIndex("PRIMARY", WorkflowExecutions.WORKFLOW_EXECUTIONS, new OrderField[]{WorkflowExecutions.WORKFLOW_EXECUTIONS.EID}, true); - public static Index WORKFLOW_EXECUTIONS_UID = Internal.createIndex("uid", WorkflowExecutions.WORKFLOW_EXECUTIONS, new OrderField[]{WorkflowExecutions.WORKFLOW_EXECUTIONS.UID}, false); - public static Index WORKFLOW_EXECUTIONS_VID = Internal.createIndex("vid", WorkflowExecutions.WORKFLOW_EXECUTIONS, new OrderField[]{WorkflowExecutions.WORKFLOW_EXECUTIONS.VID}, false); - public static Index WORKFLOW_OF_PROJECT_PID = Internal.createIndex("pid", WorkflowOfProject.WORKFLOW_OF_PROJECT, new OrderField[]{WorkflowOfProject.WORKFLOW_OF_PROJECT.PID}, false); - public static Index WORKFLOW_OF_PROJECT_PRIMARY = Internal.createIndex("PRIMARY", WorkflowOfProject.WORKFLOW_OF_PROJECT, new OrderField[]{WorkflowOfProject.WORKFLOW_OF_PROJECT.WID, WorkflowOfProject.WORKFLOW_OF_PROJECT.PID}, true); - public static Index WORKFLOW_OF_USER_PRIMARY = Internal.createIndex("PRIMARY", WorkflowOfUser.WORKFLOW_OF_USER, new OrderField[]{WorkflowOfUser.WORKFLOW_OF_USER.UID, WorkflowOfUser.WORKFLOW_OF_USER.WID}, true); - public static Index WORKFLOW_OF_USER_WID = Internal.createIndex("wid", WorkflowOfUser.WORKFLOW_OF_USER, new OrderField[]{WorkflowOfUser.WORKFLOW_OF_USER.WID}, false); - public static Index WORKFLOW_RUNTIME_STATISTICS_EXECUTION_ID = Internal.createIndex("execution_id", WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS, new OrderField[]{WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.EXECUTION_ID}, false); - public static Index WORKFLOW_RUNTIME_STATISTICS_PRIMARY = Internal.createIndex("PRIMARY", WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS, new OrderField[]{WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.WORKFLOW_ID, WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.EXECUTION_ID, WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.OPERATOR_ID, WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.TIME}, true); - public static Index WORKFLOW_USER_ACCESS_PRIMARY = Internal.createIndex("PRIMARY", WorkflowUserAccess.WORKFLOW_USER_ACCESS, new OrderField[]{WorkflowUserAccess.WORKFLOW_USER_ACCESS.UID, WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID}, true); - public static Index WORKFLOW_USER_ACCESS_WID = Internal.createIndex("wid", WorkflowUserAccess.WORKFLOW_USER_ACCESS, new OrderField[]{WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID}, false); - public static Index WORKFLOW_USER_CLONES_PRIMARY = Internal.createIndex("PRIMARY", WorkflowUserClones.WORKFLOW_USER_CLONES, new OrderField[]{WorkflowUserClones.WORKFLOW_USER_CLONES.UID, WorkflowUserClones.WORKFLOW_USER_CLONES.WID}, true); - public static Index WORKFLOW_USER_CLONES_WID = Internal.createIndex("wid", WorkflowUserClones.WORKFLOW_USER_CLONES, new OrderField[]{WorkflowUserClones.WORKFLOW_USER_CLONES.WID}, false); - public static Index WORKFLOW_USER_LIKES_PRIMARY = Internal.createIndex("PRIMARY", WorkflowUserLikes.WORKFLOW_USER_LIKES, new OrderField[]{WorkflowUserLikes.WORKFLOW_USER_LIKES.UID, WorkflowUserLikes.WORKFLOW_USER_LIKES.WID}, true); - public static Index WORKFLOW_USER_LIKES_WID = Internal.createIndex("wid", WorkflowUserLikes.WORKFLOW_USER_LIKES, new OrderField[]{WorkflowUserLikes.WORKFLOW_USER_LIKES.WID}, false); - public static Index WORKFLOW_VERSION_PRIMARY = Internal.createIndex("PRIMARY", WorkflowVersion.WORKFLOW_VERSION, new OrderField[]{WorkflowVersion.WORKFLOW_VERSION.VID}, true); - public static Index WORKFLOW_VERSION_WID = Internal.createIndex("wid", WorkflowVersion.WORKFLOW_VERSION, new OrderField[]{WorkflowVersion.WORKFLOW_VERSION.WID}, false); - public static Index WORKFLOW_VIEW_COUNT_PRIMARY = Internal.createIndex("PRIMARY", WorkflowViewCount.WORKFLOW_VIEW_COUNT, new OrderField[]{WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID}, true); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Keys.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Keys.java deleted file mode 100644 index 3e60490c110..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Keys.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.*; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.*; -import org.jooq.ForeignKey; -import org.jooq.Identity; -import org.jooq.UniqueKey; -import org.jooq.impl.Internal; -import org.jooq.types.UInteger; - - -/** - * A class modelling foreign key relationships and constraints of tables of - * the texera_db schema. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class Keys { - - // ------------------------------------------------------------------------- - // IDENTITY definitions - // ------------------------------------------------------------------------- - - public static final Identity IDENTITY_DATASET = Identities0.IDENTITY_DATASET; - public static final Identity IDENTITY_DATASET_VERSION = Identities0.IDENTITY_DATASET_VERSION; - public static final Identity IDENTITY_PROJECT = Identities0.IDENTITY_PROJECT; - public static final Identity IDENTITY_USER = Identities0.IDENTITY_USER; - public static final Identity IDENTITY_WORKFLOW = Identities0.IDENTITY_WORKFLOW; - public static final Identity IDENTITY_WORKFLOW_EXECUTIONS = Identities0.IDENTITY_WORKFLOW_EXECUTIONS; - public static final Identity IDENTITY_WORKFLOW_VERSION = Identities0.IDENTITY_WORKFLOW_VERSION; - - // ------------------------------------------------------------------------- - // UNIQUE and PRIMARY KEY definitions - // ------------------------------------------------------------------------- - - public static final UniqueKey KEY_DATASET_PRIMARY = UniqueKeys0.KEY_DATASET_PRIMARY; - public static final UniqueKey KEY_DATASET_USER_ACCESS_PRIMARY = UniqueKeys0.KEY_DATASET_USER_ACCESS_PRIMARY; - public static final UniqueKey KEY_DATASET_VERSION_PRIMARY = UniqueKeys0.KEY_DATASET_VERSION_PRIMARY; - public static final UniqueKey KEY_PROJECT_PRIMARY = UniqueKeys0.KEY_PROJECT_PRIMARY; - public static final UniqueKey KEY_PROJECT_OWNER_ID = UniqueKeys0.KEY_PROJECT_OWNER_ID; - public static final UniqueKey KEY_PROJECT_USER_ACCESS_PRIMARY = UniqueKeys0.KEY_PROJECT_USER_ACCESS_PRIMARY; - public static final UniqueKey KEY_PUBLIC_PROJECT_PRIMARY = UniqueKeys0.KEY_PUBLIC_PROJECT_PRIMARY; - public static final UniqueKey KEY_USER_PRIMARY = UniqueKeys0.KEY_USER_PRIMARY; - public static final UniqueKey KEY_USER_EMAIL = UniqueKeys0.KEY_USER_EMAIL; - public static final UniqueKey KEY_USER_GOOGLE_ID = UniqueKeys0.KEY_USER_GOOGLE_ID; - public static final UniqueKey KEY_USER_CONFIG_PRIMARY = UniqueKeys0.KEY_USER_CONFIG_PRIMARY; - public static final UniqueKey KEY_WORKFLOW_PRIMARY = UniqueKeys0.KEY_WORKFLOW_PRIMARY; - public static final UniqueKey KEY_WORKFLOW_EXECUTIONS_PRIMARY = UniqueKeys0.KEY_WORKFLOW_EXECUTIONS_PRIMARY; - public static final UniqueKey KEY_WORKFLOW_OF_PROJECT_PRIMARY = UniqueKeys0.KEY_WORKFLOW_OF_PROJECT_PRIMARY; - public static final UniqueKey KEY_WORKFLOW_OF_USER_PRIMARY = UniqueKeys0.KEY_WORKFLOW_OF_USER_PRIMARY; - public static final UniqueKey KEY_WORKFLOW_RUNTIME_STATISTICS_PRIMARY = UniqueKeys0.KEY_WORKFLOW_RUNTIME_STATISTICS_PRIMARY; - public static final UniqueKey KEY_WORKFLOW_USER_ACCESS_PRIMARY = UniqueKeys0.KEY_WORKFLOW_USER_ACCESS_PRIMARY; - public static final UniqueKey KEY_WORKFLOW_USER_CLONES_PRIMARY = UniqueKeys0.KEY_WORKFLOW_USER_CLONES_PRIMARY; - public static final UniqueKey KEY_WORKFLOW_USER_LIKES_PRIMARY = UniqueKeys0.KEY_WORKFLOW_USER_LIKES_PRIMARY; - public static final UniqueKey KEY_WORKFLOW_VERSION_PRIMARY = UniqueKeys0.KEY_WORKFLOW_VERSION_PRIMARY; - public static final UniqueKey KEY_WORKFLOW_VIEW_COUNT_PRIMARY = UniqueKeys0.KEY_WORKFLOW_VIEW_COUNT_PRIMARY; - - // ------------------------------------------------------------------------- - // FOREIGN KEY definitions - // ------------------------------------------------------------------------- - - public static final ForeignKey DATASET_IBFK_1 = ForeignKeys0.DATASET_IBFK_1; - public static final ForeignKey DATASET_USER_ACCESS_IBFK_1 = ForeignKeys0.DATASET_USER_ACCESS_IBFK_1; - public static final ForeignKey DATASET_USER_ACCESS_IBFK_2 = ForeignKeys0.DATASET_USER_ACCESS_IBFK_2; - public static final ForeignKey DATASET_VERSION_IBFK_1 = ForeignKeys0.DATASET_VERSION_IBFK_1; - public static final ForeignKey PROJECT_IBFK_1 = ForeignKeys0.PROJECT_IBFK_1; - public static final ForeignKey PROJECT_USER_ACCESS_IBFK_1 = ForeignKeys0.PROJECT_USER_ACCESS_IBFK_1; - public static final ForeignKey PROJECT_USER_ACCESS_IBFK_2 = ForeignKeys0.PROJECT_USER_ACCESS_IBFK_2; - public static final ForeignKey PUBLIC_PROJECT_IBFK_1 = ForeignKeys0.PUBLIC_PROJECT_IBFK_1; - public static final ForeignKey USER_CONFIG_IBFK_1 = ForeignKeys0.USER_CONFIG_IBFK_1; - public static final ForeignKey WORKFLOW_EXECUTIONS_IBFK_1 = ForeignKeys0.WORKFLOW_EXECUTIONS_IBFK_1; - public static final ForeignKey WORKFLOW_EXECUTIONS_IBFK_2 = ForeignKeys0.WORKFLOW_EXECUTIONS_IBFK_2; - public static final ForeignKey WORKFLOW_OF_PROJECT_IBFK_1 = ForeignKeys0.WORKFLOW_OF_PROJECT_IBFK_1; - public static final ForeignKey WORKFLOW_OF_PROJECT_IBFK_2 = ForeignKeys0.WORKFLOW_OF_PROJECT_IBFK_2; - public static final ForeignKey WORKFLOW_OF_USER_IBFK_1 = ForeignKeys0.WORKFLOW_OF_USER_IBFK_1; - public static final ForeignKey WORKFLOW_OF_USER_IBFK_2 = ForeignKeys0.WORKFLOW_OF_USER_IBFK_2; - public static final ForeignKey WORKFLOW_RUNTIME_STATISTICS_IBFK_1 = ForeignKeys0.WORKFLOW_RUNTIME_STATISTICS_IBFK_1; - public static final ForeignKey WORKFLOW_RUNTIME_STATISTICS_IBFK_2 = ForeignKeys0.WORKFLOW_RUNTIME_STATISTICS_IBFK_2; - public static final ForeignKey WORKFLOW_USER_ACCESS_IBFK_1 = ForeignKeys0.WORKFLOW_USER_ACCESS_IBFK_1; - public static final ForeignKey WORKFLOW_USER_ACCESS_IBFK_2 = ForeignKeys0.WORKFLOW_USER_ACCESS_IBFK_2; - public static final ForeignKey WORKFLOW_USER_CLONES_IBFK_1 = ForeignKeys0.WORKFLOW_USER_CLONES_IBFK_1; - public static final ForeignKey WORKFLOW_USER_CLONES_IBFK_2 = ForeignKeys0.WORKFLOW_USER_CLONES_IBFK_2; - public static final ForeignKey WORKFLOW_USER_LIKES_IBFK_1 = ForeignKeys0.WORKFLOW_USER_LIKES_IBFK_1; - public static final ForeignKey WORKFLOW_USER_LIKES_IBFK_2 = ForeignKeys0.WORKFLOW_USER_LIKES_IBFK_2; - public static final ForeignKey WORKFLOW_VERSION_IBFK_1 = ForeignKeys0.WORKFLOW_VERSION_IBFK_1; - public static final ForeignKey WORKFLOW_VIEW_COUNT_IBFK_1 = ForeignKeys0.WORKFLOW_VIEW_COUNT_IBFK_1; - - // ------------------------------------------------------------------------- - // [#1459] distribute members to avoid static initialisers > 64kb - // ------------------------------------------------------------------------- - - private static class Identities0 { - public static Identity IDENTITY_DATASET = Internal.createIdentity(Dataset.DATASET, Dataset.DATASET.DID); - public static Identity IDENTITY_DATASET_VERSION = Internal.createIdentity(DatasetVersion.DATASET_VERSION, DatasetVersion.DATASET_VERSION.DVID); - public static Identity IDENTITY_PROJECT = Internal.createIdentity(Project.PROJECT, Project.PROJECT.PID); - public static Identity IDENTITY_USER = Internal.createIdentity(User.USER, User.USER.UID); - public static Identity IDENTITY_WORKFLOW = Internal.createIdentity(Workflow.WORKFLOW, Workflow.WORKFLOW.WID); - public static Identity IDENTITY_WORKFLOW_EXECUTIONS = Internal.createIdentity(WorkflowExecutions.WORKFLOW_EXECUTIONS, WorkflowExecutions.WORKFLOW_EXECUTIONS.EID); - public static Identity IDENTITY_WORKFLOW_VERSION = Internal.createIdentity(WorkflowVersion.WORKFLOW_VERSION, WorkflowVersion.WORKFLOW_VERSION.VID); - } - - private static class UniqueKeys0 { - public static final UniqueKey KEY_DATASET_PRIMARY = Internal.createUniqueKey(Dataset.DATASET, "KEY_dataset_PRIMARY", Dataset.DATASET.DID); - public static final UniqueKey KEY_DATASET_USER_ACCESS_PRIMARY = Internal.createUniqueKey(DatasetUserAccess.DATASET_USER_ACCESS, "KEY_dataset_user_access_PRIMARY", DatasetUserAccess.DATASET_USER_ACCESS.DID, DatasetUserAccess.DATASET_USER_ACCESS.UID); - public static final UniqueKey KEY_DATASET_VERSION_PRIMARY = Internal.createUniqueKey(DatasetVersion.DATASET_VERSION, "KEY_dataset_version_PRIMARY", DatasetVersion.DATASET_VERSION.DVID); - public static final UniqueKey KEY_PROJECT_PRIMARY = Internal.createUniqueKey(Project.PROJECT, "KEY_project_PRIMARY", Project.PROJECT.PID); - public static final UniqueKey KEY_PROJECT_OWNER_ID = Internal.createUniqueKey(Project.PROJECT, "KEY_project_owner_id", Project.PROJECT.OWNER_ID, Project.PROJECT.NAME); - public static final UniqueKey KEY_PROJECT_USER_ACCESS_PRIMARY = Internal.createUniqueKey(ProjectUserAccess.PROJECT_USER_ACCESS, "KEY_project_user_access_PRIMARY", ProjectUserAccess.PROJECT_USER_ACCESS.UID, ProjectUserAccess.PROJECT_USER_ACCESS.PID); - public static final UniqueKey KEY_PUBLIC_PROJECT_PRIMARY = Internal.createUniqueKey(PublicProject.PUBLIC_PROJECT, "KEY_public_project_PRIMARY", PublicProject.PUBLIC_PROJECT.PID); - public static final UniqueKey KEY_USER_PRIMARY = Internal.createUniqueKey(User.USER, "KEY_user_PRIMARY", User.USER.UID); - public static final UniqueKey KEY_USER_EMAIL = Internal.createUniqueKey(User.USER, "KEY_user_email", User.USER.EMAIL); - public static final UniqueKey KEY_USER_GOOGLE_ID = Internal.createUniqueKey(User.USER, "KEY_user_google_id", User.USER.GOOGLE_ID); - public static final UniqueKey KEY_USER_CONFIG_PRIMARY = Internal.createUniqueKey(UserConfig.USER_CONFIG, "KEY_user_config_PRIMARY", UserConfig.USER_CONFIG.UID, UserConfig.USER_CONFIG.KEY); - public static final UniqueKey KEY_WORKFLOW_PRIMARY = Internal.createUniqueKey(Workflow.WORKFLOW, "KEY_workflow_PRIMARY", Workflow.WORKFLOW.WID); - public static final UniqueKey KEY_WORKFLOW_EXECUTIONS_PRIMARY = Internal.createUniqueKey(WorkflowExecutions.WORKFLOW_EXECUTIONS, "KEY_workflow_executions_PRIMARY", WorkflowExecutions.WORKFLOW_EXECUTIONS.EID); - public static final UniqueKey KEY_WORKFLOW_OF_PROJECT_PRIMARY = Internal.createUniqueKey(WorkflowOfProject.WORKFLOW_OF_PROJECT, "KEY_workflow_of_project_PRIMARY", WorkflowOfProject.WORKFLOW_OF_PROJECT.WID, WorkflowOfProject.WORKFLOW_OF_PROJECT.PID); - public static final UniqueKey KEY_WORKFLOW_OF_USER_PRIMARY = Internal.createUniqueKey(WorkflowOfUser.WORKFLOW_OF_USER, "KEY_workflow_of_user_PRIMARY", WorkflowOfUser.WORKFLOW_OF_USER.UID, WorkflowOfUser.WORKFLOW_OF_USER.WID); - public static final UniqueKey KEY_WORKFLOW_RUNTIME_STATISTICS_PRIMARY = Internal.createUniqueKey(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS, "KEY_workflow_runtime_statistics_PRIMARY", WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.WORKFLOW_ID, WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.EXECUTION_ID, WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.OPERATOR_ID, WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.TIME); - public static final UniqueKey KEY_WORKFLOW_USER_ACCESS_PRIMARY = Internal.createUniqueKey(WorkflowUserAccess.WORKFLOW_USER_ACCESS, "KEY_workflow_user_access_PRIMARY", WorkflowUserAccess.WORKFLOW_USER_ACCESS.UID, WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID); - public static final UniqueKey KEY_WORKFLOW_USER_CLONES_PRIMARY = Internal.createUniqueKey(WorkflowUserClones.WORKFLOW_USER_CLONES, "KEY_workflow_user_clones_PRIMARY", WorkflowUserClones.WORKFLOW_USER_CLONES.UID, WorkflowUserClones.WORKFLOW_USER_CLONES.WID); - public static final UniqueKey KEY_WORKFLOW_USER_LIKES_PRIMARY = Internal.createUniqueKey(WorkflowUserLikes.WORKFLOW_USER_LIKES, "KEY_workflow_user_likes_PRIMARY", WorkflowUserLikes.WORKFLOW_USER_LIKES.UID, WorkflowUserLikes.WORKFLOW_USER_LIKES.WID); - public static final UniqueKey KEY_WORKFLOW_VERSION_PRIMARY = Internal.createUniqueKey(WorkflowVersion.WORKFLOW_VERSION, "KEY_workflow_version_PRIMARY", WorkflowVersion.WORKFLOW_VERSION.VID); - public static final UniqueKey KEY_WORKFLOW_VIEW_COUNT_PRIMARY = Internal.createUniqueKey(WorkflowViewCount.WORKFLOW_VIEW_COUNT, "KEY_workflow_view_count_PRIMARY", WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID); - } - - private static class ForeignKeys0 { - public static final ForeignKey DATASET_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, Dataset.DATASET, "dataset_ibfk_1", Dataset.DATASET.OWNER_UID); - public static final ForeignKey DATASET_USER_ACCESS_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_DATASET_PRIMARY, DatasetUserAccess.DATASET_USER_ACCESS, "dataset_user_access_ibfk_1", DatasetUserAccess.DATASET_USER_ACCESS.DID); - public static final ForeignKey DATASET_USER_ACCESS_IBFK_2 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, DatasetUserAccess.DATASET_USER_ACCESS, "dataset_user_access_ibfk_2", DatasetUserAccess.DATASET_USER_ACCESS.UID); - public static final ForeignKey DATASET_VERSION_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_DATASET_PRIMARY, DatasetVersion.DATASET_VERSION, "dataset_version_ibfk_1", DatasetVersion.DATASET_VERSION.DID); - public static final ForeignKey PROJECT_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, Project.PROJECT, "project_ibfk_1", Project.PROJECT.OWNER_ID); - public static final ForeignKey PROJECT_USER_ACCESS_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, ProjectUserAccess.PROJECT_USER_ACCESS, "project_user_access_ibfk_1", ProjectUserAccess.PROJECT_USER_ACCESS.UID); - public static final ForeignKey PROJECT_USER_ACCESS_IBFK_2 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_PROJECT_PRIMARY, ProjectUserAccess.PROJECT_USER_ACCESS, "project_user_access_ibfk_2", ProjectUserAccess.PROJECT_USER_ACCESS.PID); - public static final ForeignKey PUBLIC_PROJECT_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_PROJECT_PRIMARY, PublicProject.PUBLIC_PROJECT, "public_project_ibfk_1", PublicProject.PUBLIC_PROJECT.PID); - public static final ForeignKey USER_CONFIG_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, UserConfig.USER_CONFIG, "user_config_ibfk_1", UserConfig.USER_CONFIG.UID); - public static final ForeignKey WORKFLOW_EXECUTIONS_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_VERSION_PRIMARY, WorkflowExecutions.WORKFLOW_EXECUTIONS, "workflow_executions_ibfk_1", WorkflowExecutions.WORKFLOW_EXECUTIONS.VID); - public static final ForeignKey WORKFLOW_EXECUTIONS_IBFK_2 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, WorkflowExecutions.WORKFLOW_EXECUTIONS, "workflow_executions_ibfk_2", WorkflowExecutions.WORKFLOW_EXECUTIONS.UID); - public static final ForeignKey WORKFLOW_OF_PROJECT_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_PRIMARY, WorkflowOfProject.WORKFLOW_OF_PROJECT, "workflow_of_project_ibfk_1", WorkflowOfProject.WORKFLOW_OF_PROJECT.WID); - public static final ForeignKey WORKFLOW_OF_PROJECT_IBFK_2 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_PROJECT_PRIMARY, WorkflowOfProject.WORKFLOW_OF_PROJECT, "workflow_of_project_ibfk_2", WorkflowOfProject.WORKFLOW_OF_PROJECT.PID); - public static final ForeignKey WORKFLOW_OF_USER_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, WorkflowOfUser.WORKFLOW_OF_USER, "workflow_of_user_ibfk_1", WorkflowOfUser.WORKFLOW_OF_USER.UID); - public static final ForeignKey WORKFLOW_OF_USER_IBFK_2 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_PRIMARY, WorkflowOfUser.WORKFLOW_OF_USER, "workflow_of_user_ibfk_2", WorkflowOfUser.WORKFLOW_OF_USER.WID); - public static final ForeignKey WORKFLOW_RUNTIME_STATISTICS_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_PRIMARY, WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS, "workflow_runtime_statistics_ibfk_1", WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.WORKFLOW_ID); - public static final ForeignKey WORKFLOW_RUNTIME_STATISTICS_IBFK_2 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_EXECUTIONS_PRIMARY, WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS, "workflow_runtime_statistics_ibfk_2", WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.EXECUTION_ID); - public static final ForeignKey WORKFLOW_USER_ACCESS_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, WorkflowUserAccess.WORKFLOW_USER_ACCESS, "workflow_user_access_ibfk_1", WorkflowUserAccess.WORKFLOW_USER_ACCESS.UID); - public static final ForeignKey WORKFLOW_USER_ACCESS_IBFK_2 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_PRIMARY, WorkflowUserAccess.WORKFLOW_USER_ACCESS, "workflow_user_access_ibfk_2", WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID); - public static final ForeignKey WORKFLOW_USER_CLONES_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, WorkflowUserClones.WORKFLOW_USER_CLONES, "workflow_user_clones_ibfk_1", WorkflowUserClones.WORKFLOW_USER_CLONES.UID); - public static final ForeignKey WORKFLOW_USER_CLONES_IBFK_2 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_PRIMARY, WorkflowUserClones.WORKFLOW_USER_CLONES, "workflow_user_clones_ibfk_2", WorkflowUserClones.WORKFLOW_USER_CLONES.WID); - public static final ForeignKey WORKFLOW_USER_LIKES_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_USER_PRIMARY, WorkflowUserLikes.WORKFLOW_USER_LIKES, "workflow_user_likes_ibfk_1", WorkflowUserLikes.WORKFLOW_USER_LIKES.UID); - public static final ForeignKey WORKFLOW_USER_LIKES_IBFK_2 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_PRIMARY, WorkflowUserLikes.WORKFLOW_USER_LIKES, "workflow_user_likes_ibfk_2", WorkflowUserLikes.WORKFLOW_USER_LIKES.WID); - public static final ForeignKey WORKFLOW_VERSION_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_PRIMARY, WorkflowVersion.WORKFLOW_VERSION, "workflow_version_ibfk_1", WorkflowVersion.WORKFLOW_VERSION.WID); - public static final ForeignKey WORKFLOW_VIEW_COUNT_IBFK_1 = Internal.createForeignKey(edu.uci.ics.texera.web.model.jooq.generated.Keys.KEY_WORKFLOW_PRIMARY, WorkflowViewCount.WORKFLOW_VIEW_COUNT, "workflow_view_count_ibfk_1", WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Tables.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Tables.java deleted file mode 100644 index 2308ffcc240..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/Tables.java +++ /dev/null @@ -1,110 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.*; - - -/** - * Convenience access to all tables in texera_db - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class Tables { - - /** - * The table texera_db.dataset. - */ - public static final Dataset DATASET = Dataset.DATASET; - - /** - * The table texera_db.dataset_user_access. - */ - public static final DatasetUserAccess DATASET_USER_ACCESS = DatasetUserAccess.DATASET_USER_ACCESS; - - /** - * The table texera_db.dataset_version. - */ - public static final DatasetVersion DATASET_VERSION = DatasetVersion.DATASET_VERSION; - - /** - * The table texera_db.project. - */ - public static final Project PROJECT = Project.PROJECT; - - /** - * The table texera_db.project_user_access. - */ - public static final ProjectUserAccess PROJECT_USER_ACCESS = ProjectUserAccess.PROJECT_USER_ACCESS; - - /** - * The table texera_db.public_project. - */ - public static final PublicProject PUBLIC_PROJECT = PublicProject.PUBLIC_PROJECT; - - /** - * The table texera_db.user. - */ - public static final User USER = User.USER; - - /** - * The table texera_db.user_config. - */ - public static final UserConfig USER_CONFIG = UserConfig.USER_CONFIG; - - /** - * The table texera_db.workflow. - */ - public static final Workflow WORKFLOW = Workflow.WORKFLOW; - - /** - * The table texera_db.workflow_executions. - */ - public static final WorkflowExecutions WORKFLOW_EXECUTIONS = WorkflowExecutions.WORKFLOW_EXECUTIONS; - - /** - * The table texera_db.workflow_of_project. - */ - public static final WorkflowOfProject WORKFLOW_OF_PROJECT = WorkflowOfProject.WORKFLOW_OF_PROJECT; - - /** - * The table texera_db.workflow_of_user. - */ - public static final WorkflowOfUser WORKFLOW_OF_USER = WorkflowOfUser.WORKFLOW_OF_USER; - - /** - * The table texera_db.workflow_runtime_statistics. - */ - public static final WorkflowRuntimeStatistics WORKFLOW_RUNTIME_STATISTICS = WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS; - - /** - * The table texera_db.workflow_user_access. - */ - public static final WorkflowUserAccess WORKFLOW_USER_ACCESS = WorkflowUserAccess.WORKFLOW_USER_ACCESS; - - /** - * The table texera_db.workflow_user_activity. - */ - public static final WorkflowUserActivity WORKFLOW_USER_ACTIVITY = WorkflowUserActivity.WORKFLOW_USER_ACTIVITY; - - /** - * The table texera_db.workflow_user_clones. - */ - public static final WorkflowUserClones WORKFLOW_USER_CLONES = WorkflowUserClones.WORKFLOW_USER_CLONES; - - /** - * The table texera_db.workflow_user_likes. - */ - public static final WorkflowUserLikes WORKFLOW_USER_LIKES = WorkflowUserLikes.WORKFLOW_USER_LIKES; - - /** - * The table texera_db.workflow_version. - */ - public static final WorkflowVersion WORKFLOW_VERSION = WorkflowVersion.WORKFLOW_VERSION; - - /** - * The table texera_db.workflow_view_count. - */ - public static final WorkflowViewCount WORKFLOW_VIEW_COUNT = WorkflowViewCount.WORKFLOW_VIEW_COUNT; -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/TexeraDb.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/TexeraDb.java deleted file mode 100644 index e0b271b46ac..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/TexeraDb.java +++ /dev/null @@ -1,167 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.*; -import org.jooq.Catalog; -import org.jooq.Table; -import org.jooq.impl.SchemaImpl; - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class TexeraDb extends SchemaImpl { - - private static final long serialVersionUID = 2026314588; - - /** - * The reference instance of texera_db - */ - public static final TexeraDb TEXERA_DB = new TexeraDb(); - - /** - * The table texera_db.dataset. - */ - public final Dataset DATASET = edu.uci.ics.texera.web.model.jooq.generated.tables.Dataset.DATASET; - - /** - * The table texera_db.dataset_user_access. - */ - public final DatasetUserAccess DATASET_USER_ACCESS = edu.uci.ics.texera.web.model.jooq.generated.tables.DatasetUserAccess.DATASET_USER_ACCESS; - - /** - * The table texera_db.dataset_version. - */ - public final DatasetVersion DATASET_VERSION = edu.uci.ics.texera.web.model.jooq.generated.tables.DatasetVersion.DATASET_VERSION; - - /** - * The table texera_db.project. - */ - public final Project PROJECT = edu.uci.ics.texera.web.model.jooq.generated.tables.Project.PROJECT; - - /** - * The table texera_db.project_user_access. - */ - public final ProjectUserAccess PROJECT_USER_ACCESS = edu.uci.ics.texera.web.model.jooq.generated.tables.ProjectUserAccess.PROJECT_USER_ACCESS; - - /** - * The table texera_db.public_project. - */ - public final PublicProject PUBLIC_PROJECT = edu.uci.ics.texera.web.model.jooq.generated.tables.PublicProject.PUBLIC_PROJECT; - - /** - * The table texera_db.user. - */ - public final User USER = edu.uci.ics.texera.web.model.jooq.generated.tables.User.USER; - - /** - * The table texera_db.user_config. - */ - public final UserConfig USER_CONFIG = edu.uci.ics.texera.web.model.jooq.generated.tables.UserConfig.USER_CONFIG; - - /** - * The table texera_db.workflow. - */ - public final Workflow WORKFLOW = edu.uci.ics.texera.web.model.jooq.generated.tables.Workflow.WORKFLOW; - - /** - * The table texera_db.workflow_executions. - */ - public final WorkflowExecutions WORKFLOW_EXECUTIONS = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowExecutions.WORKFLOW_EXECUTIONS; - - /** - * The table texera_db.workflow_of_project. - */ - public final WorkflowOfProject WORKFLOW_OF_PROJECT = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowOfProject.WORKFLOW_OF_PROJECT; - - /** - * The table texera_db.workflow_of_user. - */ - public final WorkflowOfUser WORKFLOW_OF_USER = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowOfUser.WORKFLOW_OF_USER; - - /** - * The table texera_db.workflow_runtime_statistics. - */ - public final WorkflowRuntimeStatistics WORKFLOW_RUNTIME_STATISTICS = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS; - - /** - * The table texera_db.workflow_user_access. - */ - public final WorkflowUserAccess WORKFLOW_USER_ACCESS = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowUserAccess.WORKFLOW_USER_ACCESS; - - /** - * The table texera_db.workflow_user_activity. - */ - public final WorkflowUserActivity WORKFLOW_USER_ACTIVITY = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowUserActivity.WORKFLOW_USER_ACTIVITY; - - /** - * The table texera_db.workflow_user_clones. - */ - public final WorkflowUserClones WORKFLOW_USER_CLONES = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowUserClones.WORKFLOW_USER_CLONES; - - /** - * The table texera_db.workflow_user_likes. - */ - public final WorkflowUserLikes WORKFLOW_USER_LIKES = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowUserLikes.WORKFLOW_USER_LIKES; - - /** - * The table texera_db.workflow_version. - */ - public final WorkflowVersion WORKFLOW_VERSION = edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowVersion.WORKFLOW_VERSION; - - /** - * The table texera_db.workflow_view_count. - */ - public final WorkflowViewCount WORKFLOW_VIEW_COUNT = edu.uci.ics.texera.web.model.jooq.generated.tables.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> getTables() { - List result = new ArrayList(); - result.addAll(getTables0()); - return result; - } - - private final List> getTables0() { - return Arrays.>asList( - Dataset.DATASET, - DatasetUserAccess.DATASET_USER_ACCESS, - DatasetVersion.DATASET_VERSION, - Project.PROJECT, - ProjectUserAccess.PROJECT_USER_ACCESS, - PublicProject.PUBLIC_PROJECT, - User.USER, - UserConfig.USER_CONFIG, - Workflow.WORKFLOW, - WorkflowExecutions.WORKFLOW_EXECUTIONS, - WorkflowOfProject.WORKFLOW_OF_PROJECT, - WorkflowOfUser.WORKFLOW_OF_USER, - WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS, - WorkflowUserAccess.WORKFLOW_USER_ACCESS, - WorkflowUserActivity.WORKFLOW_USER_ACTIVITY, - WorkflowUserClones.WORKFLOW_USER_CLONES, - WorkflowUserLikes.WORKFLOW_USER_LIKES, - WorkflowVersion.WORKFLOW_VERSION, - WorkflowViewCount.WORKFLOW_VIEW_COUNT); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/DatasetUserAccessPrivilege.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/DatasetUserAccessPrivilege.java deleted file mode 100644 index 54fc70fa4e2..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/DatasetUserAccessPrivilege.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.enums; - - -import org.jooq.Catalog; -import org.jooq.EnumType; -import org.jooq.Schema; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public enum DatasetUserAccessPrivilege implements EnumType { - - NONE("NONE"), - - READ("READ"), - - WRITE("WRITE"); - - private final String literal; - - private DatasetUserAccessPrivilege(String literal) { - this.literal = literal; - } - - @Override - public Catalog getCatalog() { - return null; - } - - @Override - public Schema getSchema() { - return null; - } - - @Override - public String getName() { - return "dataset_user_access_privilege"; - } - - @Override - public String getLiteral() { - return literal; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/ProjectUserAccessPrivilege.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/ProjectUserAccessPrivilege.java deleted file mode 100644 index 72e671bb516..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/ProjectUserAccessPrivilege.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.enums; - - -import org.jooq.Catalog; -import org.jooq.EnumType; -import org.jooq.Schema; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public enum ProjectUserAccessPrivilege implements EnumType { - - NONE("NONE"), - - READ("READ"), - - WRITE("WRITE"); - - private final String literal; - - private ProjectUserAccessPrivilege(String literal) { - this.literal = literal; - } - - @Override - public Catalog getCatalog() { - return null; - } - - @Override - public Schema getSchema() { - return null; - } - - @Override - public String getName() { - return "project_user_access_privilege"; - } - - @Override - public String getLiteral() { - return literal; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/UserRole.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/UserRole.java deleted file mode 100644 index a115af8e3d8..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/UserRole.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.enums; - - -import org.jooq.Catalog; -import org.jooq.EnumType; -import org.jooq.Schema; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public enum UserRole implements EnumType { - - INACTIVE("INACTIVE"), - - RESTRICTED("RESTRICTED"), - - REGULAR("REGULAR"), - - ADMIN("ADMIN"); - - private final String literal; - - private UserRole(String literal) { - this.literal = literal; - } - - @Override - public Catalog getCatalog() { - return null; - } - - @Override - public Schema getSchema() { - return null; - } - - @Override - public String getName() { - return "user_role"; - } - - @Override - public String getLiteral() { - return literal; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/WorkflowUserAccessPrivilege.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/WorkflowUserAccessPrivilege.java deleted file mode 100644 index dff22660276..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/enums/WorkflowUserAccessPrivilege.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.enums; - - -import org.jooq.Catalog; -import org.jooq.EnumType; -import org.jooq.Schema; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public enum WorkflowUserAccessPrivilege implements EnumType { - - NONE("NONE"), - - READ("READ"), - - WRITE("WRITE"); - - private final String literal; - - private WorkflowUserAccessPrivilege(String literal) { - this.literal = literal; - } - - @Override - public Catalog getCatalog() { - return null; - } - - @Override - public Schema getSchema() { - return null; - } - - @Override - public String getName() { - return "workflow_user_access_privilege"; - } - - @Override - public String getLiteral() { - return literal; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Dataset.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Dataset.java deleted file mode 100644 index 4192e6ccb4f..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Dataset.java +++ /dev/null @@ -1,173 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.Indexes; -import edu.uci.ics.texera.web.model.jooq.generated.Keys; -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.DatasetRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class Dataset extends TableImpl { - - private static final long serialVersionUID = 1571657241; - - /** - * The reference instance of texera_db.dataset - */ - public static final Dataset DATASET = new Dataset(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return DatasetRecord.class; - } - - /** - * The column texera_db.dataset.did. - */ - public final TableField DID = createField(DSL.name("did"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).identity(true), this, ""); - - /** - * The column texera_db.dataset.owner_uid. - */ - public final TableField OWNER_UID = createField(DSL.name("owner_uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.dataset.name. - */ - public final TableField NAME = createField(DSL.name("name"), org.jooq.impl.SQLDataType.VARCHAR(128).nullable(false), this, ""); - - /** - * The column texera_db.dataset.is_public. - */ - public final TableField IS_PUBLIC = createField(DSL.name("is_public"), org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaultValue(org.jooq.impl.DSL.inline("1", org.jooq.impl.SQLDataType.TINYINT)), this, ""); - - /** - * The column texera_db.dataset.description. - */ - public final TableField DESCRIPTION = createField(DSL.name("description"), org.jooq.impl.SQLDataType.VARCHAR(512).nullable(false), this, ""); - - /** - * The column texera_db.dataset.creation_time. - */ - public final TableField CREATION_TIME = createField(DSL.name("creation_time"), org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaultValue(org.jooq.impl.DSL.field("CURRENT_TIMESTAMP", org.jooq.impl.SQLDataType.TIMESTAMP)), this, ""); - - /** - * Create a texera_db.dataset table reference - */ - public Dataset() { - this(DSL.name("dataset"), null); - } - - /** - * Create an aliased texera_db.dataset table reference - */ - public Dataset(String alias) { - this(DSL.name(alias), DATASET); - } - - /** - * Create an aliased texera_db.dataset table reference - */ - public Dataset(Name alias) { - this(alias, DATASET); - } - - private Dataset(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private Dataset(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public Dataset(Table child, ForeignKey key) { - super(child, key, DATASET); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.DATASET_IDX_DATASET_NAME_DESCRIPTION, Indexes.DATASET_OWNER_UID, Indexes.DATASET_PRIMARY); - } - - @Override - public Identity getIdentity() { - return Keys.IDENTITY_DATASET; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_DATASET_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_DATASET_PRIMARY); - } - - @Override - public List> getReferences() { - return Arrays.>asList(Keys.DATASET_IBFK_1); - } - - public User user() { - return new User(this, Keys.DATASET_IBFK_1); - } - - @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); - } - - // ------------------------------------------------------------------------- - // Row6 type methods - // ------------------------------------------------------------------------- - - @Override - public Row6 fieldsRow() { - return (Row6) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/DatasetUserAccess.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/DatasetUserAccess.java deleted file mode 100644 index 63f48822646..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/DatasetUserAccess.java +++ /dev/null @@ -1,157 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.Indexes; -import edu.uci.ics.texera.web.model.jooq.generated.Keys; -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.enums.DatasetUserAccessPrivilege; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.DatasetUserAccessRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; - -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class DatasetUserAccess extends TableImpl { - - private static final long serialVersionUID = -996212423; - - /** - * The reference instance of texera_db.dataset_user_access - */ - public static final DatasetUserAccess DATASET_USER_ACCESS = new DatasetUserAccess(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return DatasetUserAccessRecord.class; - } - - /** - * The column texera_db.dataset_user_access.did. - */ - public final TableField DID = createField(DSL.name("did"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.dataset_user_access.uid. - */ - public final TableField UID = createField(DSL.name("uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.dataset_user_access.privilege. - */ - public final TableField PRIVILEGE = createField(DSL.name("privilege"), org.jooq.impl.SQLDataType.VARCHAR(5).nullable(false).defaultValue(org.jooq.impl.DSL.inline("NONE", org.jooq.impl.SQLDataType.VARCHAR)).asEnumDataType(edu.uci.ics.texera.web.model.jooq.generated.enums.DatasetUserAccessPrivilege.class), this, ""); - - /** - * Create a texera_db.dataset_user_access table reference - */ - public DatasetUserAccess() { - this(DSL.name("dataset_user_access"), null); - } - - /** - * Create an aliased texera_db.dataset_user_access table reference - */ - public DatasetUserAccess(String alias) { - this(DSL.name(alias), DATASET_USER_ACCESS); - } - - /** - * Create an aliased texera_db.dataset_user_access table reference - */ - public DatasetUserAccess(Name alias) { - this(alias, DATASET_USER_ACCESS); - } - - private DatasetUserAccess(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private DatasetUserAccess(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public DatasetUserAccess(Table child, ForeignKey key) { - super(child, key, DATASET_USER_ACCESS); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.DATASET_USER_ACCESS_PRIMARY, Indexes.DATASET_USER_ACCESS_UID); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_DATASET_USER_ACCESS_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_DATASET_USER_ACCESS_PRIMARY); - } - - @Override - public List> getReferences() { - return Arrays.>asList(Keys.DATASET_USER_ACCESS_IBFK_1, Keys.DATASET_USER_ACCESS_IBFK_2); - } - - public Dataset dataset() { - return new Dataset(this, Keys.DATASET_USER_ACCESS_IBFK_1); - } - - public User user() { - return new User(this, Keys.DATASET_USER_ACCESS_IBFK_2); - } - - @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 fieldsRow() { - return (Row3) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/DatasetVersion.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/DatasetVersion.java deleted file mode 100644 index 4615b229f1d..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/DatasetVersion.java +++ /dev/null @@ -1,173 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.Indexes; -import edu.uci.ics.texera.web.model.jooq.generated.Keys; -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.DatasetVersionRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class DatasetVersion extends TableImpl { - - private static final long serialVersionUID = 25893167; - - /** - * The reference instance of texera_db.dataset_version - */ - public static final DatasetVersion DATASET_VERSION = new DatasetVersion(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return DatasetVersionRecord.class; - } - - /** - * The column texera_db.dataset_version.dvid. - */ - public final TableField DVID = createField(DSL.name("dvid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).identity(true), this, ""); - - /** - * The column texera_db.dataset_version.did. - */ - public final TableField DID = createField(DSL.name("did"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.dataset_version.creator_uid. - */ - public final TableField CREATOR_UID = createField(DSL.name("creator_uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.dataset_version.name. - */ - public final TableField NAME = createField(DSL.name("name"), org.jooq.impl.SQLDataType.VARCHAR(128).nullable(false), this, ""); - - /** - * The column texera_db.dataset_version.version_hash. - */ - public final TableField VERSION_HASH = createField(DSL.name("version_hash"), org.jooq.impl.SQLDataType.VARCHAR(64).nullable(false), this, ""); - - /** - * The column texera_db.dataset_version.creation_time. - */ - public final TableField CREATION_TIME = createField(DSL.name("creation_time"), org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaultValue(org.jooq.impl.DSL.field("CURRENT_TIMESTAMP", org.jooq.impl.SQLDataType.TIMESTAMP)), this, ""); - - /** - * Create a texera_db.dataset_version table reference - */ - public DatasetVersion() { - this(DSL.name("dataset_version"), null); - } - - /** - * Create an aliased texera_db.dataset_version table reference - */ - public DatasetVersion(String alias) { - this(DSL.name(alias), DATASET_VERSION); - } - - /** - * Create an aliased texera_db.dataset_version table reference - */ - public DatasetVersion(Name alias) { - this(alias, DATASET_VERSION); - } - - private DatasetVersion(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private DatasetVersion(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public DatasetVersion(Table child, ForeignKey key) { - super(child, key, DATASET_VERSION); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.DATASET_VERSION_DID, Indexes.DATASET_VERSION_IDX_DATASET_VERSION_NAME, Indexes.DATASET_VERSION_PRIMARY); - } - - @Override - public Identity getIdentity() { - return Keys.IDENTITY_DATASET_VERSION; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_DATASET_VERSION_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_DATASET_VERSION_PRIMARY); - } - - @Override - public List> getReferences() { - return Arrays.>asList(Keys.DATASET_VERSION_IBFK_1); - } - - public Dataset dataset() { - return new Dataset(this, Keys.DATASET_VERSION_IBFK_1); - } - - @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 fieldsRow() { - return (Row6) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Project.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Project.java deleted file mode 100644 index a46efd3f34e..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Project.java +++ /dev/null @@ -1,173 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.Indexes; -import edu.uci.ics.texera.web.model.jooq.generated.Keys; -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.ProjectRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class Project extends TableImpl { - - private static final long serialVersionUID = 1829720653; - - /** - * The reference instance of texera_db.project - */ - public static final Project PROJECT = new Project(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return ProjectRecord.class; - } - - /** - * The column texera_db.project.pid. - */ - public final TableField PID = createField(DSL.name("pid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).identity(true), this, ""); - - /** - * The column texera_db.project.name. - */ - public final TableField NAME = createField(DSL.name("name"), org.jooq.impl.SQLDataType.VARCHAR(128).nullable(false), this, ""); - - /** - * The column texera_db.project.description. - */ - public final TableField DESCRIPTION = createField(DSL.name("description"), org.jooq.impl.SQLDataType.VARCHAR(10000), this, ""); - - /** - * The column texera_db.project.owner_id. - */ - public final TableField OWNER_ID = createField(DSL.name("owner_id"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.project.creation_time. - */ - public final TableField CREATION_TIME = createField(DSL.name("creation_time"), org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaultValue(org.jooq.impl.DSL.field("CURRENT_TIMESTAMP", org.jooq.impl.SQLDataType.TIMESTAMP)), this, ""); - - /** - * The column texera_db.project.color. - */ - public final TableField COLOR = createField(DSL.name("color"), org.jooq.impl.SQLDataType.VARCHAR(6), this, ""); - - /** - * Create a texera_db.project table reference - */ - public Project() { - this(DSL.name("project"), null); - } - - /** - * Create an aliased texera_db.project table reference - */ - public Project(String alias) { - this(DSL.name(alias), PROJECT); - } - - /** - * Create an aliased texera_db.project table reference - */ - public Project(Name alias) { - this(alias, PROJECT); - } - - private Project(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private Project(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public Project(Table child, ForeignKey key) { - super(child, key, PROJECT); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.PROJECT_IDX_USER_PROJECT_NAME_DESCRIPTION, Indexes.PROJECT_OWNER_ID, Indexes.PROJECT_PRIMARY); - } - - @Override - public Identity getIdentity() { - return Keys.IDENTITY_PROJECT; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_PROJECT_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_PROJECT_PRIMARY, Keys.KEY_PROJECT_OWNER_ID); - } - - @Override - public List> getReferences() { - return Arrays.>asList(Keys.PROJECT_IBFK_1); - } - - public User user() { - return new User(this, Keys.PROJECT_IBFK_1); - } - - @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 fieldsRow() { - return (Row6) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/ProjectUserAccess.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/ProjectUserAccess.java deleted file mode 100644 index 1d8883ce1f6..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/ProjectUserAccess.java +++ /dev/null @@ -1,157 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.Indexes; -import edu.uci.ics.texera.web.model.jooq.generated.Keys; -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.enums.ProjectUserAccessPrivilege; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.ProjectUserAccessRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; - -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class ProjectUserAccess extends TableImpl { - - private static final long serialVersionUID = -2015215347; - - /** - * The reference instance of texera_db.project_user_access - */ - public static final ProjectUserAccess PROJECT_USER_ACCESS = new ProjectUserAccess(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return ProjectUserAccessRecord.class; - } - - /** - * The column texera_db.project_user_access.uid. - */ - public final TableField UID = createField(DSL.name("uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.project_user_access.pid. - */ - public final TableField PID = createField(DSL.name("pid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.project_user_access.privilege. - */ - public final TableField PRIVILEGE = createField(DSL.name("privilege"), org.jooq.impl.SQLDataType.VARCHAR(5).nullable(false).defaultValue(org.jooq.impl.DSL.inline("NONE", org.jooq.impl.SQLDataType.VARCHAR)).asEnumDataType(edu.uci.ics.texera.web.model.jooq.generated.enums.ProjectUserAccessPrivilege.class), this, ""); - - /** - * Create a texera_db.project_user_access table reference - */ - public ProjectUserAccess() { - this(DSL.name("project_user_access"), null); - } - - /** - * Create an aliased texera_db.project_user_access table reference - */ - public ProjectUserAccess(String alias) { - this(DSL.name(alias), PROJECT_USER_ACCESS); - } - - /** - * Create an aliased texera_db.project_user_access table reference - */ - public ProjectUserAccess(Name alias) { - this(alias, PROJECT_USER_ACCESS); - } - - private ProjectUserAccess(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private ProjectUserAccess(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public ProjectUserAccess(Table child, ForeignKey key) { - super(child, key, PROJECT_USER_ACCESS); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.PROJECT_USER_ACCESS_PID, Indexes.PROJECT_USER_ACCESS_PRIMARY); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_PROJECT_USER_ACCESS_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_PROJECT_USER_ACCESS_PRIMARY); - } - - @Override - public List> getReferences() { - return Arrays.>asList(Keys.PROJECT_USER_ACCESS_IBFK_1, Keys.PROJECT_USER_ACCESS_IBFK_2); - } - - public User user() { - return new User(this, Keys.PROJECT_USER_ACCESS_IBFK_1); - } - - public Project project() { - return new Project(this, Keys.PROJECT_USER_ACCESS_IBFK_2); - } - - @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 fieldsRow() { - return (Row3) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/PublicProject.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/PublicProject.java deleted file mode 100644 index d7e0f77eed8..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/PublicProject.java +++ /dev/null @@ -1,147 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.Indexes; -import edu.uci.ics.texera.web.model.jooq.generated.Keys; -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.PublicProjectRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; - -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class PublicProject extends TableImpl { - - private static final long serialVersionUID = 509034382; - - /** - * The reference instance of texera_db.public_project - */ - public static final PublicProject PUBLIC_PROJECT = new PublicProject(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return PublicProjectRecord.class; - } - - /** - * The column texera_db.public_project.pid. - */ - public final TableField PID = createField(DSL.name("pid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.public_project.uid. - */ - public final TableField UID = createField(DSL.name("uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED, this, ""); - - /** - * Create a texera_db.public_project table reference - */ - public PublicProject() { - this(DSL.name("public_project"), null); - } - - /** - * Create an aliased texera_db.public_project table reference - */ - public PublicProject(String alias) { - this(DSL.name(alias), PUBLIC_PROJECT); - } - - /** - * Create an aliased texera_db.public_project table reference - */ - public PublicProject(Name alias) { - this(alias, PUBLIC_PROJECT); - } - - private PublicProject(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private PublicProject(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public PublicProject(Table child, ForeignKey key) { - super(child, key, PUBLIC_PROJECT); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.PUBLIC_PROJECT_PRIMARY); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_PUBLIC_PROJECT_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_PUBLIC_PROJECT_PRIMARY); - } - - @Override - public List> getReferences() { - return Arrays.>asList(Keys.PUBLIC_PROJECT_IBFK_1); - } - - public Project project() { - return new Project(this, Keys.PUBLIC_PROJECT_IBFK_1); - } - - @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 fieldsRow() { - return (Row2) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/User.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/User.java deleted file mode 100644 index 3b2e309a9e4..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/User.java +++ /dev/null @@ -1,169 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.Indexes; -import edu.uci.ics.texera.web.model.jooq.generated.Keys; -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.UserRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; - -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class User extends TableImpl { - - private static final long serialVersionUID = 670965342; - - /** - * The reference instance of texera_db.user - */ - public static final User USER = new User(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return UserRecord.class; - } - - /** - * The column texera_db.user.uid. - */ - public final TableField UID = createField(DSL.name("uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).identity(true), this, ""); - - /** - * The column texera_db.user.name. - */ - public final TableField NAME = createField(DSL.name("name"), org.jooq.impl.SQLDataType.VARCHAR(256).nullable(false), this, ""); - - /** - * The column texera_db.user.email. - */ - public final TableField EMAIL = createField(DSL.name("email"), org.jooq.impl.SQLDataType.VARCHAR(256), this, ""); - - /** - * The column texera_db.user.password. - */ - public final TableField PASSWORD = createField(DSL.name("password"), org.jooq.impl.SQLDataType.VARCHAR(256), this, ""); - - /** - * The column texera_db.user.google_id. - */ - public final TableField GOOGLE_ID = createField(DSL.name("google_id"), org.jooq.impl.SQLDataType.VARCHAR(256), this, ""); - - /** - * The column texera_db.user.role. - */ - public final TableField ROLE = createField(DSL.name("role"), org.jooq.impl.SQLDataType.VARCHAR(10).nullable(false).defaultValue(org.jooq.impl.DSL.inline("INACTIVE", org.jooq.impl.SQLDataType.VARCHAR)).asEnumDataType(edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole.class), this, ""); - - /** - * The column texera_db.user.google_avatar. - */ - public final TableField GOOGLE_AVATAR = createField(DSL.name("google_avatar"), org.jooq.impl.SQLDataType.VARCHAR(100), this, ""); - - /** - * Create a texera_db.user table reference - */ - public User() { - this(DSL.name("user"), null); - } - - /** - * Create an aliased texera_db.user table reference - */ - public User(String alias) { - this(DSL.name(alias), USER); - } - - /** - * Create an aliased texera_db.user table reference - */ - public User(Name alias) { - this(alias, USER); - } - - private User(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private User(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public User(Table child, ForeignKey key) { - super(child, key, USER); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.USER_EMAIL, Indexes.USER_GOOGLE_ID, Indexes.USER_IDX_USER_NAME, Indexes.USER_PRIMARY); - } - - @Override - public Identity getIdentity() { - return Keys.IDENTITY_USER; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_USER_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_USER_PRIMARY, Keys.KEY_USER_EMAIL, Keys.KEY_USER_GOOGLE_ID); - } - - @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); - } - - // ------------------------------------------------------------------------- - // Row7 type methods - // ------------------------------------------------------------------------- - - @Override - public Row7 fieldsRow() { - return (Row7) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/UserConfig.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/UserConfig.java deleted file mode 100644 index e671f7670b6..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/UserConfig.java +++ /dev/null @@ -1,152 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.Indexes; -import edu.uci.ics.texera.web.model.jooq.generated.Keys; -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.UserConfigRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; - -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class UserConfig extends TableImpl { - - private static final long serialVersionUID = -666438922; - - /** - * The reference instance of texera_db.user_config - */ - public static final UserConfig USER_CONFIG = new UserConfig(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return UserConfigRecord.class; - } - - /** - * The column texera_db.user_config.uid. - */ - public final TableField UID = createField(DSL.name("uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.user_config.key. - */ - public final TableField KEY = createField(DSL.name("key"), org.jooq.impl.SQLDataType.VARCHAR(256).nullable(false), this, ""); - - /** - * The column texera_db.user_config.value. - */ - public final TableField VALUE = createField(DSL.name("value"), org.jooq.impl.SQLDataType.CLOB.nullable(false), this, ""); - - /** - * Create a texera_db.user_config table reference - */ - public UserConfig() { - this(DSL.name("user_config"), null); - } - - /** - * Create an aliased texera_db.user_config table reference - */ - public UserConfig(String alias) { - this(DSL.name(alias), USER_CONFIG); - } - - /** - * Create an aliased texera_db.user_config table reference - */ - public UserConfig(Name alias) { - this(alias, USER_CONFIG); - } - - private UserConfig(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private UserConfig(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public UserConfig(Table child, ForeignKey key) { - super(child, key, USER_CONFIG); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.USER_CONFIG_PRIMARY); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_USER_CONFIG_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_USER_CONFIG_PRIMARY); - } - - @Override - public List> getReferences() { - return Arrays.>asList(Keys.USER_CONFIG_IBFK_1); - } - - public User user() { - return new User(this, Keys.USER_CONFIG_IBFK_1); - } - - @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 fieldsRow() { - return (Row3) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Workflow.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Workflow.java deleted file mode 100644 index 57fb8c39bd3..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/Workflow.java +++ /dev/null @@ -1,169 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.Indexes; -import edu.uci.ics.texera.web.model.jooq.generated.Keys; -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class Workflow extends TableImpl { - - private static final long serialVersionUID = -1770381178; - - /** - * The reference instance of texera_db.workflow - */ - public static final Workflow WORKFLOW = new Workflow(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return WorkflowRecord.class; - } - - /** - * The column texera_db.workflow.name. - */ - public final TableField NAME = createField(DSL.name("name"), org.jooq.impl.SQLDataType.VARCHAR(128).nullable(false), this, ""); - - /** - * The column texera_db.workflow.description. - */ - public final TableField DESCRIPTION = createField(DSL.name("description"), org.jooq.impl.SQLDataType.VARCHAR(500), this, ""); - - /** - * The column texera_db.workflow.wid. - */ - public final TableField WID = createField(DSL.name("wid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).identity(true), this, ""); - - /** - * The column texera_db.workflow.content. - */ - public final TableField CONTENT = createField(DSL.name("content"), org.jooq.impl.SQLDataType.CLOB.nullable(false), this, ""); - - /** - * The column texera_db.workflow.creation_time. - */ - public final TableField CREATION_TIME = createField(DSL.name("creation_time"), org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaultValue(org.jooq.impl.DSL.field("CURRENT_TIMESTAMP", org.jooq.impl.SQLDataType.TIMESTAMP)), this, ""); - - /** - * The column texera_db.workflow.last_modified_time. - */ - public final TableField LAST_MODIFIED_TIME = createField(DSL.name("last_modified_time"), org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaultValue(org.jooq.impl.DSL.field("CURRENT_TIMESTAMP", org.jooq.impl.SQLDataType.TIMESTAMP)), this, ""); - - /** - * The column texera_db.workflow.is_published. - */ - public final TableField IS_PUBLISHED = createField(DSL.name("is_published"), org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaultValue(org.jooq.impl.DSL.inline("0", org.jooq.impl.SQLDataType.TINYINT)), this, ""); - - /** - * Create a texera_db.workflow table reference - */ - public Workflow() { - this(DSL.name("workflow"), null); - } - - /** - * Create an aliased texera_db.workflow table reference - */ - public Workflow(String alias) { - this(DSL.name(alias), WORKFLOW); - } - - /** - * Create an aliased texera_db.workflow table reference - */ - public Workflow(Name alias) { - this(alias, WORKFLOW); - } - - private Workflow(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private Workflow(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public Workflow(Table child, ForeignKey key) { - super(child, key, WORKFLOW); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.WORKFLOW_IDX_WORKFLOW_NAME_DESCRIPTION_CONTENT, Indexes.WORKFLOW_PRIMARY); - } - - @Override - public Identity getIdentity() { - return Keys.IDENTITY_WORKFLOW; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_WORKFLOW_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_WORKFLOW_PRIMARY); - } - - @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 fieldsRow() { - return (Row7) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowExecutions.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowExecutions.java deleted file mode 100644 index cf5c3166e91..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowExecutions.java +++ /dev/null @@ -1,202 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.Indexes; -import edu.uci.ics.texera.web.model.jooq.generated.Keys; -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowExecutionsRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowExecutions extends TableImpl { - - private static final long serialVersionUID = -2101880159; - - /** - * The reference instance of texera_db.workflow_executions - */ - public static final WorkflowExecutions WORKFLOW_EXECUTIONS = new WorkflowExecutions(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return WorkflowExecutionsRecord.class; - } - - /** - * The column texera_db.workflow_executions.eid. - */ - public final TableField EID = createField(DSL.name("eid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).identity(true), this, ""); - - /** - * The column texera_db.workflow_executions.vid. - */ - public final TableField VID = createField(DSL.name("vid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.workflow_executions.uid. - */ - public final TableField UID = createField(DSL.name("uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.workflow_executions.status. - */ - public final TableField STATUS = createField(DSL.name("status"), org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaultValue(org.jooq.impl.DSL.inline("1", org.jooq.impl.SQLDataType.TINYINT)), this, ""); - - /** - * The column texera_db.workflow_executions.result. - */ - public final TableField RESULT = createField(DSL.name("result"), org.jooq.impl.SQLDataType.CLOB, this, ""); - - /** - * The column texera_db.workflow_executions.starting_time. - */ - public final TableField STARTING_TIME = createField(DSL.name("starting_time"), org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaultValue(org.jooq.impl.DSL.field("CURRENT_TIMESTAMP", org.jooq.impl.SQLDataType.TIMESTAMP)), this, ""); - - /** - * The column texera_db.workflow_executions.last_update_time. - */ - public final TableField LAST_UPDATE_TIME = createField(DSL.name("last_update_time"), org.jooq.impl.SQLDataType.TIMESTAMP, this, ""); - - /** - * The column texera_db.workflow_executions.bookmarked. - */ - public final TableField BOOKMARKED = createField(DSL.name("bookmarked"), org.jooq.impl.SQLDataType.TINYINT.defaultValue(org.jooq.impl.DSL.inline("0", org.jooq.impl.SQLDataType.TINYINT)), this, ""); - - /** - * The column texera_db.workflow_executions.name. - */ - public final TableField NAME = createField(DSL.name("name"), org.jooq.impl.SQLDataType.VARCHAR(128).nullable(false).defaultValue(org.jooq.impl.DSL.inline("Untitled Execution", org.jooq.impl.SQLDataType.VARCHAR)), this, ""); - - /** - * The column texera_db.workflow_executions.environment_version. - */ - public final TableField ENVIRONMENT_VERSION = createField(DSL.name("environment_version"), org.jooq.impl.SQLDataType.VARCHAR(128).nullable(false), this, ""); - - /** - * The column texera_db.workflow_executions.log_location. - */ - public final TableField LOG_LOCATION = createField(DSL.name("log_location"), org.jooq.impl.SQLDataType.CLOB, this, ""); - - /** - * Create a texera_db.workflow_executions table reference - */ - public WorkflowExecutions() { - this(DSL.name("workflow_executions"), null); - } - - /** - * Create an aliased texera_db.workflow_executions table reference - */ - public WorkflowExecutions(String alias) { - this(DSL.name(alias), WORKFLOW_EXECUTIONS); - } - - /** - * Create an aliased texera_db.workflow_executions table reference - */ - public WorkflowExecutions(Name alias) { - this(alias, WORKFLOW_EXECUTIONS); - } - - private WorkflowExecutions(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private WorkflowExecutions(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public WorkflowExecutions(Table child, ForeignKey key) { - super(child, key, WORKFLOW_EXECUTIONS); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.WORKFLOW_EXECUTIONS_PRIMARY, Indexes.WORKFLOW_EXECUTIONS_UID, Indexes.WORKFLOW_EXECUTIONS_VID); - } - - @Override - public Identity getIdentity() { - return Keys.IDENTITY_WORKFLOW_EXECUTIONS; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_WORKFLOW_EXECUTIONS_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_WORKFLOW_EXECUTIONS_PRIMARY); - } - - @Override - public List> getReferences() { - return Arrays.>asList(Keys.WORKFLOW_EXECUTIONS_IBFK_1, Keys.WORKFLOW_EXECUTIONS_IBFK_2); - } - - public WorkflowVersion workflowVersion() { - return new WorkflowVersion(this, Keys.WORKFLOW_EXECUTIONS_IBFK_1); - } - - public User user() { - return new User(this, Keys.WORKFLOW_EXECUTIONS_IBFK_2); - } - - @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); - } - - // ------------------------------------------------------------------------- - // Row11 type methods - // ------------------------------------------------------------------------- - - @Override - public Row11 fieldsRow() { - return (Row11) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowOfProject.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowOfProject.java deleted file mode 100644 index f631813fb55..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowOfProject.java +++ /dev/null @@ -1,151 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.Indexes; -import edu.uci.ics.texera.web.model.jooq.generated.Keys; -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowOfProjectRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; - -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowOfProject extends TableImpl { - - private static final long serialVersionUID = 644137750; - - /** - * The reference instance of texera_db.workflow_of_project - */ - public static final WorkflowOfProject WORKFLOW_OF_PROJECT = new WorkflowOfProject(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return WorkflowOfProjectRecord.class; - } - - /** - * The column texera_db.workflow_of_project.wid. - */ - public final TableField WID = createField(DSL.name("wid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.workflow_of_project.pid. - */ - public final TableField PID = createField(DSL.name("pid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * Create a texera_db.workflow_of_project table reference - */ - public WorkflowOfProject() { - this(DSL.name("workflow_of_project"), null); - } - - /** - * Create an aliased texera_db.workflow_of_project table reference - */ - public WorkflowOfProject(String alias) { - this(DSL.name(alias), WORKFLOW_OF_PROJECT); - } - - /** - * Create an aliased texera_db.workflow_of_project table reference - */ - public WorkflowOfProject(Name alias) { - this(alias, WORKFLOW_OF_PROJECT); - } - - private WorkflowOfProject(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private WorkflowOfProject(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public WorkflowOfProject(Table child, ForeignKey key) { - super(child, key, WORKFLOW_OF_PROJECT); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.WORKFLOW_OF_PROJECT_PID, Indexes.WORKFLOW_OF_PROJECT_PRIMARY); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_WORKFLOW_OF_PROJECT_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_WORKFLOW_OF_PROJECT_PRIMARY); - } - - @Override - public List> getReferences() { - return Arrays.>asList(Keys.WORKFLOW_OF_PROJECT_IBFK_1, Keys.WORKFLOW_OF_PROJECT_IBFK_2); - } - - public Workflow workflow() { - return new Workflow(this, Keys.WORKFLOW_OF_PROJECT_IBFK_1); - } - - public Project project() { - return new Project(this, Keys.WORKFLOW_OF_PROJECT_IBFK_2); - } - - @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 fieldsRow() { - return (Row2) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowOfUser.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowOfUser.java deleted file mode 100644 index 60f17874db2..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowOfUser.java +++ /dev/null @@ -1,151 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.Indexes; -import edu.uci.ics.texera.web.model.jooq.generated.Keys; -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowOfUserRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; - -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowOfUser extends TableImpl { - - private static final long serialVersionUID = 1187907428; - - /** - * The reference instance of texera_db.workflow_of_user - */ - public static final WorkflowOfUser WORKFLOW_OF_USER = new WorkflowOfUser(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return WorkflowOfUserRecord.class; - } - - /** - * The column texera_db.workflow_of_user.uid. - */ - public final TableField UID = createField(DSL.name("uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.workflow_of_user.wid. - */ - public final TableField WID = createField(DSL.name("wid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * Create a texera_db.workflow_of_user table reference - */ - public WorkflowOfUser() { - this(DSL.name("workflow_of_user"), null); - } - - /** - * Create an aliased texera_db.workflow_of_user table reference - */ - public WorkflowOfUser(String alias) { - this(DSL.name(alias), WORKFLOW_OF_USER); - } - - /** - * Create an aliased texera_db.workflow_of_user table reference - */ - public WorkflowOfUser(Name alias) { - this(alias, WORKFLOW_OF_USER); - } - - private WorkflowOfUser(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private WorkflowOfUser(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public WorkflowOfUser(Table child, ForeignKey key) { - super(child, key, WORKFLOW_OF_USER); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.WORKFLOW_OF_USER_PRIMARY, Indexes.WORKFLOW_OF_USER_WID); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_WORKFLOW_OF_USER_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_WORKFLOW_OF_USER_PRIMARY); - } - - @Override - public List> getReferences() { - return Arrays.>asList(Keys.WORKFLOW_OF_USER_IBFK_1, Keys.WORKFLOW_OF_USER_IBFK_2); - } - - public User user() { - return new User(this, Keys.WORKFLOW_OF_USER_IBFK_1); - } - - public Workflow workflow() { - return new Workflow(this, Keys.WORKFLOW_OF_USER_IBFK_2); - } - - @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 fieldsRow() { - return (Row2) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowRuntimeStatistics.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowRuntimeStatistics.java deleted file mode 100644 index 675ba4da173..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowRuntimeStatistics.java +++ /dev/null @@ -1,198 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.Indexes; -import edu.uci.ics.texera.web.model.jooq.generated.Keys; -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowRuntimeStatisticsRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; -import org.jooq.types.ULong; - -import java.sql.Timestamp; -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowRuntimeStatistics extends TableImpl { - - private static final long serialVersionUID = -1646851437; - - /** - * The reference instance of texera_db.workflow_runtime_statistics - */ - public static final WorkflowRuntimeStatistics WORKFLOW_RUNTIME_STATISTICS = new WorkflowRuntimeStatistics(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return WorkflowRuntimeStatisticsRecord.class; - } - - /** - * The column texera_db.workflow_runtime_statistics.workflow_id. - */ - public final TableField WORKFLOW_ID = createField(DSL.name("workflow_id"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.workflow_runtime_statistics.execution_id. - */ - public final TableField EXECUTION_ID = createField(DSL.name("execution_id"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.workflow_runtime_statistics.operator_id. - */ - public final TableField OPERATOR_ID = createField(DSL.name("operator_id"), org.jooq.impl.SQLDataType.VARCHAR(512).nullable(false), this, ""); - - /** - * The column texera_db.workflow_runtime_statistics.time. - */ - public final TableField TIME = createField(DSL.name("time"), org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaultValue(org.jooq.impl.DSL.field("CURRENT_TIMESTAMP(6)", org.jooq.impl.SQLDataType.TIMESTAMP)), this, ""); - - /** - * The column texera_db.workflow_runtime_statistics.input_tuple_cnt. - */ - public final TableField INPUT_TUPLE_CNT = createField(DSL.name("input_tuple_cnt"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).defaultValue(org.jooq.impl.DSL.inline("0", org.jooq.impl.SQLDataType.INTEGERUNSIGNED)), this, ""); - - /** - * The column texera_db.workflow_runtime_statistics.output_tuple_cnt. - */ - public final TableField OUTPUT_TUPLE_CNT = createField(DSL.name("output_tuple_cnt"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).defaultValue(org.jooq.impl.DSL.inline("0", org.jooq.impl.SQLDataType.INTEGERUNSIGNED)), this, ""); - - /** - * The column texera_db.workflow_runtime_statistics.status. - */ - public final TableField STATUS = createField(DSL.name("status"), org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaultValue(org.jooq.impl.DSL.inline("1", org.jooq.impl.SQLDataType.TINYINT)), this, ""); - - /** - * The column texera_db.workflow_runtime_statistics.data_processing_time. - */ - public final TableField DATA_PROCESSING_TIME = createField(DSL.name("data_processing_time"), org.jooq.impl.SQLDataType.BIGINTUNSIGNED.nullable(false).defaultValue(org.jooq.impl.DSL.inline("0", org.jooq.impl.SQLDataType.BIGINTUNSIGNED)), this, ""); - - /** - * The column texera_db.workflow_runtime_statistics.control_processing_time. - */ - public final TableField CONTROL_PROCESSING_TIME = createField(DSL.name("control_processing_time"), org.jooq.impl.SQLDataType.BIGINTUNSIGNED.nullable(false).defaultValue(org.jooq.impl.DSL.inline("0", org.jooq.impl.SQLDataType.BIGINTUNSIGNED)), this, ""); - - /** - * The column texera_db.workflow_runtime_statistics.idle_time. - */ - public final TableField IDLE_TIME = createField(DSL.name("idle_time"), org.jooq.impl.SQLDataType.BIGINTUNSIGNED.nullable(false).defaultValue(org.jooq.impl.DSL.inline("0", org.jooq.impl.SQLDataType.BIGINTUNSIGNED)), this, ""); - - /** - * The column texera_db.workflow_runtime_statistics.num_workers. - */ - public final TableField NUM_WORKERS = createField(DSL.name("num_workers"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).defaultValue(org.jooq.impl.DSL.inline("0", org.jooq.impl.SQLDataType.INTEGERUNSIGNED)), this, ""); - - /** - * Create a texera_db.workflow_runtime_statistics table reference - */ - public WorkflowRuntimeStatistics() { - this(DSL.name("workflow_runtime_statistics"), null); - } - - /** - * Create an aliased texera_db.workflow_runtime_statistics table reference - */ - public WorkflowRuntimeStatistics(String alias) { - this(DSL.name(alias), WORKFLOW_RUNTIME_STATISTICS); - } - - /** - * Create an aliased texera_db.workflow_runtime_statistics table reference - */ - public WorkflowRuntimeStatistics(Name alias) { - this(alias, WORKFLOW_RUNTIME_STATISTICS); - } - - private WorkflowRuntimeStatistics(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private WorkflowRuntimeStatistics(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public WorkflowRuntimeStatistics(Table child, ForeignKey key) { - super(child, key, WORKFLOW_RUNTIME_STATISTICS); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.WORKFLOW_RUNTIME_STATISTICS_EXECUTION_ID, Indexes.WORKFLOW_RUNTIME_STATISTICS_PRIMARY); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_WORKFLOW_RUNTIME_STATISTICS_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_WORKFLOW_RUNTIME_STATISTICS_PRIMARY); - } - - @Override - public List> getReferences() { - return Arrays.>asList(Keys.WORKFLOW_RUNTIME_STATISTICS_IBFK_1, Keys.WORKFLOW_RUNTIME_STATISTICS_IBFK_2); - } - - public Workflow workflow() { - return new Workflow(this, Keys.WORKFLOW_RUNTIME_STATISTICS_IBFK_1); - } - - public WorkflowExecutions workflowExecutions() { - return new WorkflowExecutions(this, Keys.WORKFLOW_RUNTIME_STATISTICS_IBFK_2); - } - - @Override - public WorkflowRuntimeStatistics as(String alias) { - return new WorkflowRuntimeStatistics(DSL.name(alias), this); - } - - @Override - public WorkflowRuntimeStatistics as(Name alias) { - return new WorkflowRuntimeStatistics(alias, this); - } - - /** - * Rename this table - */ - @Override - public WorkflowRuntimeStatistics rename(String name) { - return new WorkflowRuntimeStatistics(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public WorkflowRuntimeStatistics rename(Name name) { - return new WorkflowRuntimeStatistics(name, null); - } - - // ------------------------------------------------------------------------- - // Row11 type methods - // ------------------------------------------------------------------------- - - @Override - public Row11 fieldsRow() { - return (Row11) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserAccess.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserAccess.java deleted file mode 100644 index fe9d5fc1091..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserAccess.java +++ /dev/null @@ -1,157 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.Indexes; -import edu.uci.ics.texera.web.model.jooq.generated.Keys; -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.enums.WorkflowUserAccessPrivilege; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowUserAccessRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; - -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowUserAccess extends TableImpl { - - private static final long serialVersionUID = 712932299; - - /** - * The reference instance of texera_db.workflow_user_access - */ - public static final WorkflowUserAccess WORKFLOW_USER_ACCESS = new WorkflowUserAccess(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return WorkflowUserAccessRecord.class; - } - - /** - * The column texera_db.workflow_user_access.uid. - */ - public final TableField UID = createField(DSL.name("uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.workflow_user_access.wid. - */ - public final TableField WID = createField(DSL.name("wid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.workflow_user_access.privilege. - */ - public final TableField PRIVILEGE = createField(DSL.name("privilege"), org.jooq.impl.SQLDataType.VARCHAR(5).nullable(false).defaultValue(org.jooq.impl.DSL.inline("NONE", org.jooq.impl.SQLDataType.VARCHAR)).asEnumDataType(edu.uci.ics.texera.web.model.jooq.generated.enums.WorkflowUserAccessPrivilege.class), this, ""); - - /** - * Create a texera_db.workflow_user_access table reference - */ - public WorkflowUserAccess() { - this(DSL.name("workflow_user_access"), null); - } - - /** - * Create an aliased texera_db.workflow_user_access table reference - */ - public WorkflowUserAccess(String alias) { - this(DSL.name(alias), WORKFLOW_USER_ACCESS); - } - - /** - * Create an aliased texera_db.workflow_user_access table reference - */ - public WorkflowUserAccess(Name alias) { - this(alias, WORKFLOW_USER_ACCESS); - } - - private WorkflowUserAccess(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private WorkflowUserAccess(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public WorkflowUserAccess(Table child, ForeignKey key) { - super(child, key, WORKFLOW_USER_ACCESS); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.WORKFLOW_USER_ACCESS_PRIMARY, Indexes.WORKFLOW_USER_ACCESS_WID); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_WORKFLOW_USER_ACCESS_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_WORKFLOW_USER_ACCESS_PRIMARY); - } - - @Override - public List> getReferences() { - return Arrays.>asList(Keys.WORKFLOW_USER_ACCESS_IBFK_1, Keys.WORKFLOW_USER_ACCESS_IBFK_2); - } - - public User user() { - return new User(this, Keys.WORKFLOW_USER_ACCESS_IBFK_1); - } - - public Workflow workflow() { - return new Workflow(this, Keys.WORKFLOW_USER_ACCESS_IBFK_2); - } - - @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 fieldsRow() { - return (Row3) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserActivity.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserActivity.java deleted file mode 100644 index 584934c3a95..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserActivity.java +++ /dev/null @@ -1,135 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowUserActivityRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowUserActivity extends TableImpl { - - private static final long serialVersionUID = 1692655664; - - /** - * The reference instance of texera_db.workflow_user_activity - */ - public static final WorkflowUserActivity WORKFLOW_USER_ACTIVITY = new WorkflowUserActivity(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return WorkflowUserActivityRecord.class; - } - - /** - * The column texera_db.workflow_user_activity.uid. - */ - public final TableField UID = createField(DSL.name("uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).defaultValue(org.jooq.impl.DSL.inline("0", org.jooq.impl.SQLDataType.INTEGERUNSIGNED)), this, ""); - - /** - * The column texera_db.workflow_user_activity.wid. - */ - public final TableField WID = createField(DSL.name("wid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.workflow_user_activity.ip. - */ - public final TableField IP = createField(DSL.name("ip"), org.jooq.impl.SQLDataType.VARCHAR(15), this, ""); - - /** - * The column texera_db.workflow_user_activity.activate. - */ - public final TableField ACTIVATE = createField(DSL.name("activate"), org.jooq.impl.SQLDataType.VARCHAR(10).nullable(false), this, ""); - - /** - * The column texera_db.workflow_user_activity.activity_time. - */ - public final TableField ACTIVITY_TIME = createField(DSL.name("activity_time"), org.jooq.impl.SQLDataType.TIMESTAMP.defaultValue(org.jooq.impl.DSL.field("CURRENT_TIMESTAMP", org.jooq.impl.SQLDataType.TIMESTAMP)), this, ""); - - /** - * Create a texera_db.workflow_user_activity table reference - */ - public WorkflowUserActivity() { - this(DSL.name("workflow_user_activity"), null); - } - - /** - * Create an aliased texera_db.workflow_user_activity table reference - */ - public WorkflowUserActivity(String alias) { - this(DSL.name(alias), WORKFLOW_USER_ACTIVITY); - } - - /** - * Create an aliased texera_db.workflow_user_activity table reference - */ - public WorkflowUserActivity(Name alias) { - this(alias, WORKFLOW_USER_ACTIVITY); - } - - private WorkflowUserActivity(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private WorkflowUserActivity(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public WorkflowUserActivity(Table child, ForeignKey key) { - super(child, key, WORKFLOW_USER_ACTIVITY); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public WorkflowUserActivity as(String alias) { - return new WorkflowUserActivity(DSL.name(alias), this); - } - - @Override - public WorkflowUserActivity as(Name alias) { - return new WorkflowUserActivity(alias, this); - } - - /** - * Rename this table - */ - @Override - public WorkflowUserActivity rename(String name) { - return new WorkflowUserActivity(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public WorkflowUserActivity rename(Name name) { - return new WorkflowUserActivity(name, null); - } - - // ------------------------------------------------------------------------- - // Row5 type methods - // ------------------------------------------------------------------------- - - @Override - public Row5 fieldsRow() { - return (Row5) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserClones.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserClones.java deleted file mode 100644 index 2018735f90a..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserClones.java +++ /dev/null @@ -1,151 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.Indexes; -import edu.uci.ics.texera.web.model.jooq.generated.Keys; -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowUserClonesRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; - -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowUserClones extends TableImpl { - - private static final long serialVersionUID = -666496644; - - /** - * The reference instance of texera_db.workflow_user_clones - */ - public static final WorkflowUserClones WORKFLOW_USER_CLONES = new WorkflowUserClones(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return WorkflowUserClonesRecord.class; - } - - /** - * The column texera_db.workflow_user_clones.uid. - */ - public final TableField UID = createField(DSL.name("uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.workflow_user_clones.wid. - */ - public final TableField WID = createField(DSL.name("wid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * Create a texera_db.workflow_user_clones table reference - */ - public WorkflowUserClones() { - this(DSL.name("workflow_user_clones"), null); - } - - /** - * Create an aliased texera_db.workflow_user_clones table reference - */ - public WorkflowUserClones(String alias) { - this(DSL.name(alias), WORKFLOW_USER_CLONES); - } - - /** - * Create an aliased texera_db.workflow_user_clones table reference - */ - public WorkflowUserClones(Name alias) { - this(alias, WORKFLOW_USER_CLONES); - } - - private WorkflowUserClones(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private WorkflowUserClones(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public WorkflowUserClones(Table child, ForeignKey key) { - super(child, key, WORKFLOW_USER_CLONES); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.WORKFLOW_USER_CLONES_PRIMARY, Indexes.WORKFLOW_USER_CLONES_WID); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_WORKFLOW_USER_CLONES_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_WORKFLOW_USER_CLONES_PRIMARY); - } - - @Override - public List> getReferences() { - return Arrays.>asList(Keys.WORKFLOW_USER_CLONES_IBFK_1, Keys.WORKFLOW_USER_CLONES_IBFK_2); - } - - public User user() { - return new User(this, Keys.WORKFLOW_USER_CLONES_IBFK_1); - } - - public Workflow workflow() { - return new Workflow(this, Keys.WORKFLOW_USER_CLONES_IBFK_2); - } - - @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 fieldsRow() { - return (Row2) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserLikes.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserLikes.java deleted file mode 100644 index 11c2e8e6d1b..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowUserLikes.java +++ /dev/null @@ -1,151 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.Indexes; -import edu.uci.ics.texera.web.model.jooq.generated.Keys; -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowUserLikesRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; - -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowUserLikes extends TableImpl { - - private static final long serialVersionUID = -470369784; - - /** - * The reference instance of texera_db.workflow_user_likes - */ - public static final WorkflowUserLikes WORKFLOW_USER_LIKES = new WorkflowUserLikes(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return WorkflowUserLikesRecord.class; - } - - /** - * The column texera_db.workflow_user_likes.uid. - */ - public final TableField UID = createField(DSL.name("uid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.workflow_user_likes.wid. - */ - public final TableField WID = createField(DSL.name("wid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * Create a texera_db.workflow_user_likes table reference - */ - public WorkflowUserLikes() { - this(DSL.name("workflow_user_likes"), null); - } - - /** - * Create an aliased texera_db.workflow_user_likes table reference - */ - public WorkflowUserLikes(String alias) { - this(DSL.name(alias), WORKFLOW_USER_LIKES); - } - - /** - * Create an aliased texera_db.workflow_user_likes table reference - */ - public WorkflowUserLikes(Name alias) { - this(alias, WORKFLOW_USER_LIKES); - } - - private WorkflowUserLikes(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private WorkflowUserLikes(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public WorkflowUserLikes(Table child, ForeignKey key) { - super(child, key, WORKFLOW_USER_LIKES); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.WORKFLOW_USER_LIKES_PRIMARY, Indexes.WORKFLOW_USER_LIKES_WID); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_WORKFLOW_USER_LIKES_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_WORKFLOW_USER_LIKES_PRIMARY); - } - - @Override - public List> getReferences() { - return Arrays.>asList(Keys.WORKFLOW_USER_LIKES_IBFK_1, Keys.WORKFLOW_USER_LIKES_IBFK_2); - } - - public User user() { - return new User(this, Keys.WORKFLOW_USER_LIKES_IBFK_1); - } - - public Workflow workflow() { - return new Workflow(this, Keys.WORKFLOW_USER_LIKES_IBFK_2); - } - - @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 fieldsRow() { - return (Row2) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowVersion.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowVersion.java deleted file mode 100644 index 63ca76708ec..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowVersion.java +++ /dev/null @@ -1,163 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.Indexes; -import edu.uci.ics.texera.web.model.jooq.generated.Keys; -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowVersionRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowVersion extends TableImpl { - - private static final long serialVersionUID = -1701791149; - - /** - * The reference instance of texera_db.workflow_version - */ - public static final WorkflowVersion WORKFLOW_VERSION = new WorkflowVersion(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return WorkflowVersionRecord.class; - } - - /** - * The column texera_db.workflow_version.vid. - */ - public final TableField VID = createField(DSL.name("vid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).identity(true), this, ""); - - /** - * The column texera_db.workflow_version.wid. - */ - public final TableField WID = createField(DSL.name("wid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.workflow_version.content. - */ - public final TableField CONTENT = createField(DSL.name("content"), org.jooq.impl.SQLDataType.CLOB.nullable(false), this, ""); - - /** - * The column texera_db.workflow_version.creation_time. - */ - public final TableField CREATION_TIME = createField(DSL.name("creation_time"), org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaultValue(org.jooq.impl.DSL.field("CURRENT_TIMESTAMP", org.jooq.impl.SQLDataType.TIMESTAMP)), this, ""); - - /** - * Create a texera_db.workflow_version table reference - */ - public WorkflowVersion() { - this(DSL.name("workflow_version"), null); - } - - /** - * Create an aliased texera_db.workflow_version table reference - */ - public WorkflowVersion(String alias) { - this(DSL.name(alias), WORKFLOW_VERSION); - } - - /** - * Create an aliased texera_db.workflow_version table reference - */ - public WorkflowVersion(Name alias) { - this(alias, WORKFLOW_VERSION); - } - - private WorkflowVersion(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private WorkflowVersion(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public WorkflowVersion(Table child, ForeignKey key) { - super(child, key, WORKFLOW_VERSION); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.WORKFLOW_VERSION_PRIMARY, Indexes.WORKFLOW_VERSION_WID); - } - - @Override - public Identity getIdentity() { - return Keys.IDENTITY_WORKFLOW_VERSION; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_WORKFLOW_VERSION_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_WORKFLOW_VERSION_PRIMARY); - } - - @Override - public List> getReferences() { - return Arrays.>asList(Keys.WORKFLOW_VERSION_IBFK_1); - } - - public Workflow workflow() { - return new Workflow(this, Keys.WORKFLOW_VERSION_IBFK_1); - } - - @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 fieldsRow() { - return (Row4) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowViewCount.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowViewCount.java deleted file mode 100644 index c34e7cc5efa..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/WorkflowViewCount.java +++ /dev/null @@ -1,147 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables; - - -import edu.uci.ics.texera.web.model.jooq.generated.Indexes; -import edu.uci.ics.texera.web.model.jooq.generated.Keys; -import edu.uci.ics.texera.web.model.jooq.generated.TexeraDb; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowViewCountRecord; -import org.jooq.*; -import org.jooq.impl.DSL; -import org.jooq.impl.TableImpl; -import org.jooq.types.UInteger; - -import java.util.Arrays; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowViewCount extends TableImpl { - - private static final long serialVersionUID = 89898965; - - /** - * The reference instance of texera_db.workflow_view_count - */ - public static final WorkflowViewCount WORKFLOW_VIEW_COUNT = new WorkflowViewCount(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return WorkflowViewCountRecord.class; - } - - /** - * The column texera_db.workflow_view_count.wid. - */ - public final TableField WID = createField(DSL.name("wid"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); - - /** - * The column texera_db.workflow_view_count.view_count. - */ - public final TableField VIEW_COUNT = createField(DSL.name("view_count"), org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).defaultValue(org.jooq.impl.DSL.inline("0", org.jooq.impl.SQLDataType.INTEGERUNSIGNED)), this, ""); - - /** - * Create a texera_db.workflow_view_count table reference - */ - public WorkflowViewCount() { - this(DSL.name("workflow_view_count"), null); - } - - /** - * Create an aliased texera_db.workflow_view_count table reference - */ - public WorkflowViewCount(String alias) { - this(DSL.name(alias), WORKFLOW_VIEW_COUNT); - } - - /** - * Create an aliased texera_db.workflow_view_count table reference - */ - public WorkflowViewCount(Name alias) { - this(alias, WORKFLOW_VIEW_COUNT); - } - - private WorkflowViewCount(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private WorkflowViewCount(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment("")); - } - - public WorkflowViewCount(Table child, ForeignKey key) { - super(child, key, WORKFLOW_VIEW_COUNT); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public List getIndexes() { - return Arrays.asList(Indexes.WORKFLOW_VIEW_COUNT_PRIMARY); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_WORKFLOW_VIEW_COUNT_PRIMARY; - } - - @Override - public List> getKeys() { - return Arrays.>asList(Keys.KEY_WORKFLOW_VIEW_COUNT_PRIMARY); - } - - @Override - public List> getReferences() { - return Arrays.>asList(Keys.WORKFLOW_VIEW_COUNT_IBFK_1); - } - - public Workflow workflow() { - return new Workflow(this, Keys.WORKFLOW_VIEW_COUNT_IBFK_1); - } - - @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 fieldsRow() { - return (Row2) super.fieldsRow(); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/DatasetDao.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/DatasetDao.java deleted file mode 100644 index db2f46c0dae..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/DatasetDao.java +++ /dev/null @@ -1,132 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.Dataset; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.DatasetRecord; -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class DatasetDao extends DAOImpl { - - /** - * Create a new DatasetDao without any configuration - */ - public DatasetDao() { - super(Dataset.DATASET, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.Dataset.class); - } - - /** - * Create a new DatasetDao with an attached configuration - */ - public DatasetDao(Configuration configuration) { - super(Dataset.DATASET, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.Dataset.class, configuration); - } - - @Override - public UInteger getId(edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.Dataset object) { - return object.getDid(); - } - - /** - * Fetch records that have did BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfDid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(Dataset.DATASET.DID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have did IN (values) - */ - public List fetchByDid(UInteger... values) { - return fetch(Dataset.DATASET.DID, values); - } - - /** - * Fetch a unique record that has did = value - */ - public edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.Dataset fetchOneByDid(UInteger value) { - return fetchOne(Dataset.DATASET.DID, value); - } - - /** - * Fetch records that have owner_uid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfOwnerUid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(Dataset.DATASET.OWNER_UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have owner_uid IN (values) - */ - public List fetchByOwnerUid(UInteger... values) { - return fetch(Dataset.DATASET.OWNER_UID, values); - } - - /** - * Fetch records that have name BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfName(String lowerInclusive, String upperInclusive) { - return fetchRange(Dataset.DATASET.NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have name IN (values) - */ - public List fetchByName(String... values) { - return fetch(Dataset.DATASET.NAME, values); - } - - /** - * Fetch records that have is_public BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfIsPublic(Byte lowerInclusive, Byte upperInclusive) { - return fetchRange(Dataset.DATASET.IS_PUBLIC, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have is_public IN (values) - */ - public List fetchByIsPublic(Byte... values) { - return fetch(Dataset.DATASET.IS_PUBLIC, values); - } - - /** - * Fetch records that have description BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfDescription(String lowerInclusive, String upperInclusive) { - return fetchRange(Dataset.DATASET.DESCRIPTION, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have description IN (values) - */ - public List fetchByDescription(String... values) { - return fetch(Dataset.DATASET.DESCRIPTION, values); - } - - /** - * Fetch records that have creation_time BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfCreationTime(Timestamp lowerInclusive, Timestamp upperInclusive) { - return fetchRange(Dataset.DATASET.CREATION_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have creation_time IN (values) - */ - public List fetchByCreationTime(Timestamp... values) { - return fetch(Dataset.DATASET.CREATION_TIME, values); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/DatasetUserAccessDao.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/DatasetUserAccessDao.java deleted file mode 100644 index c7a98a450a7..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/DatasetUserAccessDao.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.web.model.jooq.generated.enums.DatasetUserAccessPrivilege; -import edu.uci.ics.texera.web.model.jooq.generated.tables.DatasetUserAccess; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.DatasetUserAccessRecord; -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; -import org.jooq.types.UInteger; - -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class DatasetUserAccessDao extends DAOImpl> { - - /** - * Create a new DatasetUserAccessDao without any configuration - */ - public DatasetUserAccessDao() { - super(DatasetUserAccess.DATASET_USER_ACCESS, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.DatasetUserAccess.class); - } - - /** - * Create a new DatasetUserAccessDao with an attached configuration - */ - public DatasetUserAccessDao(Configuration configuration) { - super(DatasetUserAccess.DATASET_USER_ACCESS, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.DatasetUserAccess.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.DatasetUserAccess object) { - return compositeKeyRecord(object.getDid(), object.getUid()); - } - - /** - * Fetch records that have did BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfDid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(DatasetUserAccess.DATASET_USER_ACCESS.DID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have did IN (values) - */ - public List fetchByDid(UInteger... values) { - return fetch(DatasetUserAccess.DATASET_USER_ACCESS.DID, values); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfUid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(DatasetUserAccess.DATASET_USER_ACCESS.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(UInteger... values) { - return fetch(DatasetUserAccess.DATASET_USER_ACCESS.UID, values); - } - - /** - * Fetch records that have privilege BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfPrivilege(DatasetUserAccessPrivilege lowerInclusive, DatasetUserAccessPrivilege upperInclusive) { - return fetchRange(DatasetUserAccess.DATASET_USER_ACCESS.PRIVILEGE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have privilege IN (values) - */ - public List fetchByPrivilege(DatasetUserAccessPrivilege... values) { - return fetch(DatasetUserAccess.DATASET_USER_ACCESS.PRIVILEGE, values); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/DatasetVersionDao.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/DatasetVersionDao.java deleted file mode 100644 index 4c80be93e50..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/DatasetVersionDao.java +++ /dev/null @@ -1,132 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.DatasetVersion; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.DatasetVersionRecord; -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class DatasetVersionDao extends DAOImpl { - - /** - * Create a new DatasetVersionDao without any configuration - */ - public DatasetVersionDao() { - super(DatasetVersion.DATASET_VERSION, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.DatasetVersion.class); - } - - /** - * Create a new DatasetVersionDao with an attached configuration - */ - public DatasetVersionDao(Configuration configuration) { - super(DatasetVersion.DATASET_VERSION, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.DatasetVersion.class, configuration); - } - - @Override - public UInteger getId(edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.DatasetVersion object) { - return object.getDvid(); - } - - /** - * Fetch records that have dvid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfDvid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(DatasetVersion.DATASET_VERSION.DVID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have dvid IN (values) - */ - public List fetchByDvid(UInteger... values) { - return fetch(DatasetVersion.DATASET_VERSION.DVID, values); - } - - /** - * Fetch a unique record that has dvid = value - */ - public edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.DatasetVersion fetchOneByDvid(UInteger value) { - return fetchOne(DatasetVersion.DATASET_VERSION.DVID, value); - } - - /** - * Fetch records that have did BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfDid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(DatasetVersion.DATASET_VERSION.DID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have did IN (values) - */ - public List fetchByDid(UInteger... values) { - return fetch(DatasetVersion.DATASET_VERSION.DID, values); - } - - /** - * Fetch records that have creator_uid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfCreatorUid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(DatasetVersion.DATASET_VERSION.CREATOR_UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have creator_uid IN (values) - */ - public List fetchByCreatorUid(UInteger... values) { - return fetch(DatasetVersion.DATASET_VERSION.CREATOR_UID, values); - } - - /** - * Fetch records that have name BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfName(String lowerInclusive, String upperInclusive) { - return fetchRange(DatasetVersion.DATASET_VERSION.NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have name IN (values) - */ - public List fetchByName(String... values) { - return fetch(DatasetVersion.DATASET_VERSION.NAME, values); - } - - /** - * Fetch records that have version_hash BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfVersionHash(String lowerInclusive, String upperInclusive) { - return fetchRange(DatasetVersion.DATASET_VERSION.VERSION_HASH, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have version_hash IN (values) - */ - public List fetchByVersionHash(String... values) { - return fetch(DatasetVersion.DATASET_VERSION.VERSION_HASH, values); - } - - /** - * Fetch records that have creation_time BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfCreationTime(Timestamp lowerInclusive, Timestamp upperInclusive) { - return fetchRange(DatasetVersion.DATASET_VERSION.CREATION_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have creation_time IN (values) - */ - public List fetchByCreationTime(Timestamp... values) { - return fetch(DatasetVersion.DATASET_VERSION.CREATION_TIME, values); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/ProjectDao.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/ProjectDao.java deleted file mode 100644 index e4b886d0c18..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/ProjectDao.java +++ /dev/null @@ -1,132 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.Project; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.ProjectRecord; -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class ProjectDao extends DAOImpl { - - /** - * Create a new ProjectDao without any configuration - */ - public ProjectDao() { - super(Project.PROJECT, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.Project.class); - } - - /** - * Create a new ProjectDao with an attached configuration - */ - public ProjectDao(Configuration configuration) { - super(Project.PROJECT, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.Project.class, configuration); - } - - @Override - public UInteger getId(edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.Project object) { - return object.getPid(); - } - - /** - * Fetch records that have pid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfPid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(Project.PROJECT.PID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have pid IN (values) - */ - public List fetchByPid(UInteger... values) { - return fetch(Project.PROJECT.PID, values); - } - - /** - * Fetch a unique record that has pid = value - */ - public edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.Project fetchOneByPid(UInteger value) { - return fetchOne(Project.PROJECT.PID, value); - } - - /** - * Fetch records that have name BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfName(String lowerInclusive, String upperInclusive) { - return fetchRange(Project.PROJECT.NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have name IN (values) - */ - public List fetchByName(String... values) { - return fetch(Project.PROJECT.NAME, values); - } - - /** - * Fetch records that have description BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfDescription(String lowerInclusive, String upperInclusive) { - return fetchRange(Project.PROJECT.DESCRIPTION, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have description IN (values) - */ - public List fetchByDescription(String... values) { - return fetch(Project.PROJECT.DESCRIPTION, values); - } - - /** - * Fetch records that have owner_id BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfOwnerId(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(Project.PROJECT.OWNER_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have owner_id IN (values) - */ - public List fetchByOwnerId(UInteger... values) { - return fetch(Project.PROJECT.OWNER_ID, values); - } - - /** - * Fetch records that have creation_time BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfCreationTime(Timestamp lowerInclusive, Timestamp upperInclusive) { - return fetchRange(Project.PROJECT.CREATION_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have creation_time IN (values) - */ - public List fetchByCreationTime(Timestamp... values) { - return fetch(Project.PROJECT.CREATION_TIME, values); - } - - /** - * Fetch records that have color BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfColor(String lowerInclusive, String upperInclusive) { - return fetchRange(Project.PROJECT.COLOR, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have color IN (values) - */ - public List fetchByColor(String... values) { - return fetch(Project.PROJECT.COLOR, values); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/ProjectUserAccessDao.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/ProjectUserAccessDao.java deleted file mode 100644 index 303df37a86f..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/ProjectUserAccessDao.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.web.model.jooq.generated.enums.ProjectUserAccessPrivilege; -import edu.uci.ics.texera.web.model.jooq.generated.tables.ProjectUserAccess; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.ProjectUserAccessRecord; -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; -import org.jooq.types.UInteger; - -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class ProjectUserAccessDao extends DAOImpl> { - - /** - * Create a new ProjectUserAccessDao without any configuration - */ - public ProjectUserAccessDao() { - super(ProjectUserAccess.PROJECT_USER_ACCESS, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.ProjectUserAccess.class); - } - - /** - * Create a new ProjectUserAccessDao with an attached configuration - */ - public ProjectUserAccessDao(Configuration configuration) { - super(ProjectUserAccess.PROJECT_USER_ACCESS, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.ProjectUserAccess.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.ProjectUserAccess object) { - return compositeKeyRecord(object.getUid(), object.getPid()); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfUid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(ProjectUserAccess.PROJECT_USER_ACCESS.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(UInteger... values) { - return fetch(ProjectUserAccess.PROJECT_USER_ACCESS.UID, values); - } - - /** - * Fetch records that have pid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfPid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(ProjectUserAccess.PROJECT_USER_ACCESS.PID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have pid IN (values) - */ - public List fetchByPid(UInteger... values) { - return fetch(ProjectUserAccess.PROJECT_USER_ACCESS.PID, values); - } - - /** - * Fetch records that have privilege BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfPrivilege(ProjectUserAccessPrivilege lowerInclusive, ProjectUserAccessPrivilege upperInclusive) { - return fetchRange(ProjectUserAccess.PROJECT_USER_ACCESS.PRIVILEGE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have privilege IN (values) - */ - public List fetchByPrivilege(ProjectUserAccessPrivilege... values) { - return fetch(ProjectUserAccess.PROJECT_USER_ACCESS.PRIVILEGE, values); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/PublicProjectDao.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/PublicProjectDao.java deleted file mode 100644 index 9379f81aec8..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/PublicProjectDao.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.PublicProject; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.PublicProjectRecord; -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.jooq.types.UInteger; - -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class PublicProjectDao extends DAOImpl { - - /** - * Create a new PublicProjectDao without any configuration - */ - public PublicProjectDao() { - super(PublicProject.PUBLIC_PROJECT, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.PublicProject.class); - } - - /** - * Create a new PublicProjectDao with an attached configuration - */ - public PublicProjectDao(Configuration configuration) { - super(PublicProject.PUBLIC_PROJECT, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.PublicProject.class, configuration); - } - - @Override - public UInteger getId(edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.PublicProject object) { - return object.getPid(); - } - - /** - * Fetch records that have pid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfPid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(PublicProject.PUBLIC_PROJECT.PID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have pid IN (values) - */ - public List fetchByPid(UInteger... values) { - return fetch(PublicProject.PUBLIC_PROJECT.PID, values); - } - - /** - * Fetch a unique record that has pid = value - */ - public edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.PublicProject fetchOneByPid(UInteger value) { - return fetchOne(PublicProject.PUBLIC_PROJECT.PID, value); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfUid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(PublicProject.PUBLIC_PROJECT.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(UInteger... values) { - return fetch(PublicProject.PUBLIC_PROJECT.UID, values); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/UserConfigDao.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/UserConfigDao.java deleted file mode 100644 index f11f8c58792..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/UserConfigDao.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.UserConfig; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.UserConfigRecord; -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; -import org.jooq.types.UInteger; - -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class UserConfigDao extends DAOImpl> { - - /** - * Create a new UserConfigDao without any configuration - */ - public UserConfigDao() { - super(UserConfig.USER_CONFIG, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.UserConfig.class); - } - - /** - * Create a new UserConfigDao with an attached configuration - */ - public UserConfigDao(Configuration configuration) { - super(UserConfig.USER_CONFIG, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.UserConfig.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.UserConfig object) { - return compositeKeyRecord(object.getUid(), object.getKey()); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfUid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(UserConfig.USER_CONFIG.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(UInteger... values) { - return fetch(UserConfig.USER_CONFIG.UID, values); - } - - /** - * Fetch records that have key BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfKey(String lowerInclusive, String upperInclusive) { - return fetchRange(UserConfig.USER_CONFIG.KEY, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have key IN (values) - */ - public List fetchByKey(String... values) { - return fetch(UserConfig.USER_CONFIG.KEY, values); - } - - /** - * Fetch records that have value BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfValue(String lowerInclusive, String upperInclusive) { - return fetchRange(UserConfig.USER_CONFIG.VALUE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have value IN (values) - */ - public List fetchByValue(String... values) { - return fetch(UserConfig.USER_CONFIG.VALUE, values); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/UserDao.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/UserDao.java deleted file mode 100644 index 450d728d7bd..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/UserDao.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole; -import edu.uci.ics.texera.web.model.jooq.generated.tables.User; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.UserRecord; -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.jooq.types.UInteger; - -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class UserDao extends DAOImpl { - - /** - * Create a new UserDao without any configuration - */ - public UserDao() { - super(User.USER, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User.class); - } - - /** - * Create a new UserDao with an attached configuration - */ - public UserDao(Configuration configuration) { - super(User.USER, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User.class, configuration); - } - - @Override - public UInteger getId(edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User object) { - return object.getUid(); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfUid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(User.USER.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(UInteger... values) { - return fetch(User.USER.UID, values); - } - - /** - * Fetch a unique record that has uid = value - */ - public edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User fetchOneByUid(UInteger value) { - return fetchOne(User.USER.UID, value); - } - - /** - * Fetch records that have name BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfName(String lowerInclusive, String upperInclusive) { - return fetchRange(User.USER.NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have name IN (values) - */ - public List fetchByName(String... values) { - return fetch(User.USER.NAME, values); - } - - /** - * Fetch records that have email BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfEmail(String lowerInclusive, String upperInclusive) { - return fetchRange(User.USER.EMAIL, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have email IN (values) - */ - public List fetchByEmail(String... values) { - return fetch(User.USER.EMAIL, values); - } - - /** - * Fetch a unique record that has email = value - */ - public edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User fetchOneByEmail(String value) { - return fetchOne(User.USER.EMAIL, value); - } - - /** - * Fetch records that have password BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfPassword(String lowerInclusive, String upperInclusive) { - return fetchRange(User.USER.PASSWORD, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have password IN (values) - */ - public List fetchByPassword(String... values) { - return fetch(User.USER.PASSWORD, values); - } - - /** - * Fetch records that have google_id BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfGoogleId(String lowerInclusive, String upperInclusive) { - return fetchRange(User.USER.GOOGLE_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have google_id IN (values) - */ - public List fetchByGoogleId(String... values) { - return fetch(User.USER.GOOGLE_ID, values); - } - - /** - * Fetch a unique record that has google_id = value - */ - public edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User fetchOneByGoogleId(String value) { - return fetchOne(User.USER.GOOGLE_ID, value); - } - - /** - * Fetch records that have role BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfRole(UserRole lowerInclusive, UserRole upperInclusive) { - return fetchRange(User.USER.ROLE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have role IN (values) - */ - public List fetchByRole(UserRole... values) { - return fetch(User.USER.ROLE, values); - } - - /** - * Fetch records that have google_avatar BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfGoogleAvatar(String lowerInclusive, String upperInclusive) { - return fetchRange(User.USER.GOOGLE_AVATAR, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have google_avatar IN (values) - */ - public List fetchByGoogleAvatar(String... values) { - return fetch(User.USER.GOOGLE_AVATAR, values); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowDao.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowDao.java deleted file mode 100644 index e79c7a834f6..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowDao.java +++ /dev/null @@ -1,146 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.Workflow; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowRecord; -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowDao extends DAOImpl { - - /** - * Create a new WorkflowDao without any configuration - */ - public WorkflowDao() { - super(Workflow.WORKFLOW, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.Workflow.class); - } - - /** - * Create a new WorkflowDao with an attached configuration - */ - public WorkflowDao(Configuration configuration) { - super(Workflow.WORKFLOW, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.Workflow.class, configuration); - } - - @Override - public UInteger getId(edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.Workflow object) { - return object.getWid(); - } - - /** - * Fetch records that have name BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfName(String lowerInclusive, String upperInclusive) { - return fetchRange(Workflow.WORKFLOW.NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have name IN (values) - */ - public List fetchByName(String... values) { - return fetch(Workflow.WORKFLOW.NAME, values); - } - - /** - * Fetch records that have description BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfDescription(String lowerInclusive, String upperInclusive) { - return fetchRange(Workflow.WORKFLOW.DESCRIPTION, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have description IN (values) - */ - public List fetchByDescription(String... values) { - return fetch(Workflow.WORKFLOW.DESCRIPTION, values); - } - - /** - * Fetch records that have wid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfWid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(Workflow.WORKFLOW.WID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wid IN (values) - */ - public List fetchByWid(UInteger... values) { - return fetch(Workflow.WORKFLOW.WID, values); - } - - /** - * Fetch a unique record that has wid = value - */ - public edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.Workflow fetchOneByWid(UInteger value) { - return fetchOne(Workflow.WORKFLOW.WID, value); - } - - /** - * Fetch records that have content BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfContent(String lowerInclusive, String upperInclusive) { - return fetchRange(Workflow.WORKFLOW.CONTENT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have content IN (values) - */ - public List fetchByContent(String... values) { - return fetch(Workflow.WORKFLOW.CONTENT, values); - } - - /** - * Fetch records that have creation_time BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfCreationTime(Timestamp lowerInclusive, Timestamp upperInclusive) { - return fetchRange(Workflow.WORKFLOW.CREATION_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have creation_time IN (values) - */ - public List fetchByCreationTime(Timestamp... values) { - return fetch(Workflow.WORKFLOW.CREATION_TIME, values); - } - - /** - * Fetch records that have last_modified_time BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfLastModifiedTime(Timestamp lowerInclusive, Timestamp upperInclusive) { - return fetchRange(Workflow.WORKFLOW.LAST_MODIFIED_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have last_modified_time IN (values) - */ - public List fetchByLastModifiedTime(Timestamp... values) { - return fetch(Workflow.WORKFLOW.LAST_MODIFIED_TIME, values); - } - - /** - * Fetch records that have is_published BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfIsPublished(Byte lowerInclusive, Byte upperInclusive) { - return fetchRange(Workflow.WORKFLOW.IS_PUBLISHED, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have is_published IN (values) - */ - public List fetchByIsPublished(Byte... values) { - return fetch(Workflow.WORKFLOW.IS_PUBLISHED, values); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowExecutionsDao.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowExecutionsDao.java deleted file mode 100644 index 195762f49d7..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowExecutionsDao.java +++ /dev/null @@ -1,202 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowExecutions; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowExecutionsRecord; -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowExecutionsDao extends DAOImpl { - - /** - * Create a new WorkflowExecutionsDao without any configuration - */ - public WorkflowExecutionsDao() { - super(WorkflowExecutions.WORKFLOW_EXECUTIONS, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowExecutions.class); - } - - /** - * Create a new WorkflowExecutionsDao with an attached configuration - */ - public WorkflowExecutionsDao(Configuration configuration) { - super(WorkflowExecutions.WORKFLOW_EXECUTIONS, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowExecutions.class, configuration); - } - - @Override - public UInteger getId(edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowExecutions object) { - return object.getEid(); - } - - /** - * Fetch records that have eid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfEid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.EID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have eid IN (values) - */ - public List fetchByEid(UInteger... values) { - return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.EID, values); - } - - /** - * Fetch a unique record that has eid = value - */ - public edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowExecutions fetchOneByEid(UInteger value) { - return fetchOne(WorkflowExecutions.WORKFLOW_EXECUTIONS.EID, value); - } - - /** - * Fetch records that have vid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfVid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.VID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have vid IN (values) - */ - public List fetchByVid(UInteger... values) { - return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.VID, values); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfUid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(UInteger... values) { - return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.UID, values); - } - - /** - * Fetch records that have status BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfStatus(Byte lowerInclusive, Byte upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.STATUS, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have status IN (values) - */ - public List fetchByStatus(Byte... values) { - return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.STATUS, values); - } - - /** - * Fetch records that have result BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfResult(String lowerInclusive, String upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.RESULT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have result IN (values) - */ - public List fetchByResult(String... values) { - return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.RESULT, values); - } - - /** - * Fetch records that have starting_time BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfStartingTime(Timestamp lowerInclusive, Timestamp upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.STARTING_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have starting_time IN (values) - */ - public List fetchByStartingTime(Timestamp... values) { - return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.STARTING_TIME, values); - } - - /** - * Fetch records that have last_update_time BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfLastUpdateTime(Timestamp lowerInclusive, Timestamp upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.LAST_UPDATE_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have last_update_time IN (values) - */ - public List fetchByLastUpdateTime(Timestamp... values) { - return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.LAST_UPDATE_TIME, values); - } - - /** - * Fetch records that have bookmarked BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfBookmarked(Byte lowerInclusive, Byte upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.BOOKMARKED, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have bookmarked IN (values) - */ - public List fetchByBookmarked(Byte... values) { - return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.BOOKMARKED, values); - } - - /** - * Fetch records that have name BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfName(String lowerInclusive, String upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have name IN (values) - */ - public List fetchByName(String... values) { - return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.NAME, values); - } - - /** - * Fetch records that have environment_version BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfEnvironmentVersion(String lowerInclusive, String upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.ENVIRONMENT_VERSION, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have environment_version IN (values) - */ - public List fetchByEnvironmentVersion(String... values) { - return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.ENVIRONMENT_VERSION, values); - } - - /** - * Fetch records that have log_location BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfLogLocation(String lowerInclusive, String upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.LOG_LOCATION, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have log_location IN (values) - */ - public List fetchByLogLocation(String... values) { - return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.LOG_LOCATION, values); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowOfProjectDao.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowOfProjectDao.java deleted file mode 100644 index 19952ed3d68..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowOfProjectDao.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowOfProject; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowOfProjectRecord; -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; -import org.jooq.types.UInteger; - -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowOfProjectDao extends DAOImpl> { - - /** - * Create a new WorkflowOfProjectDao without any configuration - */ - public WorkflowOfProjectDao() { - super(WorkflowOfProject.WORKFLOW_OF_PROJECT, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowOfProject.class); - } - - /** - * Create a new WorkflowOfProjectDao with an attached configuration - */ - public WorkflowOfProjectDao(Configuration configuration) { - super(WorkflowOfProject.WORKFLOW_OF_PROJECT, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowOfProject.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowOfProject object) { - return compositeKeyRecord(object.getWid(), object.getPid()); - } - - /** - * Fetch records that have wid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfWid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowOfProject.WORKFLOW_OF_PROJECT.WID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wid IN (values) - */ - public List fetchByWid(UInteger... values) { - return fetch(WorkflowOfProject.WORKFLOW_OF_PROJECT.WID, values); - } - - /** - * Fetch records that have pid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfPid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowOfProject.WORKFLOW_OF_PROJECT.PID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have pid IN (values) - */ - public List fetchByPid(UInteger... values) { - return fetch(WorkflowOfProject.WORKFLOW_OF_PROJECT.PID, values); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowOfUserDao.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowOfUserDao.java deleted file mode 100644 index a63d642d7b7..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowOfUserDao.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowOfUser; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowOfUserRecord; -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; -import org.jooq.types.UInteger; - -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowOfUserDao extends DAOImpl> { - - /** - * Create a new WorkflowOfUserDao without any configuration - */ - public WorkflowOfUserDao() { - super(WorkflowOfUser.WORKFLOW_OF_USER, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowOfUser.class); - } - - /** - * Create a new WorkflowOfUserDao with an attached configuration - */ - public WorkflowOfUserDao(Configuration configuration) { - super(WorkflowOfUser.WORKFLOW_OF_USER, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowOfUser.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowOfUser object) { - return compositeKeyRecord(object.getUid(), object.getWid()); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfUid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowOfUser.WORKFLOW_OF_USER.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(UInteger... values) { - return fetch(WorkflowOfUser.WORKFLOW_OF_USER.UID, values); - } - - /** - * Fetch records that have wid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfWid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowOfUser.WORKFLOW_OF_USER.WID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wid IN (values) - */ - public List fetchByWid(UInteger... values) { - return fetch(WorkflowOfUser.WORKFLOW_OF_USER.WID, values); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowRuntimeStatisticsDao.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowRuntimeStatisticsDao.java deleted file mode 100644 index 4aad3529311..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowRuntimeStatisticsDao.java +++ /dev/null @@ -1,197 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowRuntimeStatistics; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowRuntimeStatisticsRecord; -import org.jooq.Configuration; -import org.jooq.Record4; -import org.jooq.impl.DAOImpl; -import org.jooq.types.UInteger; -import org.jooq.types.ULong; - -import java.sql.Timestamp; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowRuntimeStatisticsDao extends DAOImpl> { - - /** - * Create a new WorkflowRuntimeStatisticsDao without any configuration - */ - public WorkflowRuntimeStatisticsDao() { - super(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowRuntimeStatistics.class); - } - - /** - * Create a new WorkflowRuntimeStatisticsDao with an attached configuration - */ - public WorkflowRuntimeStatisticsDao(Configuration configuration) { - super(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowRuntimeStatistics.class, configuration); - } - - @Override - public Record4 getId(edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowRuntimeStatistics object) { - return compositeKeyRecord(object.getWorkflowId(), object.getExecutionId(), object.getOperatorId(), object.getTime()); - } - - /** - * Fetch records that have workflow_id BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfWorkflowId(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.WORKFLOW_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have workflow_id IN (values) - */ - public List fetchByWorkflowId(UInteger... values) { - return fetch(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.WORKFLOW_ID, values); - } - - /** - * Fetch records that have execution_id BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfExecutionId(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.EXECUTION_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have execution_id IN (values) - */ - public List fetchByExecutionId(UInteger... values) { - return fetch(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.EXECUTION_ID, values); - } - - /** - * Fetch records that have operator_id BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfOperatorId(String lowerInclusive, String upperInclusive) { - return fetchRange(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.OPERATOR_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have operator_id IN (values) - */ - public List fetchByOperatorId(String... values) { - return fetch(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.OPERATOR_ID, values); - } - - /** - * Fetch records that have time BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfTime(Timestamp lowerInclusive, Timestamp upperInclusive) { - return fetchRange(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have time IN (values) - */ - public List fetchByTime(Timestamp... values) { - return fetch(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.TIME, values); - } - - /** - * Fetch records that have input_tuple_cnt BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfInputTupleCnt(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.INPUT_TUPLE_CNT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have input_tuple_cnt IN (values) - */ - public List fetchByInputTupleCnt(UInteger... values) { - return fetch(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.INPUT_TUPLE_CNT, values); - } - - /** - * Fetch records that have output_tuple_cnt BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfOutputTupleCnt(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.OUTPUT_TUPLE_CNT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have output_tuple_cnt IN (values) - */ - public List fetchByOutputTupleCnt(UInteger... values) { - return fetch(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.OUTPUT_TUPLE_CNT, values); - } - - /** - * Fetch records that have status BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfStatus(Byte lowerInclusive, Byte upperInclusive) { - return fetchRange(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.STATUS, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have status IN (values) - */ - public List fetchByStatus(Byte... values) { - return fetch(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.STATUS, values); - } - - /** - * Fetch records that have data_processing_time BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfDataProcessingTime(ULong lowerInclusive, ULong upperInclusive) { - return fetchRange(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.DATA_PROCESSING_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have data_processing_time IN (values) - */ - public List fetchByDataProcessingTime(ULong... values) { - return fetch(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.DATA_PROCESSING_TIME, values); - } - - /** - * Fetch records that have control_processing_time BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfControlProcessingTime(ULong lowerInclusive, ULong upperInclusive) { - return fetchRange(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.CONTROL_PROCESSING_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have control_processing_time IN (values) - */ - public List fetchByControlProcessingTime(ULong... values) { - return fetch(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.CONTROL_PROCESSING_TIME, values); - } - - /** - * Fetch records that have idle_time BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfIdleTime(ULong lowerInclusive, ULong upperInclusive) { - return fetchRange(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.IDLE_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have idle_time IN (values) - */ - public List fetchByIdleTime(ULong... values) { - return fetch(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.IDLE_TIME, values); - } - - /** - * Fetch records that have num_workers BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfNumWorkers(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.NUM_WORKERS, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have num_workers IN (values) - */ - public List fetchByNumWorkers(UInteger... values) { - return fetch(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.NUM_WORKERS, values); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowUserAccessDao.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowUserAccessDao.java deleted file mode 100644 index 33691f02f5c..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowUserAccessDao.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.web.model.jooq.generated.enums.WorkflowUserAccessPrivilege; -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowUserAccess; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowUserAccessRecord; -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; -import org.jooq.types.UInteger; - -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowUserAccessDao extends DAOImpl> { - - /** - * Create a new WorkflowUserAccessDao without any configuration - */ - public WorkflowUserAccessDao() { - super(WorkflowUserAccess.WORKFLOW_USER_ACCESS, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowUserAccess.class); - } - - /** - * Create a new WorkflowUserAccessDao with an attached configuration - */ - public WorkflowUserAccessDao(Configuration configuration) { - super(WorkflowUserAccess.WORKFLOW_USER_ACCESS, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowUserAccess.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowUserAccess object) { - return compositeKeyRecord(object.getUid(), object.getWid()); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfUid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowUserAccess.WORKFLOW_USER_ACCESS.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(UInteger... values) { - return fetch(WorkflowUserAccess.WORKFLOW_USER_ACCESS.UID, values); - } - - /** - * Fetch records that have wid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfWid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wid IN (values) - */ - public List fetchByWid(UInteger... values) { - return fetch(WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID, values); - } - - /** - * Fetch records that have privilege BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfPrivilege(WorkflowUserAccessPrivilege lowerInclusive, WorkflowUserAccessPrivilege upperInclusive) { - return fetchRange(WorkflowUserAccess.WORKFLOW_USER_ACCESS.PRIVILEGE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have privilege IN (values) - */ - public List fetchByPrivilege(WorkflowUserAccessPrivilege... values) { - return fetch(WorkflowUserAccess.WORKFLOW_USER_ACCESS.PRIVILEGE, values); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowUserClonesDao.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowUserClonesDao.java deleted file mode 100644 index 8336a6132f8..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowUserClonesDao.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowUserClones; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowUserClonesRecord; -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; -import org.jooq.types.UInteger; - -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowUserClonesDao extends DAOImpl> { - - /** - * Create a new WorkflowUserClonesDao without any configuration - */ - public WorkflowUserClonesDao() { - super(WorkflowUserClones.WORKFLOW_USER_CLONES, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowUserClones.class); - } - - /** - * Create a new WorkflowUserClonesDao with an attached configuration - */ - public WorkflowUserClonesDao(Configuration configuration) { - super(WorkflowUserClones.WORKFLOW_USER_CLONES, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowUserClones.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowUserClones object) { - return compositeKeyRecord(object.getUid(), object.getWid()); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfUid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowUserClones.WORKFLOW_USER_CLONES.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(UInteger... values) { - return fetch(WorkflowUserClones.WORKFLOW_USER_CLONES.UID, values); - } - - /** - * Fetch records that have wid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfWid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowUserClones.WORKFLOW_USER_CLONES.WID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wid IN (values) - */ - public List fetchByWid(UInteger... values) { - return fetch(WorkflowUserClones.WORKFLOW_USER_CLONES.WID, values); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowUserLikesDao.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowUserLikesDao.java deleted file mode 100644 index 2850bcb90c9..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowUserLikesDao.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowUserLikes; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowUserLikesRecord; -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; -import org.jooq.types.UInteger; - -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowUserLikesDao extends DAOImpl> { - - /** - * Create a new WorkflowUserLikesDao without any configuration - */ - public WorkflowUserLikesDao() { - super(WorkflowUserLikes.WORKFLOW_USER_LIKES, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowUserLikes.class); - } - - /** - * Create a new WorkflowUserLikesDao with an attached configuration - */ - public WorkflowUserLikesDao(Configuration configuration) { - super(WorkflowUserLikes.WORKFLOW_USER_LIKES, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowUserLikes.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowUserLikes object) { - return compositeKeyRecord(object.getUid(), object.getWid()); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfUid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowUserLikes.WORKFLOW_USER_LIKES.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(UInteger... values) { - return fetch(WorkflowUserLikes.WORKFLOW_USER_LIKES.UID, values); - } - - /** - * Fetch records that have wid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfWid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowUserLikes.WORKFLOW_USER_LIKES.WID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wid IN (values) - */ - public List fetchByWid(UInteger... values) { - return fetch(WorkflowUserLikes.WORKFLOW_USER_LIKES.WID, values); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowVersionDao.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowVersionDao.java deleted file mode 100644 index b86ce7cde36..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowVersionDao.java +++ /dev/null @@ -1,104 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowVersion; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowVersionRecord; -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowVersionDao extends DAOImpl { - - /** - * Create a new WorkflowVersionDao without any configuration - */ - public WorkflowVersionDao() { - super(WorkflowVersion.WORKFLOW_VERSION, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowVersion.class); - } - - /** - * Create a new WorkflowVersionDao with an attached configuration - */ - public WorkflowVersionDao(Configuration configuration) { - super(WorkflowVersion.WORKFLOW_VERSION, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowVersion.class, configuration); - } - - @Override - public UInteger getId(edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowVersion object) { - return object.getVid(); - } - - /** - * Fetch records that have vid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfVid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowVersion.WORKFLOW_VERSION.VID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have vid IN (values) - */ - public List fetchByVid(UInteger... values) { - return fetch(WorkflowVersion.WORKFLOW_VERSION.VID, values); - } - - /** - * Fetch a unique record that has vid = value - */ - public edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowVersion fetchOneByVid(UInteger value) { - return fetchOne(WorkflowVersion.WORKFLOW_VERSION.VID, value); - } - - /** - * Fetch records that have wid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfWid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowVersion.WORKFLOW_VERSION.WID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wid IN (values) - */ - public List fetchByWid(UInteger... values) { - return fetch(WorkflowVersion.WORKFLOW_VERSION.WID, values); - } - - /** - * Fetch records that have content BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfContent(String lowerInclusive, String upperInclusive) { - return fetchRange(WorkflowVersion.WORKFLOW_VERSION.CONTENT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have content IN (values) - */ - public List fetchByContent(String... values) { - return fetch(WorkflowVersion.WORKFLOW_VERSION.CONTENT, values); - } - - /** - * Fetch records that have creation_time BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfCreationTime(Timestamp lowerInclusive, Timestamp upperInclusive) { - return fetchRange(WorkflowVersion.WORKFLOW_VERSION.CREATION_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have creation_time IN (values) - */ - public List fetchByCreationTime(Timestamp... values) { - return fetch(WorkflowVersion.WORKFLOW_VERSION.CREATION_TIME, values); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowViewCountDao.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowViewCountDao.java deleted file mode 100644 index 1f7bf7f06e4..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/daos/WorkflowViewCountDao.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowViewCount; -import edu.uci.ics.texera.web.model.jooq.generated.tables.records.WorkflowViewCountRecord; -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; -import org.jooq.types.UInteger; - -import java.util.List; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowViewCountDao extends DAOImpl { - - /** - * Create a new WorkflowViewCountDao without any configuration - */ - public WorkflowViewCountDao() { - super(WorkflowViewCount.WORKFLOW_VIEW_COUNT, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowViewCount.class); - } - - /** - * Create a new WorkflowViewCountDao with an attached configuration - */ - public WorkflowViewCountDao(Configuration configuration) { - super(WorkflowViewCount.WORKFLOW_VIEW_COUNT, edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowViewCount.class, configuration); - } - - @Override - public UInteger getId(edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowViewCount object) { - return object.getWid(); - } - - /** - * Fetch records that have wid BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfWid(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wid IN (values) - */ - public List fetchByWid(UInteger... values) { - return fetch(WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID, values); - } - - /** - * Fetch a unique record that has wid = value - */ - public edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowViewCount fetchOneByWid(UInteger value) { - return fetchOne(WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID, value); - } - - /** - * Fetch records that have view_count BETWEEN lowerInclusive AND upperInclusive - */ - public List fetchRangeOfViewCount(UInteger lowerInclusive, UInteger upperInclusive) { - return fetchRange(WorkflowViewCount.WORKFLOW_VIEW_COUNT.VIEW_COUNT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have view_count IN (values) - */ - public List fetchByViewCount(UInteger... values) { - return fetch(WorkflowViewCount.WORKFLOW_VIEW_COUNT.VIEW_COUNT, values); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IDataset.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IDataset.java deleted file mode 100644 index 43a968213b3..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IDataset.java +++ /dev/null @@ -1,92 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import org.jooq.types.UInteger; - -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 texera_db.dataset.did. - */ - public void setDid(UInteger value); - - /** - * Getter for texera_db.dataset.did. - */ - public UInteger getDid(); - - /** - * Setter for texera_db.dataset.owner_uid. - */ - public void setOwnerUid(UInteger value); - - /** - * Getter for texera_db.dataset.owner_uid. - */ - public UInteger getOwnerUid(); - - /** - * Setter for texera_db.dataset.name. - */ - public void setName(String value); - - /** - * Getter for texera_db.dataset.name. - */ - public String getName(); - - /** - * Setter for texera_db.dataset.is_public. - */ - public void setIsPublic(Byte value); - - /** - * Getter for texera_db.dataset.is_public. - */ - public Byte getIsPublic(); - - /** - * Setter for texera_db.dataset.description. - */ - public void setDescription(String value); - - /** - * Getter for texera_db.dataset.description. - */ - public String getDescription(); - - /** - * Setter for texera_db.dataset.creation_time. - */ - public void setCreationTime(Timestamp value); - - /** - * Getter for texera_db.dataset.creation_time. - */ - public Timestamp getCreationTime(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IDataset - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IDataset from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IDataset - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IDatasetUserAccess.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IDatasetUserAccess.java deleted file mode 100644 index 7b6a5873811..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IDatasetUserAccess.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import edu.uci.ics.texera.web.model.jooq.generated.enums.DatasetUserAccessPrivilege; -import org.jooq.types.UInteger; - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public interface IDatasetUserAccess extends Serializable { - - /** - * Setter for texera_db.dataset_user_access.did. - */ - public void setDid(UInteger value); - - /** - * Getter for texera_db.dataset_user_access.did. - */ - public UInteger getDid(); - - /** - * Setter for texera_db.dataset_user_access.uid. - */ - public void setUid(UInteger value); - - /** - * Getter for texera_db.dataset_user_access.uid. - */ - public UInteger getUid(); - - /** - * Setter for texera_db.dataset_user_access.privilege. - */ - public void setPrivilege(DatasetUserAccessPrivilege value); - - /** - * Getter for texera_db.dataset_user_access.privilege. - */ - public DatasetUserAccessPrivilege getPrivilege(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IDatasetUserAccess - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IDatasetUserAccess from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IDatasetUserAccess - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IDatasetVersion.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IDatasetVersion.java deleted file mode 100644 index 8ae17ed9fc2..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IDatasetVersion.java +++ /dev/null @@ -1,92 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import org.jooq.types.UInteger; - -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 texera_db.dataset_version.dvid. - */ - public void setDvid(UInteger value); - - /** - * Getter for texera_db.dataset_version.dvid. - */ - public UInteger getDvid(); - - /** - * Setter for texera_db.dataset_version.did. - */ - public void setDid(UInteger value); - - /** - * Getter for texera_db.dataset_version.did. - */ - public UInteger getDid(); - - /** - * Setter for texera_db.dataset_version.creator_uid. - */ - public void setCreatorUid(UInteger value); - - /** - * Getter for texera_db.dataset_version.creator_uid. - */ - public UInteger getCreatorUid(); - - /** - * Setter for texera_db.dataset_version.name. - */ - public void setName(String value); - - /** - * Getter for texera_db.dataset_version.name. - */ - public String getName(); - - /** - * Setter for texera_db.dataset_version.version_hash. - */ - public void setVersionHash(String value); - - /** - * Getter for texera_db.dataset_version.version_hash. - */ - public String getVersionHash(); - - /** - * Setter for texera_db.dataset_version.creation_time. - */ - public void setCreationTime(Timestamp value); - - /** - * Getter for texera_db.dataset_version.creation_time. - */ - public Timestamp getCreationTime(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IDatasetVersion - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IDatasetVersion from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IDatasetVersion - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IProject.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IProject.java deleted file mode 100644 index 9a7ef8df403..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IProject.java +++ /dev/null @@ -1,92 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import org.jooq.types.UInteger; - -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 texera_db.project.pid. - */ - public void setPid(UInteger value); - - /** - * Getter for texera_db.project.pid. - */ - public UInteger getPid(); - - /** - * Setter for texera_db.project.name. - */ - public void setName(String value); - - /** - * Getter for texera_db.project.name. - */ - public String getName(); - - /** - * Setter for texera_db.project.description. - */ - public void setDescription(String value); - - /** - * Getter for texera_db.project.description. - */ - public String getDescription(); - - /** - * Setter for texera_db.project.owner_id. - */ - public void setOwnerId(UInteger value); - - /** - * Getter for texera_db.project.owner_id. - */ - public UInteger getOwnerId(); - - /** - * Setter for texera_db.project.creation_time. - */ - public void setCreationTime(Timestamp value); - - /** - * Getter for texera_db.project.creation_time. - */ - public Timestamp getCreationTime(); - - /** - * Setter for texera_db.project.color. - */ - public void setColor(String value); - - /** - * Getter for texera_db.project.color. - */ - public String getColor(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IProject - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IProject from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IProject - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IProjectUserAccess.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IProjectUserAccess.java deleted file mode 100644 index 5816ab90e09..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IProjectUserAccess.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import edu.uci.ics.texera.web.model.jooq.generated.enums.ProjectUserAccessPrivilege; -import org.jooq.types.UInteger; - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public interface IProjectUserAccess extends Serializable { - - /** - * Setter for texera_db.project_user_access.uid. - */ - public void setUid(UInteger value); - - /** - * Getter for texera_db.project_user_access.uid. - */ - public UInteger getUid(); - - /** - * Setter for texera_db.project_user_access.pid. - */ - public void setPid(UInteger value); - - /** - * Getter for texera_db.project_user_access.pid. - */ - public UInteger getPid(); - - /** - * Setter for texera_db.project_user_access.privilege. - */ - public void setPrivilege(ProjectUserAccessPrivilege value); - - /** - * Getter for texera_db.project_user_access.privilege. - */ - public ProjectUserAccessPrivilege getPrivilege(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IProjectUserAccess - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IProjectUserAccess from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IProjectUserAccess - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IPublicProject.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IPublicProject.java deleted file mode 100644 index 7bda5c24c99..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IPublicProject.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import org.jooq.types.UInteger; - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public interface IPublicProject extends Serializable { - - /** - * Setter for texera_db.public_project.pid. - */ - public void setPid(UInteger value); - - /** - * Getter for texera_db.public_project.pid. - */ - public UInteger getPid(); - - /** - * Setter for texera_db.public_project.uid. - */ - public void setUid(UInteger value); - - /** - * Getter for texera_db.public_project.uid. - */ - public UInteger getUid(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IPublicProject - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IPublicProject from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IPublicProject - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IUser.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IUser.java deleted file mode 100644 index 6efafbd9108..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IUser.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole; -import org.jooq.types.UInteger; - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public interface IUser extends Serializable { - - /** - * Setter for texera_db.user.uid. - */ - public void setUid(UInteger value); - - /** - * Getter for texera_db.user.uid. - */ - public UInteger getUid(); - - /** - * Setter for texera_db.user.name. - */ - public void setName(String value); - - /** - * Getter for texera_db.user.name. - */ - public String getName(); - - /** - * Setter for texera_db.user.email. - */ - public void setEmail(String value); - - /** - * Getter for texera_db.user.email. - */ - public String getEmail(); - - /** - * Setter for texera_db.user.password. - */ - public void setPassword(String value); - - /** - * Getter for texera_db.user.password. - */ - public String getPassword(); - - /** - * Setter for texera_db.user.google_id. - */ - public void setGoogleId(String value); - - /** - * Getter for texera_db.user.google_id. - */ - public String getGoogleId(); - - /** - * Setter for texera_db.user.role. - */ - public void setRole(UserRole value); - - /** - * Getter for texera_db.user.role. - */ - public UserRole getRole(); - - /** - * Setter for texera_db.user.google_avatar. - */ - public void setGoogleAvatar(String value); - - /** - * Getter for texera_db.user.google_avatar. - */ - public String getGoogleAvatar(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IUser - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IUser from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IUser - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IUserConfig.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IUserConfig.java deleted file mode 100644 index 2bd1780741d..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IUserConfig.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import org.jooq.types.UInteger; - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public interface IUserConfig extends Serializable { - - /** - * Setter for texera_db.user_config.uid. - */ - public void setUid(UInteger value); - - /** - * Getter for texera_db.user_config.uid. - */ - public UInteger getUid(); - - /** - * Setter for texera_db.user_config.key. - */ - public void setKey(String value); - - /** - * Getter for texera_db.user_config.key. - */ - public String getKey(); - - /** - * Setter for texera_db.user_config.value. - */ - public void setValue(String value); - - /** - * Getter for texera_db.user_config.value. - */ - public String getValue(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IUserConfig - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IUserConfig from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IUserConfig - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflow.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflow.java deleted file mode 100644 index e79c8afa2e8..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflow.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import org.jooq.types.UInteger; - -import java.io.Serializable; -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public interface IWorkflow extends Serializable { - - /** - * Setter for texera_db.workflow.name. - */ - public void setName(String value); - - /** - * Getter for texera_db.workflow.name. - */ - public String getName(); - - /** - * Setter for texera_db.workflow.description. - */ - public void setDescription(String value); - - /** - * Getter for texera_db.workflow.description. - */ - public String getDescription(); - - /** - * Setter for texera_db.workflow.wid. - */ - public void setWid(UInteger value); - - /** - * Getter for texera_db.workflow.wid. - */ - public UInteger getWid(); - - /** - * Setter for texera_db.workflow.content. - */ - public void setContent(String value); - - /** - * Getter for texera_db.workflow.content. - */ - public String getContent(); - - /** - * Setter for texera_db.workflow.creation_time. - */ - public void setCreationTime(Timestamp value); - - /** - * Getter for texera_db.workflow.creation_time. - */ - public Timestamp getCreationTime(); - - /** - * Setter for texera_db.workflow.last_modified_time. - */ - public void setLastModifiedTime(Timestamp value); - - /** - * Getter for texera_db.workflow.last_modified_time. - */ - public Timestamp getLastModifiedTime(); - - /** - * Setter for texera_db.workflow.is_published. - */ - public void setIsPublished(Byte value); - - /** - * Getter for texera_db.workflow.is_published. - */ - public Byte getIsPublished(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IWorkflow - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflow from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IWorkflow - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowExecutions.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowExecutions.java deleted file mode 100644 index c69e3ad84c3..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowExecutions.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import org.jooq.types.UInteger; - -import java.io.Serializable; -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public interface IWorkflowExecutions extends Serializable { - - /** - * Setter for texera_db.workflow_executions.eid. - */ - public void setEid(UInteger value); - - /** - * Getter for texera_db.workflow_executions.eid. - */ - public UInteger getEid(); - - /** - * Setter for texera_db.workflow_executions.vid. - */ - public void setVid(UInteger value); - - /** - * Getter for texera_db.workflow_executions.vid. - */ - public UInteger getVid(); - - /** - * Setter for texera_db.workflow_executions.uid. - */ - public void setUid(UInteger value); - - /** - * Getter for texera_db.workflow_executions.uid. - */ - public UInteger getUid(); - - /** - * Setter for texera_db.workflow_executions.status. - */ - public void setStatus(Byte value); - - /** - * Getter for texera_db.workflow_executions.status. - */ - public Byte getStatus(); - - /** - * Setter for texera_db.workflow_executions.result. - */ - public void setResult(String value); - - /** - * Getter for texera_db.workflow_executions.result. - */ - public String getResult(); - - /** - * Setter for texera_db.workflow_executions.starting_time. - */ - public void setStartingTime(Timestamp value); - - /** - * Getter for texera_db.workflow_executions.starting_time. - */ - public Timestamp getStartingTime(); - - /** - * Setter for texera_db.workflow_executions.last_update_time. - */ - public void setLastUpdateTime(Timestamp value); - - /** - * Getter for texera_db.workflow_executions.last_update_time. - */ - public Timestamp getLastUpdateTime(); - - /** - * Setter for texera_db.workflow_executions.bookmarked. - */ - public void setBookmarked(Byte value); - - /** - * Getter for texera_db.workflow_executions.bookmarked. - */ - public Byte getBookmarked(); - - /** - * Setter for texera_db.workflow_executions.name. - */ - public void setName(String value); - - /** - * Getter for texera_db.workflow_executions.name. - */ - public String getName(); - - /** - * Setter for texera_db.workflow_executions.environment_version. - */ - public void setEnvironmentVersion(String value); - - /** - * Getter for texera_db.workflow_executions.environment_version. - */ - public String getEnvironmentVersion(); - - /** - * Setter for texera_db.workflow_executions.log_location. - */ - public void setLogLocation(String value); - - /** - * Getter for texera_db.workflow_executions.log_location. - */ - public String getLogLocation(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IWorkflowExecutions - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowExecutions from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IWorkflowExecutions - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowOfProject.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowOfProject.java deleted file mode 100644 index e0f1f5fcb3d..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowOfProject.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import org.jooq.types.UInteger; - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public interface IWorkflowOfProject extends Serializable { - - /** - * Setter for texera_db.workflow_of_project.wid. - */ - public void setWid(UInteger value); - - /** - * Getter for texera_db.workflow_of_project.wid. - */ - public UInteger getWid(); - - /** - * Setter for texera_db.workflow_of_project.pid. - */ - public void setPid(UInteger value); - - /** - * Getter for texera_db.workflow_of_project.pid. - */ - public UInteger getPid(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IWorkflowOfProject - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowOfProject from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IWorkflowOfProject - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowOfUser.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowOfUser.java deleted file mode 100644 index 9620589aac3..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowOfUser.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import org.jooq.types.UInteger; - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public interface IWorkflowOfUser extends Serializable { - - /** - * Setter for texera_db.workflow_of_user.uid. - */ - public void setUid(UInteger value); - - /** - * Getter for texera_db.workflow_of_user.uid. - */ - public UInteger getUid(); - - /** - * Setter for texera_db.workflow_of_user.wid. - */ - public void setWid(UInteger value); - - /** - * Getter for texera_db.workflow_of_user.wid. - */ - public UInteger getWid(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IWorkflowOfUser - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowOfUser from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IWorkflowOfUser - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowRuntimeStatistics.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowRuntimeStatistics.java deleted file mode 100644 index a9ec75b6b0a..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowRuntimeStatistics.java +++ /dev/null @@ -1,143 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import org.jooq.types.UInteger; -import org.jooq.types.ULong; - -import java.io.Serializable; -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public interface IWorkflowRuntimeStatistics extends Serializable { - - /** - * Setter for texera_db.workflow_runtime_statistics.workflow_id. - */ - public void setWorkflowId(UInteger value); - - /** - * Getter for texera_db.workflow_runtime_statistics.workflow_id. - */ - public UInteger getWorkflowId(); - - /** - * Setter for texera_db.workflow_runtime_statistics.execution_id. - */ - public void setExecutionId(UInteger value); - - /** - * Getter for texera_db.workflow_runtime_statistics.execution_id. - */ - public UInteger getExecutionId(); - - /** - * Setter for texera_db.workflow_runtime_statistics.operator_id. - */ - public void setOperatorId(String value); - - /** - * Getter for texera_db.workflow_runtime_statistics.operator_id. - */ - public String getOperatorId(); - - /** - * Setter for texera_db.workflow_runtime_statistics.time. - */ - public void setTime(Timestamp value); - - /** - * Getter for texera_db.workflow_runtime_statistics.time. - */ - public Timestamp getTime(); - - /** - * Setter for texera_db.workflow_runtime_statistics.input_tuple_cnt. - */ - public void setInputTupleCnt(UInteger value); - - /** - * Getter for texera_db.workflow_runtime_statistics.input_tuple_cnt. - */ - public UInteger getInputTupleCnt(); - - /** - * Setter for texera_db.workflow_runtime_statistics.output_tuple_cnt. - */ - public void setOutputTupleCnt(UInteger value); - - /** - * Getter for texera_db.workflow_runtime_statistics.output_tuple_cnt. - */ - public UInteger getOutputTupleCnt(); - - /** - * Setter for texera_db.workflow_runtime_statistics.status. - */ - public void setStatus(Byte value); - - /** - * Getter for texera_db.workflow_runtime_statistics.status. - */ - public Byte getStatus(); - - /** - * Setter for texera_db.workflow_runtime_statistics.data_processing_time. - */ - public void setDataProcessingTime(ULong value); - - /** - * Getter for texera_db.workflow_runtime_statistics.data_processing_time. - */ - public ULong getDataProcessingTime(); - - /** - * Setter for texera_db.workflow_runtime_statistics.control_processing_time. - */ - public void setControlProcessingTime(ULong value); - - /** - * Getter for texera_db.workflow_runtime_statistics.control_processing_time. - */ - public ULong getControlProcessingTime(); - - /** - * Setter for texera_db.workflow_runtime_statistics.idle_time. - */ - public void setIdleTime(ULong value); - - /** - * Getter for texera_db.workflow_runtime_statistics.idle_time. - */ - public ULong getIdleTime(); - - /** - * Setter for texera_db.workflow_runtime_statistics.num_workers. - */ - public void setNumWorkers(UInteger value); - - /** - * Getter for texera_db.workflow_runtime_statistics.num_workers. - */ - public UInteger getNumWorkers(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IWorkflowRuntimeStatistics - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowRuntimeStatistics from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IWorkflowRuntimeStatistics - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserAccess.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserAccess.java deleted file mode 100644 index bf23795ab5f..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserAccess.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import edu.uci.ics.texera.web.model.jooq.generated.enums.WorkflowUserAccessPrivilege; -import org.jooq.types.UInteger; - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public interface IWorkflowUserAccess extends Serializable { - - /** - * Setter for texera_db.workflow_user_access.uid. - */ - public void setUid(UInteger value); - - /** - * Getter for texera_db.workflow_user_access.uid. - */ - public UInteger getUid(); - - /** - * Setter for texera_db.workflow_user_access.wid. - */ - public void setWid(UInteger value); - - /** - * Getter for texera_db.workflow_user_access.wid. - */ - public UInteger getWid(); - - /** - * Setter for texera_db.workflow_user_access.privilege. - */ - public void setPrivilege(WorkflowUserAccessPrivilege value); - - /** - * Getter for texera_db.workflow_user_access.privilege. - */ - public WorkflowUserAccessPrivilege getPrivilege(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IWorkflowUserAccess - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowUserAccess from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IWorkflowUserAccess - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserActivity.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserActivity.java deleted file mode 100644 index bf9cfa48b66..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserActivity.java +++ /dev/null @@ -1,82 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import org.jooq.types.UInteger; - -import java.io.Serializable; -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public interface IWorkflowUserActivity extends Serializable { - - /** - * Setter for texera_db.workflow_user_activity.uid. - */ - public void setUid(UInteger value); - - /** - * Getter for texera_db.workflow_user_activity.uid. - */ - public UInteger getUid(); - - /** - * Setter for texera_db.workflow_user_activity.wid. - */ - public void setWid(UInteger value); - - /** - * Getter for texera_db.workflow_user_activity.wid. - */ - public UInteger getWid(); - - /** - * Setter for texera_db.workflow_user_activity.ip. - */ - public void setIp(String value); - - /** - * Getter for texera_db.workflow_user_activity.ip. - */ - public String getIp(); - - /** - * Setter for texera_db.workflow_user_activity.activate. - */ - public void setActivate(String value); - - /** - * Getter for texera_db.workflow_user_activity.activate. - */ - public String getActivate(); - - /** - * Setter for texera_db.workflow_user_activity.activity_time. - */ - public void setActivityTime(Timestamp value); - - /** - * Getter for texera_db.workflow_user_activity.activity_time. - */ - public Timestamp getActivityTime(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IWorkflowUserActivity - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowUserActivity from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IWorkflowUserActivity - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserClones.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserClones.java deleted file mode 100644 index 5bb77c3d4c8..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserClones.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import org.jooq.types.UInteger; - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public interface IWorkflowUserClones extends Serializable { - - /** - * Setter for texera_db.workflow_user_clones.uid. - */ - public void setUid(UInteger value); - - /** - * Getter for texera_db.workflow_user_clones.uid. - */ - public UInteger getUid(); - - /** - * Setter for texera_db.workflow_user_clones.wid. - */ - public void setWid(UInteger value); - - /** - * Getter for texera_db.workflow_user_clones.wid. - */ - public UInteger getWid(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IWorkflowUserClones - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowUserClones from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IWorkflowUserClones - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserLikes.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserLikes.java deleted file mode 100644 index ae5a5c739e1..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowUserLikes.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import org.jooq.types.UInteger; - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public interface IWorkflowUserLikes extends Serializable { - - /** - * Setter for texera_db.workflow_user_likes.uid. - */ - public void setUid(UInteger value); - - /** - * Getter for texera_db.workflow_user_likes.uid. - */ - public UInteger getUid(); - - /** - * Setter for texera_db.workflow_user_likes.wid. - */ - public void setWid(UInteger value); - - /** - * Getter for texera_db.workflow_user_likes.wid. - */ - public UInteger getWid(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IWorkflowUserLikes - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowUserLikes from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IWorkflowUserLikes - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowVersion.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowVersion.java deleted file mode 100644 index 37b39da1890..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowVersion.java +++ /dev/null @@ -1,72 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import org.jooq.types.UInteger; - -import java.io.Serializable; -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public interface IWorkflowVersion extends Serializable { - - /** - * Setter for texera_db.workflow_version.vid. - */ - public void setVid(UInteger value); - - /** - * Getter for texera_db.workflow_version.vid. - */ - public UInteger getVid(); - - /** - * Setter for texera_db.workflow_version.wid. - */ - public void setWid(UInteger value); - - /** - * Getter for texera_db.workflow_version.wid. - */ - public UInteger getWid(); - - /** - * Setter for texera_db.workflow_version.content. - */ - public void setContent(String value); - - /** - * Getter for texera_db.workflow_version.content. - */ - public String getContent(); - - /** - * Setter for texera_db.workflow_version.creation_time. - */ - public void setCreationTime(Timestamp value); - - /** - * Getter for texera_db.workflow_version.creation_time. - */ - public Timestamp getCreationTime(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IWorkflowVersion - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowVersion from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IWorkflowVersion - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowViewCount.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowViewCount.java deleted file mode 100644 index 7773aaa735e..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/interfaces/IWorkflowViewCount.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces; - - -import org.jooq.types.UInteger; - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public interface IWorkflowViewCount extends Serializable { - - /** - * Setter for texera_db.workflow_view_count.wid. - */ - public void setWid(UInteger value); - - /** - * Getter for texera_db.workflow_view_count.wid. - */ - public UInteger getWid(); - - /** - * Setter for texera_db.workflow_view_count.view_count. - */ - public void setViewCount(UInteger value); - - /** - * Getter for texera_db.workflow_view_count.view_count. - */ - public UInteger getViewCount(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common interface IWorkflowViewCount - */ - public void from(edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowViewCount from); - - /** - * Copy data into another generated Record/POJO implementing the common interface IWorkflowViewCount - */ - public E into(E into); -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/Dataset.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/Dataset.java deleted file mode 100644 index 88c65148ca1..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/Dataset.java +++ /dev/null @@ -1,150 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IDataset; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class Dataset implements IDataset { - - private static final long serialVersionUID = 178066411; - - private UInteger did; - private UInteger ownerUid; - private String name; - private Byte isPublic; - private String description; - private Timestamp creationTime; - - public Dataset() { - } - - public Dataset(IDataset value) { - this.did = value.getDid(); - this.ownerUid = value.getOwnerUid(); - this.name = value.getName(); - this.isPublic = value.getIsPublic(); - this.description = value.getDescription(); - this.creationTime = value.getCreationTime(); - } - - public Dataset( - UInteger did, - UInteger ownerUid, - String name, - Byte isPublic, - String description, - Timestamp creationTime - ) { - this.did = did; - this.ownerUid = ownerUid; - this.name = name; - this.isPublic = isPublic; - this.description = description; - this.creationTime = creationTime; - } - - @Override - public UInteger getDid() { - return this.did; - } - - @Override - public void setDid(UInteger did) { - this.did = did; - } - - @Override - public UInteger getOwnerUid() { - return this.ownerUid; - } - - @Override - public void setOwnerUid(UInteger ownerUid) { - this.ownerUid = ownerUid; - } - - @Override - public String getName() { - return this.name; - } - - @Override - public void setName(String name) { - this.name = name; - } - - @Override - public Byte getIsPublic() { - return this.isPublic; - } - - @Override - public void setIsPublic(Byte isPublic) { - this.isPublic = isPublic; - } - - @Override - public String getDescription() { - return this.description; - } - - @Override - public void setDescription(String description) { - this.description = description; - } - - @Override - public Timestamp getCreationTime() { - return this.creationTime; - } - - @Override - public void setCreationTime(Timestamp creationTime) { - this.creationTime = creationTime; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("Dataset ("); - - sb.append(did); - sb.append(", ").append(ownerUid); - sb.append(", ").append(name); - sb.append(", ").append(isPublic); - sb.append(", ").append(description); - sb.append(", ").append(creationTime); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IDataset from) { - setDid(from.getDid()); - setOwnerUid(from.getOwnerUid()); - setName(from.getName()); - setIsPublic(from.getIsPublic()); - setDescription(from.getDescription()); - setCreationTime(from.getCreationTime()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/DatasetUserAccess.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/DatasetUserAccess.java deleted file mode 100644 index e4cb34acd0e..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/DatasetUserAccess.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.enums.DatasetUserAccessPrivilege; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IDatasetUserAccess; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class DatasetUserAccess implements IDatasetUserAccess { - - private static final long serialVersionUID = 1783622787; - - private UInteger did; - private UInteger uid; - private DatasetUserAccessPrivilege privilege; - - public DatasetUserAccess() { - } - - public DatasetUserAccess(IDatasetUserAccess value) { - this.did = value.getDid(); - this.uid = value.getUid(); - this.privilege = value.getPrivilege(); - } - - public DatasetUserAccess( - UInteger did, - UInteger uid, - DatasetUserAccessPrivilege privilege - ) { - this.did = did; - this.uid = uid; - this.privilege = privilege; - } - - @Override - public UInteger getDid() { - return this.did; - } - - @Override - public void setDid(UInteger did) { - this.did = did; - } - - @Override - public UInteger getUid() { - return this.uid; - } - - @Override - public void setUid(UInteger uid) { - this.uid = uid; - } - - @Override - public DatasetUserAccessPrivilege getPrivilege() { - return this.privilege; - } - - @Override - public void setPrivilege(DatasetUserAccessPrivilege privilege) { - this.privilege = privilege; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("DatasetUserAccess ("); - - sb.append(did); - sb.append(", ").append(uid); - sb.append(", ").append(privilege); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IDatasetUserAccess from) { - setDid(from.getDid()); - setUid(from.getUid()); - setPrivilege(from.getPrivilege()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/DatasetVersion.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/DatasetVersion.java deleted file mode 100644 index 4c8cb453ed8..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/DatasetVersion.java +++ /dev/null @@ -1,150 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IDatasetVersion; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class DatasetVersion implements IDatasetVersion { - - private static final long serialVersionUID = -1253265124; - - private UInteger dvid; - private UInteger did; - private UInteger creatorUid; - private String name; - private String versionHash; - private Timestamp creationTime; - - public DatasetVersion() { - } - - public DatasetVersion(IDatasetVersion value) { - this.dvid = value.getDvid(); - this.did = value.getDid(); - this.creatorUid = value.getCreatorUid(); - this.name = value.getName(); - this.versionHash = value.getVersionHash(); - this.creationTime = value.getCreationTime(); - } - - public DatasetVersion( - UInteger dvid, - UInteger did, - UInteger creatorUid, - String name, - String versionHash, - Timestamp creationTime - ) { - this.dvid = dvid; - this.did = did; - this.creatorUid = creatorUid; - this.name = name; - this.versionHash = versionHash; - this.creationTime = creationTime; - } - - @Override - public UInteger getDvid() { - return this.dvid; - } - - @Override - public void setDvid(UInteger dvid) { - this.dvid = dvid; - } - - @Override - public UInteger getDid() { - return this.did; - } - - @Override - public void setDid(UInteger did) { - this.did = did; - } - - @Override - public UInteger getCreatorUid() { - return this.creatorUid; - } - - @Override - public void setCreatorUid(UInteger creatorUid) { - this.creatorUid = creatorUid; - } - - @Override - public String getName() { - return this.name; - } - - @Override - public void setName(String name) { - this.name = name; - } - - @Override - public String getVersionHash() { - return this.versionHash; - } - - @Override - public void setVersionHash(String versionHash) { - this.versionHash = versionHash; - } - - @Override - public Timestamp getCreationTime() { - return this.creationTime; - } - - @Override - public void setCreationTime(Timestamp creationTime) { - this.creationTime = creationTime; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("DatasetVersion ("); - - sb.append(dvid); - sb.append(", ").append(did); - sb.append(", ").append(creatorUid); - sb.append(", ").append(name); - sb.append(", ").append(versionHash); - sb.append(", ").append(creationTime); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IDatasetVersion from) { - setDvid(from.getDvid()); - setDid(from.getDid()); - setCreatorUid(from.getCreatorUid()); - setName(from.getName()); - setVersionHash(from.getVersionHash()); - setCreationTime(from.getCreationTime()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/Project.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/Project.java deleted file mode 100644 index b8836242048..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/Project.java +++ /dev/null @@ -1,150 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IProject; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class Project implements IProject { - - private static final long serialVersionUID = 1494540996; - - private UInteger pid; - private String name; - private String description; - private UInteger ownerId; - private Timestamp creationTime; - private String color; - - public Project() { - } - - public Project(IProject value) { - this.pid = value.getPid(); - this.name = value.getName(); - this.description = value.getDescription(); - this.ownerId = value.getOwnerId(); - this.creationTime = value.getCreationTime(); - this.color = value.getColor(); - } - - public Project( - UInteger pid, - String name, - String description, - UInteger ownerId, - Timestamp creationTime, - String color - ) { - this.pid = pid; - this.name = name; - this.description = description; - this.ownerId = ownerId; - this.creationTime = creationTime; - this.color = color; - } - - @Override - public UInteger getPid() { - return this.pid; - } - - @Override - public void setPid(UInteger pid) { - this.pid = pid; - } - - @Override - public String getName() { - return this.name; - } - - @Override - public void setName(String name) { - this.name = name; - } - - @Override - public String getDescription() { - return this.description; - } - - @Override - public void setDescription(String description) { - this.description = description; - } - - @Override - public UInteger getOwnerId() { - return this.ownerId; - } - - @Override - public void setOwnerId(UInteger ownerId) { - this.ownerId = ownerId; - } - - @Override - public Timestamp getCreationTime() { - return this.creationTime; - } - - @Override - public void setCreationTime(Timestamp creationTime) { - this.creationTime = creationTime; - } - - @Override - public String getColor() { - return this.color; - } - - @Override - public void setColor(String color) { - this.color = color; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("Project ("); - - sb.append(pid); - sb.append(", ").append(name); - sb.append(", ").append(description); - sb.append(", ").append(ownerId); - sb.append(", ").append(creationTime); - sb.append(", ").append(color); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IProject from) { - setPid(from.getPid()); - setName(from.getName()); - setDescription(from.getDescription()); - setOwnerId(from.getOwnerId()); - setCreationTime(from.getCreationTime()); - setColor(from.getColor()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/ProjectUserAccess.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/ProjectUserAccess.java deleted file mode 100644 index 885b6b5c623..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/ProjectUserAccess.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.enums.ProjectUserAccessPrivilege; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IProjectUserAccess; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class ProjectUserAccess implements IProjectUserAccess { - - private static final long serialVersionUID = -27326996; - - private UInteger uid; - private UInteger pid; - private ProjectUserAccessPrivilege privilege; - - public ProjectUserAccess() { - } - - public ProjectUserAccess(IProjectUserAccess value) { - this.uid = value.getUid(); - this.pid = value.getPid(); - this.privilege = value.getPrivilege(); - } - - public ProjectUserAccess( - UInteger uid, - UInteger pid, - ProjectUserAccessPrivilege privilege - ) { - this.uid = uid; - this.pid = pid; - this.privilege = privilege; - } - - @Override - public UInteger getUid() { - return this.uid; - } - - @Override - public void setUid(UInteger uid) { - this.uid = uid; - } - - @Override - public UInteger getPid() { - return this.pid; - } - - @Override - public void setPid(UInteger pid) { - this.pid = pid; - } - - @Override - public ProjectUserAccessPrivilege getPrivilege() { - return this.privilege; - } - - @Override - public void setPrivilege(ProjectUserAccessPrivilege privilege) { - this.privilege = privilege; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("ProjectUserAccess ("); - - sb.append(uid); - sb.append(", ").append(pid); - sb.append(", ").append(privilege); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IProjectUserAccess from) { - setUid(from.getUid()); - setPid(from.getPid()); - setPrivilege(from.getPrivilege()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/PublicProject.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/PublicProject.java deleted file mode 100644 index 1273fe8586c..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/PublicProject.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IPublicProject; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class PublicProject implements IPublicProject { - - private static final long serialVersionUID = -956065810; - - private UInteger pid; - private UInteger uid; - - public PublicProject() { - } - - public PublicProject(IPublicProject value) { - this.pid = value.getPid(); - this.uid = value.getUid(); - } - - public PublicProject( - UInteger pid, - UInteger uid - ) { - this.pid = pid; - this.uid = uid; - } - - @Override - public UInteger getPid() { - return this.pid; - } - - @Override - public void setPid(UInteger pid) { - this.pid = pid; - } - - @Override - public UInteger getUid() { - return this.uid; - } - - @Override - public void setUid(UInteger uid) { - this.uid = uid; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("PublicProject ("); - - sb.append(pid); - sb.append(", ").append(uid); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IPublicProject from) { - setPid(from.getPid()); - setUid(from.getUid()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/User.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/User.java deleted file mode 100644 index da4c3574eb1..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/User.java +++ /dev/null @@ -1,165 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IUser; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class User implements IUser { - - private static final long serialVersionUID = -1446129198; - - private UInteger uid; - private String name; - private String email; - private String password; - private String googleId; - private UserRole role; - private String googleAvatar; - - public User() { - } - - public User(IUser value) { - this.uid = value.getUid(); - this.name = value.getName(); - this.email = value.getEmail(); - this.password = value.getPassword(); - this.googleId = value.getGoogleId(); - this.role = value.getRole(); - this.googleAvatar = value.getGoogleAvatar(); - } - - public User( - UInteger uid, - String name, - String email, - String password, - String googleId, - UserRole role, - String googleAvatar - ) { - this.uid = uid; - this.name = name; - this.email = email; - this.password = password; - this.googleId = googleId; - this.role = role; - this.googleAvatar = googleAvatar; - } - - @Override - public UInteger getUid() { - return this.uid; - } - - @Override - public void setUid(UInteger uid) { - this.uid = uid; - } - - @Override - public String getName() { - return this.name; - } - - @Override - public void setName(String name) { - this.name = name; - } - - @Override - public String getEmail() { - return this.email; - } - - @Override - public void setEmail(String email) { - this.email = email; - } - - @Override - public String getPassword() { - return this.password; - } - - @Override - public void setPassword(String password) { - this.password = password; - } - - @Override - public String getGoogleId() { - return this.googleId; - } - - @Override - public void setGoogleId(String googleId) { - this.googleId = googleId; - } - - @Override - public UserRole getRole() { - return this.role; - } - - @Override - public void setRole(UserRole role) { - this.role = role; - } - - @Override - public String getGoogleAvatar() { - return this.googleAvatar; - } - - @Override - public void setGoogleAvatar(String googleAvatar) { - this.googleAvatar = googleAvatar; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("User ("); - - sb.append(uid); - sb.append(", ").append(name); - sb.append(", ").append(email); - sb.append(", ").append(password); - sb.append(", ").append(googleId); - sb.append(", ").append(role); - sb.append(", ").append(googleAvatar); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IUser from) { - setUid(from.getUid()); - setName(from.getName()); - setEmail(from.getEmail()); - setPassword(from.getPassword()); - setGoogleId(from.getGoogleId()); - setRole(from.getRole()); - setGoogleAvatar(from.getGoogleAvatar()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/UserConfig.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/UserConfig.java deleted file mode 100644 index 8ac35264709..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/UserConfig.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IUserConfig; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class UserConfig implements IUserConfig { - - private static final long serialVersionUID = 757070019; - - private UInteger uid; - private String key; - private String value; - - public UserConfig() { - } - - public UserConfig(IUserConfig value) { - this.uid = value.getUid(); - this.key = value.getKey(); - this.value = value.getValue(); - } - - public UserConfig( - UInteger uid, - String key, - String value - ) { - this.uid = uid; - this.key = key; - this.value = value; - } - - @Override - public UInteger getUid() { - return this.uid; - } - - @Override - public void setUid(UInteger uid) { - this.uid = uid; - } - - @Override - public String getKey() { - return this.key; - } - - @Override - public void setKey(String key) { - this.key = key; - } - - @Override - public String getValue() { - return this.value; - } - - @Override - public void setValue(String value) { - this.value = value; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("UserConfig ("); - - sb.append(uid); - sb.append(", ").append(key); - sb.append(", ").append(value); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IUserConfig from) { - setUid(from.getUid()); - setKey(from.getKey()); - setValue(from.getValue()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/Workflow.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/Workflow.java deleted file mode 100644 index 0da026af978..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/Workflow.java +++ /dev/null @@ -1,166 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflow; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class Workflow implements IWorkflow { - - private static final long serialVersionUID = 171585219; - - private String name; - private String description; - private UInteger wid; - private String content; - private Timestamp creationTime; - private Timestamp lastModifiedTime; - private Byte isPublished; - - public Workflow() { - } - - public Workflow(IWorkflow value) { - this.name = value.getName(); - this.description = value.getDescription(); - this.wid = value.getWid(); - this.content = value.getContent(); - this.creationTime = value.getCreationTime(); - this.lastModifiedTime = value.getLastModifiedTime(); - this.isPublished = value.getIsPublished(); - } - - public Workflow( - String name, - String description, - UInteger wid, - String content, - Timestamp creationTime, - Timestamp lastModifiedTime, - Byte isPublished - ) { - this.name = name; - this.description = description; - this.wid = wid; - this.content = content; - this.creationTime = creationTime; - this.lastModifiedTime = lastModifiedTime; - this.isPublished = isPublished; - } - - @Override - public String getName() { - return this.name; - } - - @Override - public void setName(String name) { - this.name = name; - } - - @Override - public String getDescription() { - return this.description; - } - - @Override - public void setDescription(String description) { - this.description = description; - } - - @Override - public UInteger getWid() { - return this.wid; - } - - @Override - public void setWid(UInteger wid) { - this.wid = wid; - } - - @Override - public String getContent() { - return this.content; - } - - @Override - public void setContent(String content) { - this.content = content; - } - - @Override - public Timestamp getCreationTime() { - return this.creationTime; - } - - @Override - public void setCreationTime(Timestamp creationTime) { - this.creationTime = creationTime; - } - - @Override - public Timestamp getLastModifiedTime() { - return this.lastModifiedTime; - } - - @Override - public void setLastModifiedTime(Timestamp lastModifiedTime) { - this.lastModifiedTime = lastModifiedTime; - } - - @Override - public Byte getIsPublished() { - return this.isPublished; - } - - @Override - public void setIsPublished(Byte isPublished) { - this.isPublished = isPublished; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("Workflow ("); - - sb.append(name); - sb.append(", ").append(description); - sb.append(", ").append(wid); - sb.append(", ").append(content); - sb.append(", ").append(creationTime); - sb.append(", ").append(lastModifiedTime); - sb.append(", ").append(isPublished); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflow from) { - setName(from.getName()); - setDescription(from.getDescription()); - setWid(from.getWid()); - setContent(from.getContent()); - setCreationTime(from.getCreationTime()); - setLastModifiedTime(from.getLastModifiedTime()); - setIsPublished(from.getIsPublished()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowExecutions.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowExecutions.java deleted file mode 100644 index e4a46eb8aec..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowExecutions.java +++ /dev/null @@ -1,230 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowExecutions; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowExecutions implements IWorkflowExecutions { - - private static final long serialVersionUID = -379967912; - - private UInteger eid; - private UInteger vid; - private UInteger uid; - private Byte status; - private String result; - private Timestamp startingTime; - private Timestamp lastUpdateTime; - private Byte bookmarked; - private String name; - private String environmentVersion; - private String logLocation; - - public WorkflowExecutions() { - } - - public WorkflowExecutions(IWorkflowExecutions value) { - this.eid = value.getEid(); - this.vid = value.getVid(); - this.uid = value.getUid(); - this.status = value.getStatus(); - this.result = value.getResult(); - this.startingTime = value.getStartingTime(); - this.lastUpdateTime = value.getLastUpdateTime(); - this.bookmarked = value.getBookmarked(); - this.name = value.getName(); - this.environmentVersion = value.getEnvironmentVersion(); - this.logLocation = value.getLogLocation(); - } - - public WorkflowExecutions( - UInteger eid, - UInteger vid, - UInteger uid, - Byte status, - String result, - Timestamp startingTime, - Timestamp lastUpdateTime, - Byte bookmarked, - String name, - String environmentVersion, - String logLocation - ) { - this.eid = eid; - this.vid = vid; - this.uid = uid; - this.status = status; - this.result = result; - this.startingTime = startingTime; - this.lastUpdateTime = lastUpdateTime; - this.bookmarked = bookmarked; - this.name = name; - this.environmentVersion = environmentVersion; - this.logLocation = logLocation; - } - - @Override - public UInteger getEid() { - return this.eid; - } - - @Override - public void setEid(UInteger eid) { - this.eid = eid; - } - - @Override - public UInteger getVid() { - return this.vid; - } - - @Override - public void setVid(UInteger vid) { - this.vid = vid; - } - - @Override - public UInteger getUid() { - return this.uid; - } - - @Override - public void setUid(UInteger uid) { - this.uid = uid; - } - - @Override - public Byte getStatus() { - return this.status; - } - - @Override - public void setStatus(Byte status) { - this.status = status; - } - - @Override - public String getResult() { - return this.result; - } - - @Override - public void setResult(String result) { - this.result = result; - } - - @Override - public Timestamp getStartingTime() { - return this.startingTime; - } - - @Override - public void setStartingTime(Timestamp startingTime) { - this.startingTime = startingTime; - } - - @Override - public Timestamp getLastUpdateTime() { - return this.lastUpdateTime; - } - - @Override - public void setLastUpdateTime(Timestamp lastUpdateTime) { - this.lastUpdateTime = lastUpdateTime; - } - - @Override - public Byte getBookmarked() { - return this.bookmarked; - } - - @Override - public void setBookmarked(Byte bookmarked) { - this.bookmarked = bookmarked; - } - - @Override - public String getName() { - return this.name; - } - - @Override - public void setName(String name) { - this.name = name; - } - - @Override - public String getEnvironmentVersion() { - return this.environmentVersion; - } - - @Override - public void setEnvironmentVersion(String environmentVersion) { - this.environmentVersion = environmentVersion; - } - - @Override - public String getLogLocation() { - return this.logLocation; - } - - @Override - public void setLogLocation(String logLocation) { - this.logLocation = logLocation; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("WorkflowExecutions ("); - - sb.append(eid); - sb.append(", ").append(vid); - sb.append(", ").append(uid); - sb.append(", ").append(status); - sb.append(", ").append(result); - sb.append(", ").append(startingTime); - sb.append(", ").append(lastUpdateTime); - sb.append(", ").append(bookmarked); - sb.append(", ").append(name); - sb.append(", ").append(environmentVersion); - sb.append(", ").append(logLocation); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowExecutions from) { - setEid(from.getEid()); - setVid(from.getVid()); - setUid(from.getUid()); - setStatus(from.getStatus()); - setResult(from.getResult()); - setStartingTime(from.getStartingTime()); - setLastUpdateTime(from.getLastUpdateTime()); - setBookmarked(from.getBookmarked()); - setName(from.getName()); - setEnvironmentVersion(from.getEnvironmentVersion()); - setLogLocation(from.getLogLocation()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowOfProject.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowOfProject.java deleted file mode 100644 index 7376ffa8c61..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowOfProject.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowOfProject; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowOfProject implements IWorkflowOfProject { - - private static final long serialVersionUID = -2015179902; - - private UInteger wid; - private UInteger pid; - - public WorkflowOfProject() { - } - - public WorkflowOfProject(IWorkflowOfProject value) { - this.wid = value.getWid(); - this.pid = value.getPid(); - } - - public WorkflowOfProject( - UInteger wid, - UInteger pid - ) { - this.wid = wid; - this.pid = pid; - } - - @Override - public UInteger getWid() { - return this.wid; - } - - @Override - public void setWid(UInteger wid) { - this.wid = wid; - } - - @Override - public UInteger getPid() { - return this.pid; - } - - @Override - public void setPid(UInteger pid) { - this.pid = pid; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("WorkflowOfProject ("); - - sb.append(wid); - sb.append(", ").append(pid); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowOfProject from) { - setWid(from.getWid()); - setPid(from.getPid()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowOfUser.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowOfUser.java deleted file mode 100644 index 797c74e75b1..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowOfUser.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowOfUser; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowOfUser implements IWorkflowOfUser { - - private static final long serialVersionUID = -698732761; - - private UInteger uid; - private UInteger wid; - - public WorkflowOfUser() { - } - - public WorkflowOfUser(IWorkflowOfUser value) { - this.uid = value.getUid(); - this.wid = value.getWid(); - } - - public WorkflowOfUser( - UInteger uid, - UInteger wid - ) { - this.uid = uid; - this.wid = wid; - } - - @Override - public UInteger getUid() { - return this.uid; - } - - @Override - public void setUid(UInteger uid) { - this.uid = uid; - } - - @Override - public UInteger getWid() { - return this.wid; - } - - @Override - public void setWid(UInteger wid) { - this.wid = wid; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("WorkflowOfUser ("); - - sb.append(uid); - sb.append(", ").append(wid); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowOfUser from) { - setUid(from.getUid()); - setWid(from.getWid()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowRuntimeStatistics.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowRuntimeStatistics.java deleted file mode 100644 index ea796fc6b9e..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowRuntimeStatistics.java +++ /dev/null @@ -1,231 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowRuntimeStatistics; -import org.jooq.types.UInteger; -import org.jooq.types.ULong; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowRuntimeStatistics implements IWorkflowRuntimeStatistics { - - private static final long serialVersionUID = -2045109677; - - private UInteger workflowId; - private UInteger executionId; - private String operatorId; - private Timestamp time; - private UInteger inputTupleCnt; - private UInteger outputTupleCnt; - private Byte status; - private ULong dataProcessingTime; - private ULong controlProcessingTime; - private ULong idleTime; - private UInteger numWorkers; - - public WorkflowRuntimeStatistics() { - } - - public WorkflowRuntimeStatistics(IWorkflowRuntimeStatistics value) { - this.workflowId = value.getWorkflowId(); - this.executionId = value.getExecutionId(); - this.operatorId = value.getOperatorId(); - this.time = value.getTime(); - this.inputTupleCnt = value.getInputTupleCnt(); - this.outputTupleCnt = value.getOutputTupleCnt(); - this.status = value.getStatus(); - this.dataProcessingTime = value.getDataProcessingTime(); - this.controlProcessingTime = value.getControlProcessingTime(); - this.idleTime = value.getIdleTime(); - this.numWorkers = value.getNumWorkers(); - } - - public WorkflowRuntimeStatistics( - UInteger workflowId, - UInteger executionId, - String operatorId, - Timestamp time, - UInteger inputTupleCnt, - UInteger outputTupleCnt, - Byte status, - ULong dataProcessingTime, - ULong controlProcessingTime, - ULong idleTime, - UInteger numWorkers - ) { - this.workflowId = workflowId; - this.executionId = executionId; - this.operatorId = operatorId; - this.time = time; - this.inputTupleCnt = inputTupleCnt; - this.outputTupleCnt = outputTupleCnt; - this.status = status; - this.dataProcessingTime = dataProcessingTime; - this.controlProcessingTime = controlProcessingTime; - this.idleTime = idleTime; - this.numWorkers = numWorkers; - } - - @Override - public UInteger getWorkflowId() { - return this.workflowId; - } - - @Override - public void setWorkflowId(UInteger workflowId) { - this.workflowId = workflowId; - } - - @Override - public UInteger getExecutionId() { - return this.executionId; - } - - @Override - public void setExecutionId(UInteger executionId) { - this.executionId = executionId; - } - - @Override - public String getOperatorId() { - return this.operatorId; - } - - @Override - public void setOperatorId(String operatorId) { - this.operatorId = operatorId; - } - - @Override - public Timestamp getTime() { - return this.time; - } - - @Override - public void setTime(Timestamp time) { - this.time = time; - } - - @Override - public UInteger getInputTupleCnt() { - return this.inputTupleCnt; - } - - @Override - public void setInputTupleCnt(UInteger inputTupleCnt) { - this.inputTupleCnt = inputTupleCnt; - } - - @Override - public UInteger getOutputTupleCnt() { - return this.outputTupleCnt; - } - - @Override - public void setOutputTupleCnt(UInteger outputTupleCnt) { - this.outputTupleCnt = outputTupleCnt; - } - - @Override - public Byte getStatus() { - return this.status; - } - - @Override - public void setStatus(Byte status) { - this.status = status; - } - - @Override - public ULong getDataProcessingTime() { - return this.dataProcessingTime; - } - - @Override - public void setDataProcessingTime(ULong dataProcessingTime) { - this.dataProcessingTime = dataProcessingTime; - } - - @Override - public ULong getControlProcessingTime() { - return this.controlProcessingTime; - } - - @Override - public void setControlProcessingTime(ULong controlProcessingTime) { - this.controlProcessingTime = controlProcessingTime; - } - - @Override - public ULong getIdleTime() { - return this.idleTime; - } - - @Override - public void setIdleTime(ULong idleTime) { - this.idleTime = idleTime; - } - - @Override - public UInteger getNumWorkers() { - return this.numWorkers; - } - - @Override - public void setNumWorkers(UInteger numWorkers) { - this.numWorkers = numWorkers; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("WorkflowRuntimeStatistics ("); - - sb.append(workflowId); - sb.append(", ").append(executionId); - sb.append(", ").append(operatorId); - sb.append(", ").append(time); - sb.append(", ").append(inputTupleCnt); - sb.append(", ").append(outputTupleCnt); - sb.append(", ").append(status); - sb.append(", ").append(dataProcessingTime); - sb.append(", ").append(controlProcessingTime); - sb.append(", ").append(idleTime); - sb.append(", ").append(numWorkers); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowRuntimeStatistics from) { - setWorkflowId(from.getWorkflowId()); - setExecutionId(from.getExecutionId()); - setOperatorId(from.getOperatorId()); - setTime(from.getTime()); - setInputTupleCnt(from.getInputTupleCnt()); - setOutputTupleCnt(from.getOutputTupleCnt()); - setStatus(from.getStatus()); - setDataProcessingTime(from.getDataProcessingTime()); - setControlProcessingTime(from.getControlProcessingTime()); - setIdleTime(from.getIdleTime()); - setNumWorkers(from.getNumWorkers()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserAccess.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserAccess.java deleted file mode 100644 index 9993c4dff54..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserAccess.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.enums.WorkflowUserAccessPrivilege; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowUserAccess; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowUserAccess implements IWorkflowUserAccess { - - private static final long serialVersionUID = -354047803; - - private UInteger uid; - private UInteger wid; - private WorkflowUserAccessPrivilege privilege; - - public WorkflowUserAccess() { - } - - public WorkflowUserAccess(IWorkflowUserAccess value) { - this.uid = value.getUid(); - this.wid = value.getWid(); - this.privilege = value.getPrivilege(); - } - - public WorkflowUserAccess( - UInteger uid, - UInteger wid, - WorkflowUserAccessPrivilege privilege - ) { - this.uid = uid; - this.wid = wid; - this.privilege = privilege; - } - - @Override - public UInteger getUid() { - return this.uid; - } - - @Override - public void setUid(UInteger uid) { - this.uid = uid; - } - - @Override - public UInteger getWid() { - return this.wid; - } - - @Override - public void setWid(UInteger wid) { - this.wid = wid; - } - - @Override - public WorkflowUserAccessPrivilege getPrivilege() { - return this.privilege; - } - - @Override - public void setPrivilege(WorkflowUserAccessPrivilege privilege) { - this.privilege = privilege; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("WorkflowUserAccess ("); - - sb.append(uid); - sb.append(", ").append(wid); - sb.append(", ").append(privilege); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowUserAccess from) { - setUid(from.getUid()); - setWid(from.getWid()); - setPrivilege(from.getPrivilege()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserActivity.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserActivity.java deleted file mode 100644 index 03ef8107ac1..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserActivity.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowUserActivity; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowUserActivity implements IWorkflowUserActivity { - - private static final long serialVersionUID = 245043363; - - private UInteger uid; - private UInteger wid; - private String ip; - private String activate; - private Timestamp activityTime; - - public WorkflowUserActivity() { - } - - public WorkflowUserActivity(IWorkflowUserActivity value) { - this.uid = value.getUid(); - this.wid = value.getWid(); - this.ip = value.getIp(); - this.activate = value.getActivate(); - this.activityTime = value.getActivityTime(); - } - - public WorkflowUserActivity( - UInteger uid, - UInteger wid, - String ip, - String activate, - Timestamp activityTime - ) { - this.uid = uid; - this.wid = wid; - this.ip = ip; - this.activate = activate; - this.activityTime = activityTime; - } - - @Override - public UInteger getUid() { - return this.uid; - } - - @Override - public void setUid(UInteger uid) { - this.uid = uid; - } - - @Override - public UInteger getWid() { - return this.wid; - } - - @Override - public void setWid(UInteger wid) { - this.wid = wid; - } - - @Override - public String getIp() { - return this.ip; - } - - @Override - public void setIp(String ip) { - this.ip = ip; - } - - @Override - public String getActivate() { - return this.activate; - } - - @Override - public void setActivate(String activate) { - this.activate = activate; - } - - @Override - public Timestamp getActivityTime() { - return this.activityTime; - } - - @Override - public void setActivityTime(Timestamp activityTime) { - this.activityTime = activityTime; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("WorkflowUserActivity ("); - - sb.append(uid); - sb.append(", ").append(wid); - sb.append(", ").append(ip); - sb.append(", ").append(activate); - sb.append(", ").append(activityTime); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowUserActivity from) { - setUid(from.getUid()); - setWid(from.getWid()); - setIp(from.getIp()); - setActivate(from.getActivate()); - setActivityTime(from.getActivityTime()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserClones.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserClones.java deleted file mode 100644 index 5dc064aff06..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserClones.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowUserClones; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowUserClones implements IWorkflowUserClones { - - private static final long serialVersionUID = 251192233; - - private UInteger uid; - private UInteger wid; - - public WorkflowUserClones() { - } - - public WorkflowUserClones(IWorkflowUserClones value) { - this.uid = value.getUid(); - this.wid = value.getWid(); - } - - public WorkflowUserClones( - UInteger uid, - UInteger wid - ) { - this.uid = uid; - this.wid = wid; - } - - @Override - public UInteger getUid() { - return this.uid; - } - - @Override - public void setUid(UInteger uid) { - this.uid = uid; - } - - @Override - public UInteger getWid() { - return this.wid; - } - - @Override - public void setWid(UInteger wid) { - this.wid = wid; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("WorkflowUserClones ("); - - sb.append(uid); - sb.append(", ").append(wid); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowUserClones from) { - setUid(from.getUid()); - setWid(from.getWid()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserLikes.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserLikes.java deleted file mode 100644 index f2d6600c34d..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowUserLikes.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowUserLikes; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowUserLikes implements IWorkflowUserLikes { - - private static final long serialVersionUID = -632412413; - - private UInteger uid; - private UInteger wid; - - public WorkflowUserLikes() { - } - - public WorkflowUserLikes(IWorkflowUserLikes value) { - this.uid = value.getUid(); - this.wid = value.getWid(); - } - - public WorkflowUserLikes( - UInteger uid, - UInteger wid - ) { - this.uid = uid; - this.wid = wid; - } - - @Override - public UInteger getUid() { - return this.uid; - } - - @Override - public void setUid(UInteger uid) { - this.uid = uid; - } - - @Override - public UInteger getWid() { - return this.wid; - } - - @Override - public void setWid(UInteger wid) { - this.wid = wid; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("WorkflowUserLikes ("); - - sb.append(uid); - sb.append(", ").append(wid); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowUserLikes from) { - setUid(from.getUid()); - setWid(from.getWid()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowVersion.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowVersion.java deleted file mode 100644 index ac4d0d24f8b..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowVersion.java +++ /dev/null @@ -1,118 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowVersion; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowVersion implements IWorkflowVersion { - - private static final long serialVersionUID = -1278018119; - - private UInteger vid; - private UInteger wid; - private String content; - private Timestamp creationTime; - - public WorkflowVersion() { - } - - public WorkflowVersion(IWorkflowVersion value) { - this.vid = value.getVid(); - this.wid = value.getWid(); - this.content = value.getContent(); - this.creationTime = value.getCreationTime(); - } - - public WorkflowVersion( - UInteger vid, - UInteger wid, - String content, - Timestamp creationTime - ) { - this.vid = vid; - this.wid = wid; - this.content = content; - this.creationTime = creationTime; - } - - @Override - public UInteger getVid() { - return this.vid; - } - - @Override - public void setVid(UInteger vid) { - this.vid = vid; - } - - @Override - public UInteger getWid() { - return this.wid; - } - - @Override - public void setWid(UInteger wid) { - this.wid = wid; - } - - @Override - public String getContent() { - return this.content; - } - - @Override - public void setContent(String content) { - this.content = content; - } - - @Override - public Timestamp getCreationTime() { - return this.creationTime; - } - - @Override - public void setCreationTime(Timestamp creationTime) { - this.creationTime = creationTime; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("WorkflowVersion ("); - - sb.append(vid); - sb.append(", ").append(wid); - sb.append(", ").append(content); - sb.append(", ").append(creationTime); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowVersion from) { - setVid(from.getVid()); - setWid(from.getWid()); - setContent(from.getContent()); - setCreationTime(from.getCreationTime()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowViewCount.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowViewCount.java deleted file mode 100644 index 9227ed373aa..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/pojos/WorkflowViewCount.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowViewCount; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowViewCount implements IWorkflowViewCount { - - private static final long serialVersionUID = 2069501897; - - private UInteger wid; - private UInteger viewCount; - - public WorkflowViewCount() { - } - - public WorkflowViewCount(IWorkflowViewCount value) { - this.wid = value.getWid(); - this.viewCount = value.getViewCount(); - } - - public WorkflowViewCount( - UInteger wid, - UInteger viewCount - ) { - this.wid = wid; - this.viewCount = viewCount; - } - - @Override - public UInteger getWid() { - return this.wid; - } - - @Override - public void setWid(UInteger wid) { - this.wid = wid; - } - - @Override - public UInteger getViewCount() { - return this.viewCount; - } - - @Override - public void setViewCount(UInteger viewCount) { - this.viewCount = viewCount; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("WorkflowViewCount ("); - - sb.append(wid); - sb.append(", ").append(viewCount); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowViewCount from) { - setWid(from.getWid()); - setViewCount(from.getViewCount()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/DatasetRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/DatasetRecord.java deleted file mode 100644 index c8a32c43d9a..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/DatasetRecord.java +++ /dev/null @@ -1,327 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.Dataset; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IDataset; -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record6; -import org.jooq.Row6; -import org.jooq.impl.UpdatableRecordImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class DatasetRecord extends UpdatableRecordImpl implements Record6, IDataset { - - private static final long serialVersionUID = -568387354; - - /** - * Setter for texera_db.dataset.did. - */ - @Override - public void setDid(UInteger value) { - set(0, value); - } - - /** - * Getter for texera_db.dataset.did. - */ - @Override - public UInteger getDid() { - return (UInteger) get(0); - } - - /** - * Setter for texera_db.dataset.owner_uid. - */ - @Override - public void setOwnerUid(UInteger value) { - set(1, value); - } - - /** - * Getter for texera_db.dataset.owner_uid. - */ - @Override - public UInteger getOwnerUid() { - return (UInteger) get(1); - } - - /** - * Setter for texera_db.dataset.name. - */ - @Override - public void setName(String value) { - set(2, value); - } - - /** - * Getter for texera_db.dataset.name. - */ - @Override - public String getName() { - return (String) get(2); - } - - /** - * Setter for texera_db.dataset.is_public. - */ - @Override - public void setIsPublic(Byte value) { - set(3, value); - } - - /** - * Getter for texera_db.dataset.is_public. - */ - @Override - public Byte getIsPublic() { - return (Byte) get(3); - } - - /** - * Setter for texera_db.dataset.description. - */ - @Override - public void setDescription(String value) { - set(4, value); - } - - /** - * Getter for texera_db.dataset.description. - */ - @Override - public String getDescription() { - return (String) get(4); - } - - /** - * Setter for texera_db.dataset.creation_time. - */ - @Override - public void setCreationTime(Timestamp value) { - set(5, value); - } - - /** - * Getter for texera_db.dataset.creation_time. - */ - @Override - public Timestamp getCreationTime() { - return (Timestamp) get(5); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record6 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row6 fieldsRow() { - return (Row6) super.fieldsRow(); - } - - @Override - public Row6 valuesRow() { - return (Row6) super.valuesRow(); - } - - @Override - public Field field1() { - return Dataset.DATASET.DID; - } - - @Override - public Field field2() { - return Dataset.DATASET.OWNER_UID; - } - - @Override - public Field field3() { - return Dataset.DATASET.NAME; - } - - @Override - public Field field4() { - return Dataset.DATASET.IS_PUBLIC; - } - - @Override - public Field field5() { - return Dataset.DATASET.DESCRIPTION; - } - - @Override - public Field field6() { - return Dataset.DATASET.CREATION_TIME; - } - - @Override - public UInteger component1() { - return getDid(); - } - - @Override - public UInteger component2() { - return getOwnerUid(); - } - - @Override - public String component3() { - return getName(); - } - - @Override - public Byte component4() { - return getIsPublic(); - } - - @Override - public String component5() { - return getDescription(); - } - - @Override - public Timestamp component6() { - return getCreationTime(); - } - - @Override - public UInteger value1() { - return getDid(); - } - - @Override - public UInteger value2() { - return getOwnerUid(); - } - - @Override - public String value3() { - return getName(); - } - - @Override - public Byte value4() { - return getIsPublic(); - } - - @Override - public String value5() { - return getDescription(); - } - - @Override - public Timestamp value6() { - return getCreationTime(); - } - - @Override - public DatasetRecord value1(UInteger value) { - setDid(value); - return this; - } - - @Override - public DatasetRecord value2(UInteger value) { - setOwnerUid(value); - return this; - } - - @Override - public DatasetRecord value3(String value) { - setName(value); - return this; - } - - @Override - public DatasetRecord value4(Byte value) { - setIsPublic(value); - return this; - } - - @Override - public DatasetRecord value5(String value) { - setDescription(value); - return this; - } - - @Override - public DatasetRecord value6(Timestamp value) { - setCreationTime(value); - return this; - } - - @Override - public DatasetRecord values(UInteger value1, UInteger value2, String value3, Byte value4, String value5, Timestamp value6) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IDataset from) { - setDid(from.getDid()); - setOwnerUid(from.getOwnerUid()); - setName(from.getName()); - setIsPublic(from.getIsPublic()); - setDescription(from.getDescription()); - setCreationTime(from.getCreationTime()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached DatasetRecord - */ - public DatasetRecord() { - super(Dataset.DATASET); - } - - /** - * Create a detached, initialised DatasetRecord - */ - public DatasetRecord(UInteger did, UInteger ownerUid, String name, Byte isPublic, String description, Timestamp creationTime) { - super(Dataset.DATASET); - - set(0, did); - set(1, ownerUid); - set(2, name); - set(3, isPublic); - set(4, description); - set(5, creationTime); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/DatasetUserAccessRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/DatasetUserAccessRecord.java deleted file mode 100644 index c779fb0556f..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/DatasetUserAccessRecord.java +++ /dev/null @@ -1,206 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.enums.DatasetUserAccessPrivilege; -import edu.uci.ics.texera.web.model.jooq.generated.tables.DatasetUserAccess; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IDatasetUserAccess; -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Record3; -import org.jooq.Row3; -import org.jooq.impl.UpdatableRecordImpl; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class DatasetUserAccessRecord extends UpdatableRecordImpl implements Record3, IDatasetUserAccess { - - private static final long serialVersionUID = -417509378; - - /** - * Setter for texera_db.dataset_user_access.did. - */ - @Override - public void setDid(UInteger value) { - set(0, value); - } - - /** - * Getter for texera_db.dataset_user_access.did. - */ - @Override - public UInteger getDid() { - return (UInteger) get(0); - } - - /** - * Setter for texera_db.dataset_user_access.uid. - */ - @Override - public void setUid(UInteger value) { - set(1, value); - } - - /** - * Getter for texera_db.dataset_user_access.uid. - */ - @Override - public UInteger getUid() { - return (UInteger) get(1); - } - - /** - * Setter for texera_db.dataset_user_access.privilege. - */ - @Override - public void setPrivilege(DatasetUserAccessPrivilege value) { - set(2, value); - } - - /** - * Getter for texera_db.dataset_user_access.privilege. - */ - @Override - public DatasetUserAccessPrivilege getPrivilege() { - return (DatasetUserAccessPrivilege) get(2); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record2 key() { - return (Record2) super.key(); - } - - // ------------------------------------------------------------------------- - // Record3 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row3 fieldsRow() { - return (Row3) super.fieldsRow(); - } - - @Override - public Row3 valuesRow() { - return (Row3) super.valuesRow(); - } - - @Override - public Field field1() { - return DatasetUserAccess.DATASET_USER_ACCESS.DID; - } - - @Override - public Field field2() { - return DatasetUserAccess.DATASET_USER_ACCESS.UID; - } - - @Override - public Field field3() { - return DatasetUserAccess.DATASET_USER_ACCESS.PRIVILEGE; - } - - @Override - public UInteger component1() { - return getDid(); - } - - @Override - public UInteger component2() { - return getUid(); - } - - @Override - public DatasetUserAccessPrivilege component3() { - return getPrivilege(); - } - - @Override - public UInteger value1() { - return getDid(); - } - - @Override - public UInteger value2() { - return getUid(); - } - - @Override - public DatasetUserAccessPrivilege value3() { - return getPrivilege(); - } - - @Override - public DatasetUserAccessRecord value1(UInteger value) { - setDid(value); - return this; - } - - @Override - public DatasetUserAccessRecord value2(UInteger value) { - setUid(value); - return this; - } - - @Override - public DatasetUserAccessRecord value3(DatasetUserAccessPrivilege value) { - setPrivilege(value); - return this; - } - - @Override - public DatasetUserAccessRecord values(UInteger value1, UInteger value2, DatasetUserAccessPrivilege value3) { - value1(value1); - value2(value2); - value3(value3); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IDatasetUserAccess from) { - setDid(from.getDid()); - setUid(from.getUid()); - setPrivilege(from.getPrivilege()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached DatasetUserAccessRecord - */ - public DatasetUserAccessRecord() { - super(DatasetUserAccess.DATASET_USER_ACCESS); - } - - /** - * Create a detached, initialised DatasetUserAccessRecord - */ - public DatasetUserAccessRecord(UInteger did, UInteger uid, DatasetUserAccessPrivilege privilege) { - super(DatasetUserAccess.DATASET_USER_ACCESS); - - set(0, did); - set(1, uid); - set(2, privilege); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/DatasetVersionRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/DatasetVersionRecord.java deleted file mode 100644 index fa0ce6fb35c..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/DatasetVersionRecord.java +++ /dev/null @@ -1,327 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.DatasetVersion; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IDatasetVersion; -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record6; -import org.jooq.Row6; -import org.jooq.impl.UpdatableRecordImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class DatasetVersionRecord extends UpdatableRecordImpl implements Record6, IDatasetVersion { - - private static final long serialVersionUID = -870558780; - - /** - * Setter for texera_db.dataset_version.dvid. - */ - @Override - public void setDvid(UInteger value) { - set(0, value); - } - - /** - * Getter for texera_db.dataset_version.dvid. - */ - @Override - public UInteger getDvid() { - return (UInteger) get(0); - } - - /** - * Setter for texera_db.dataset_version.did. - */ - @Override - public void setDid(UInteger value) { - set(1, value); - } - - /** - * Getter for texera_db.dataset_version.did. - */ - @Override - public UInteger getDid() { - return (UInteger) get(1); - } - - /** - * Setter for texera_db.dataset_version.creator_uid. - */ - @Override - public void setCreatorUid(UInteger value) { - set(2, value); - } - - /** - * Getter for texera_db.dataset_version.creator_uid. - */ - @Override - public UInteger getCreatorUid() { - return (UInteger) get(2); - } - - /** - * Setter for texera_db.dataset_version.name. - */ - @Override - public void setName(String value) { - set(3, value); - } - - /** - * Getter for texera_db.dataset_version.name. - */ - @Override - public String getName() { - return (String) get(3); - } - - /** - * Setter for texera_db.dataset_version.version_hash. - */ - @Override - public void setVersionHash(String value) { - set(4, value); - } - - /** - * Getter for texera_db.dataset_version.version_hash. - */ - @Override - public String getVersionHash() { - return (String) get(4); - } - - /** - * Setter for texera_db.dataset_version.creation_time. - */ - @Override - public void setCreationTime(Timestamp value) { - set(5, value); - } - - /** - * Getter for texera_db.dataset_version.creation_time. - */ - @Override - public Timestamp getCreationTime() { - return (Timestamp) get(5); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record6 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row6 fieldsRow() { - return (Row6) super.fieldsRow(); - } - - @Override - public Row6 valuesRow() { - return (Row6) super.valuesRow(); - } - - @Override - public Field field1() { - return DatasetVersion.DATASET_VERSION.DVID; - } - - @Override - public Field field2() { - return DatasetVersion.DATASET_VERSION.DID; - } - - @Override - public Field field3() { - return DatasetVersion.DATASET_VERSION.CREATOR_UID; - } - - @Override - public Field field4() { - return DatasetVersion.DATASET_VERSION.NAME; - } - - @Override - public Field field5() { - return DatasetVersion.DATASET_VERSION.VERSION_HASH; - } - - @Override - public Field field6() { - return DatasetVersion.DATASET_VERSION.CREATION_TIME; - } - - @Override - public UInteger component1() { - return getDvid(); - } - - @Override - public UInteger component2() { - return getDid(); - } - - @Override - public UInteger component3() { - return getCreatorUid(); - } - - @Override - public String component4() { - return getName(); - } - - @Override - public String component5() { - return getVersionHash(); - } - - @Override - public Timestamp component6() { - return getCreationTime(); - } - - @Override - public UInteger value1() { - return getDvid(); - } - - @Override - public UInteger value2() { - return getDid(); - } - - @Override - public UInteger value3() { - return getCreatorUid(); - } - - @Override - public String value4() { - return getName(); - } - - @Override - public String value5() { - return getVersionHash(); - } - - @Override - public Timestamp value6() { - return getCreationTime(); - } - - @Override - public DatasetVersionRecord value1(UInteger value) { - setDvid(value); - return this; - } - - @Override - public DatasetVersionRecord value2(UInteger value) { - setDid(value); - return this; - } - - @Override - public DatasetVersionRecord value3(UInteger value) { - setCreatorUid(value); - return this; - } - - @Override - public DatasetVersionRecord value4(String value) { - setName(value); - return this; - } - - @Override - public DatasetVersionRecord value5(String value) { - setVersionHash(value); - return this; - } - - @Override - public DatasetVersionRecord value6(Timestamp value) { - setCreationTime(value); - return this; - } - - @Override - public DatasetVersionRecord values(UInteger value1, UInteger value2, UInteger value3, String value4, String value5, Timestamp value6) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IDatasetVersion from) { - setDvid(from.getDvid()); - setDid(from.getDid()); - setCreatorUid(from.getCreatorUid()); - setName(from.getName()); - setVersionHash(from.getVersionHash()); - setCreationTime(from.getCreationTime()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached DatasetVersionRecord - */ - public DatasetVersionRecord() { - super(DatasetVersion.DATASET_VERSION); - } - - /** - * Create a detached, initialised DatasetVersionRecord - */ - public DatasetVersionRecord(UInteger dvid, UInteger did, UInteger creatorUid, String name, String versionHash, Timestamp creationTime) { - super(DatasetVersion.DATASET_VERSION); - - set(0, dvid); - set(1, did); - set(2, creatorUid); - set(3, name); - set(4, versionHash); - set(5, creationTime); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/ProjectRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/ProjectRecord.java deleted file mode 100644 index c483a9a1bbe..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/ProjectRecord.java +++ /dev/null @@ -1,327 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.Project; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IProject; -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record6; -import org.jooq.Row6; -import org.jooq.impl.UpdatableRecordImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class ProjectRecord extends UpdatableRecordImpl implements Record6, IProject { - - private static final long serialVersionUID = -787882699; - - /** - * Setter for texera_db.project.pid. - */ - @Override - public void setPid(UInteger value) { - set(0, value); - } - - /** - * Getter for texera_db.project.pid. - */ - @Override - public UInteger getPid() { - return (UInteger) get(0); - } - - /** - * Setter for texera_db.project.name. - */ - @Override - public void setName(String value) { - set(1, value); - } - - /** - * Getter for texera_db.project.name. - */ - @Override - public String getName() { - return (String) get(1); - } - - /** - * Setter for texera_db.project.description. - */ - @Override - public void setDescription(String value) { - set(2, value); - } - - /** - * Getter for texera_db.project.description. - */ - @Override - public String getDescription() { - return (String) get(2); - } - - /** - * Setter for texera_db.project.owner_id. - */ - @Override - public void setOwnerId(UInteger value) { - set(3, value); - } - - /** - * Getter for texera_db.project.owner_id. - */ - @Override - public UInteger getOwnerId() { - return (UInteger) get(3); - } - - /** - * Setter for texera_db.project.creation_time. - */ - @Override - public void setCreationTime(Timestamp value) { - set(4, value); - } - - /** - * Getter for texera_db.project.creation_time. - */ - @Override - public Timestamp getCreationTime() { - return (Timestamp) get(4); - } - - /** - * Setter for texera_db.project.color. - */ - @Override - public void setColor(String value) { - set(5, value); - } - - /** - * Getter for texera_db.project.color. - */ - @Override - public String getColor() { - return (String) get(5); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record6 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row6 fieldsRow() { - return (Row6) super.fieldsRow(); - } - - @Override - public Row6 valuesRow() { - return (Row6) super.valuesRow(); - } - - @Override - public Field field1() { - return Project.PROJECT.PID; - } - - @Override - public Field field2() { - return Project.PROJECT.NAME; - } - - @Override - public Field field3() { - return Project.PROJECT.DESCRIPTION; - } - - @Override - public Field field4() { - return Project.PROJECT.OWNER_ID; - } - - @Override - public Field field5() { - return Project.PROJECT.CREATION_TIME; - } - - @Override - public Field field6() { - return Project.PROJECT.COLOR; - } - - @Override - public UInteger component1() { - return getPid(); - } - - @Override - public String component2() { - return getName(); - } - - @Override - public String component3() { - return getDescription(); - } - - @Override - public UInteger component4() { - return getOwnerId(); - } - - @Override - public Timestamp component5() { - return getCreationTime(); - } - - @Override - public String component6() { - return getColor(); - } - - @Override - public UInteger value1() { - return getPid(); - } - - @Override - public String value2() { - return getName(); - } - - @Override - public String value3() { - return getDescription(); - } - - @Override - public UInteger value4() { - return getOwnerId(); - } - - @Override - public Timestamp value5() { - return getCreationTime(); - } - - @Override - public String value6() { - return getColor(); - } - - @Override - public ProjectRecord value1(UInteger value) { - setPid(value); - return this; - } - - @Override - public ProjectRecord value2(String value) { - setName(value); - return this; - } - - @Override - public ProjectRecord value3(String value) { - setDescription(value); - return this; - } - - @Override - public ProjectRecord value4(UInteger value) { - setOwnerId(value); - return this; - } - - @Override - public ProjectRecord value5(Timestamp value) { - setCreationTime(value); - return this; - } - - @Override - public ProjectRecord value6(String value) { - setColor(value); - return this; - } - - @Override - public ProjectRecord values(UInteger value1, String value2, String value3, UInteger value4, Timestamp value5, String value6) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IProject from) { - setPid(from.getPid()); - setName(from.getName()); - setDescription(from.getDescription()); - setOwnerId(from.getOwnerId()); - setCreationTime(from.getCreationTime()); - setColor(from.getColor()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached ProjectRecord - */ - public ProjectRecord() { - super(Project.PROJECT); - } - - /** - * Create a detached, initialised ProjectRecord - */ - public ProjectRecord(UInteger pid, String name, String description, UInteger ownerId, Timestamp creationTime, String color) { - super(Project.PROJECT); - - set(0, pid); - set(1, name); - set(2, description); - set(3, ownerId); - set(4, creationTime); - set(5, color); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/ProjectUserAccessRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/ProjectUserAccessRecord.java deleted file mode 100644 index 8e9311c293c..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/ProjectUserAccessRecord.java +++ /dev/null @@ -1,206 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.enums.ProjectUserAccessPrivilege; -import edu.uci.ics.texera.web.model.jooq.generated.tables.ProjectUserAccess; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IProjectUserAccess; -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Record3; -import org.jooq.Row3; -import org.jooq.impl.UpdatableRecordImpl; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class ProjectUserAccessRecord extends UpdatableRecordImpl implements Record3, IProjectUserAccess { - - private static final long serialVersionUID = -1549467390; - - /** - * Setter for texera_db.project_user_access.uid. - */ - @Override - public void setUid(UInteger value) { - set(0, value); - } - - /** - * Getter for texera_db.project_user_access.uid. - */ - @Override - public UInteger getUid() { - return (UInteger) get(0); - } - - /** - * Setter for texera_db.project_user_access.pid. - */ - @Override - public void setPid(UInteger value) { - set(1, value); - } - - /** - * Getter for texera_db.project_user_access.pid. - */ - @Override - public UInteger getPid() { - return (UInteger) get(1); - } - - /** - * Setter for texera_db.project_user_access.privilege. - */ - @Override - public void setPrivilege(ProjectUserAccessPrivilege value) { - set(2, value); - } - - /** - * Getter for texera_db.project_user_access.privilege. - */ - @Override - public ProjectUserAccessPrivilege getPrivilege() { - return (ProjectUserAccessPrivilege) get(2); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record2 key() { - return (Record2) super.key(); - } - - // ------------------------------------------------------------------------- - // Record3 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row3 fieldsRow() { - return (Row3) super.fieldsRow(); - } - - @Override - public Row3 valuesRow() { - return (Row3) super.valuesRow(); - } - - @Override - public Field field1() { - return ProjectUserAccess.PROJECT_USER_ACCESS.UID; - } - - @Override - public Field field2() { - return ProjectUserAccess.PROJECT_USER_ACCESS.PID; - } - - @Override - public Field field3() { - return ProjectUserAccess.PROJECT_USER_ACCESS.PRIVILEGE; - } - - @Override - public UInteger component1() { - return getUid(); - } - - @Override - public UInteger component2() { - return getPid(); - } - - @Override - public ProjectUserAccessPrivilege component3() { - return getPrivilege(); - } - - @Override - public UInteger value1() { - return getUid(); - } - - @Override - public UInteger value2() { - return getPid(); - } - - @Override - public ProjectUserAccessPrivilege value3() { - return getPrivilege(); - } - - @Override - public ProjectUserAccessRecord value1(UInteger value) { - setUid(value); - return this; - } - - @Override - public ProjectUserAccessRecord value2(UInteger value) { - setPid(value); - return this; - } - - @Override - public ProjectUserAccessRecord value3(ProjectUserAccessPrivilege value) { - setPrivilege(value); - return this; - } - - @Override - public ProjectUserAccessRecord values(UInteger value1, UInteger value2, ProjectUserAccessPrivilege value3) { - value1(value1); - value2(value2); - value3(value3); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IProjectUserAccess from) { - setUid(from.getUid()); - setPid(from.getPid()); - setPrivilege(from.getPrivilege()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached ProjectUserAccessRecord - */ - public ProjectUserAccessRecord() { - super(ProjectUserAccess.PROJECT_USER_ACCESS); - } - - /** - * Create a detached, initialised ProjectUserAccessRecord - */ - public ProjectUserAccessRecord(UInteger uid, UInteger pid, ProjectUserAccessPrivilege privilege) { - super(ProjectUserAccess.PROJECT_USER_ACCESS); - - set(0, uid); - set(1, pid); - set(2, privilege); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/PublicProjectRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/PublicProjectRecord.java deleted file mode 100644 index b017081d193..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/PublicProjectRecord.java +++ /dev/null @@ -1,165 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.PublicProject; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IPublicProject; -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.UpdatableRecordImpl; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class PublicProjectRecord extends UpdatableRecordImpl implements Record2, IPublicProject { - - private static final long serialVersionUID = 89759719; - - /** - * Setter for texera_db.public_project.pid. - */ - @Override - public void setPid(UInteger value) { - set(0, value); - } - - /** - * Getter for texera_db.public_project.pid. - */ - @Override - public UInteger getPid() { - return (UInteger) get(0); - } - - /** - * Setter for texera_db.public_project.uid. - */ - @Override - public void setUid(UInteger value) { - set(1, value); - } - - /** - * Getter for texera_db.public_project.uid. - */ - @Override - public UInteger getUid() { - return (UInteger) get(1); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record2 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } - - @Override - public Row2 valuesRow() { - return (Row2) super.valuesRow(); - } - - @Override - public Field field1() { - return PublicProject.PUBLIC_PROJECT.PID; - } - - @Override - public Field field2() { - return PublicProject.PUBLIC_PROJECT.UID; - } - - @Override - public UInteger component1() { - return getPid(); - } - - @Override - public UInteger component2() { - return getUid(); - } - - @Override - public UInteger value1() { - return getPid(); - } - - @Override - public UInteger value2() { - return getUid(); - } - - @Override - public PublicProjectRecord value1(UInteger value) { - setPid(value); - return this; - } - - @Override - public PublicProjectRecord value2(UInteger value) { - setUid(value); - return this; - } - - @Override - public PublicProjectRecord values(UInteger value1, UInteger value2) { - value1(value1); - value2(value2); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IPublicProject from) { - setPid(from.getPid()); - setUid(from.getUid()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached PublicProjectRecord - */ - public PublicProjectRecord() { - super(PublicProject.PUBLIC_PROJECT); - } - - /** - * Create a detached, initialised PublicProjectRecord - */ - public PublicProjectRecord(UInteger pid, UInteger uid) { - super(PublicProject.PUBLIC_PROJECT); - - set(0, pid); - set(1, uid); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/UserConfigRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/UserConfigRecord.java deleted file mode 100644 index 6f6e7637e33..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/UserConfigRecord.java +++ /dev/null @@ -1,205 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.UserConfig; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IUserConfig; -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Record3; -import org.jooq.Row3; -import org.jooq.impl.UpdatableRecordImpl; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class UserConfigRecord extends UpdatableRecordImpl implements Record3, IUserConfig { - - private static final long serialVersionUID = 1371414609; - - /** - * Setter for texera_db.user_config.uid. - */ - @Override - public void setUid(UInteger value) { - set(0, value); - } - - /** - * Getter for texera_db.user_config.uid. - */ - @Override - public UInteger getUid() { - return (UInteger) get(0); - } - - /** - * Setter for texera_db.user_config.key. - */ - @Override - public void setKey(String value) { - set(1, value); - } - - /** - * Getter for texera_db.user_config.key. - */ - @Override - public String getKey() { - return (String) get(1); - } - - /** - * Setter for texera_db.user_config.value. - */ - @Override - public void setValue(String value) { - set(2, value); - } - - /** - * Getter for texera_db.user_config.value. - */ - @Override - public String getValue() { - return (String) get(2); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record2 key() { - return (Record2) super.key(); - } - - // ------------------------------------------------------------------------- - // Record3 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row3 fieldsRow() { - return (Row3) super.fieldsRow(); - } - - @Override - public Row3 valuesRow() { - return (Row3) super.valuesRow(); - } - - @Override - public Field field1() { - return UserConfig.USER_CONFIG.UID; - } - - @Override - public Field field2() { - return UserConfig.USER_CONFIG.KEY; - } - - @Override - public Field field3() { - return UserConfig.USER_CONFIG.VALUE; - } - - @Override - public UInteger component1() { - return getUid(); - } - - @Override - public String component2() { - return getKey(); - } - - @Override - public String component3() { - return getValue(); - } - - @Override - public UInteger value1() { - return getUid(); - } - - @Override - public String value2() { - return getKey(); - } - - @Override - public String value3() { - return getValue(); - } - - @Override - public UserConfigRecord value1(UInteger value) { - setUid(value); - return this; - } - - @Override - public UserConfigRecord value2(String value) { - setKey(value); - return this; - } - - @Override - public UserConfigRecord value3(String value) { - setValue(value); - return this; - } - - @Override - public UserConfigRecord values(UInteger value1, String value2, String value3) { - value1(value1); - value2(value2); - value3(value3); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IUserConfig from) { - setUid(from.getUid()); - setKey(from.getKey()); - setValue(from.getValue()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached UserConfigRecord - */ - public UserConfigRecord() { - super(UserConfig.USER_CONFIG); - } - - /** - * Create a detached, initialised UserConfigRecord - */ - public UserConfigRecord(UInteger uid, String key, String value) { - super(UserConfig.USER_CONFIG); - - set(0, uid); - set(1, key); - set(2, value); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/UserRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/UserRecord.java deleted file mode 100644 index a361a50291f..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/UserRecord.java +++ /dev/null @@ -1,366 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole; -import edu.uci.ics.texera.web.model.jooq.generated.tables.User; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IUser; -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record7; -import org.jooq.Row7; -import org.jooq.impl.UpdatableRecordImpl; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class UserRecord extends UpdatableRecordImpl implements Record7, IUser { - - private static final long serialVersionUID = -360916281; - - /** - * Setter for texera_db.user.uid. - */ - @Override - public void setUid(UInteger value) { - set(0, value); - } - - /** - * Getter for texera_db.user.uid. - */ - @Override - public UInteger getUid() { - return (UInteger) get(0); - } - - /** - * Setter for texera_db.user.name. - */ - @Override - public void setName(String value) { - set(1, value); - } - - /** - * Getter for texera_db.user.name. - */ - @Override - public String getName() { - return (String) get(1); - } - - /** - * Setter for texera_db.user.email. - */ - @Override - public void setEmail(String value) { - set(2, value); - } - - /** - * Getter for texera_db.user.email. - */ - @Override - public String getEmail() { - return (String) get(2); - } - - /** - * Setter for texera_db.user.password. - */ - @Override - public void setPassword(String value) { - set(3, value); - } - - /** - * Getter for texera_db.user.password. - */ - @Override - public String getPassword() { - return (String) get(3); - } - - /** - * Setter for texera_db.user.google_id. - */ - @Override - public void setGoogleId(String value) { - set(4, value); - } - - /** - * Getter for texera_db.user.google_id. - */ - @Override - public String getGoogleId() { - return (String) get(4); - } - - /** - * Setter for texera_db.user.role. - */ - @Override - public void setRole(UserRole value) { - set(5, value); - } - - /** - * Getter for texera_db.user.role. - */ - @Override - public UserRole getRole() { - return (UserRole) get(5); - } - - /** - * Setter for texera_db.user.google_avatar. - */ - @Override - public void setGoogleAvatar(String value) { - set(6, value); - } - - /** - * Getter for texera_db.user.google_avatar. - */ - @Override - public String getGoogleAvatar() { - return (String) get(6); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record7 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row7 fieldsRow() { - return (Row7) super.fieldsRow(); - } - - @Override - public Row7 valuesRow() { - return (Row7) super.valuesRow(); - } - - @Override - public Field field1() { - return User.USER.UID; - } - - @Override - public Field field2() { - return User.USER.NAME; - } - - @Override - public Field field3() { - return User.USER.EMAIL; - } - - @Override - public Field field4() { - return User.USER.PASSWORD; - } - - @Override - public Field field5() { - return User.USER.GOOGLE_ID; - } - - @Override - public Field field6() { - return User.USER.ROLE; - } - - @Override - public Field field7() { - return User.USER.GOOGLE_AVATAR; - } - - @Override - public UInteger component1() { - return getUid(); - } - - @Override - public String component2() { - return getName(); - } - - @Override - public String component3() { - return getEmail(); - } - - @Override - public String component4() { - return getPassword(); - } - - @Override - public String component5() { - return getGoogleId(); - } - - @Override - public UserRole component6() { - return getRole(); - } - - @Override - public String component7() { - return getGoogleAvatar(); - } - - @Override - public UInteger value1() { - return getUid(); - } - - @Override - public String value2() { - return getName(); - } - - @Override - public String value3() { - return getEmail(); - } - - @Override - public String value4() { - return getPassword(); - } - - @Override - public String value5() { - return getGoogleId(); - } - - @Override - public UserRole value6() { - return getRole(); - } - - @Override - public String value7() { - return getGoogleAvatar(); - } - - @Override - public UserRecord value1(UInteger value) { - setUid(value); - return this; - } - - @Override - public UserRecord value2(String value) { - setName(value); - return this; - } - - @Override - public UserRecord value3(String value) { - setEmail(value); - return this; - } - - @Override - public UserRecord value4(String value) { - setPassword(value); - return this; - } - - @Override - public UserRecord value5(String value) { - setGoogleId(value); - return this; - } - - @Override - public UserRecord value6(UserRole value) { - setRole(value); - return this; - } - - @Override - public UserRecord value7(String value) { - setGoogleAvatar(value); - return this; - } - - @Override - public UserRecord values(UInteger value1, String value2, String value3, String value4, String value5, UserRole value6, String value7) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IUser from) { - setUid(from.getUid()); - setName(from.getName()); - setEmail(from.getEmail()); - setPassword(from.getPassword()); - setGoogleId(from.getGoogleId()); - setRole(from.getRole()); - setGoogleAvatar(from.getGoogleAvatar()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached UserRecord - */ - public UserRecord() { - super(User.USER); - } - - /** - * Create a detached, initialised UserRecord - */ - public UserRecord(UInteger uid, String name, String email, String password, String googleId, UserRole role, String googleAvatar) { - super(User.USER); - - set(0, uid); - set(1, name); - set(2, email); - set(3, password); - set(4, googleId); - set(5, role); - set(6, googleAvatar); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowExecutionsRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowExecutionsRecord.java deleted file mode 100644 index db1251cbce1..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowExecutionsRecord.java +++ /dev/null @@ -1,527 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowExecutions; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowExecutions; -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record11; -import org.jooq.Row11; -import org.jooq.impl.UpdatableRecordImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowExecutionsRecord extends UpdatableRecordImpl implements Record11, IWorkflowExecutions { - - private static final long serialVersionUID = 1943572236; - - /** - * Setter for texera_db.workflow_executions.eid. - */ - @Override - public void setEid(UInteger value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_executions.eid. - */ - @Override - public UInteger getEid() { - return (UInteger) get(0); - } - - /** - * Setter for texera_db.workflow_executions.vid. - */ - @Override - public void setVid(UInteger value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_executions.vid. - */ - @Override - public UInteger getVid() { - return (UInteger) get(1); - } - - /** - * Setter for texera_db.workflow_executions.uid. - */ - @Override - public void setUid(UInteger value) { - set(2, value); - } - - /** - * Getter for texera_db.workflow_executions.uid. - */ - @Override - public UInteger getUid() { - return (UInteger) get(2); - } - - /** - * Setter for texera_db.workflow_executions.status. - */ - @Override - public void setStatus(Byte value) { - set(3, value); - } - - /** - * Getter for texera_db.workflow_executions.status. - */ - @Override - public Byte getStatus() { - return (Byte) get(3); - } - - /** - * Setter for texera_db.workflow_executions.result. - */ - @Override - public void setResult(String value) { - set(4, value); - } - - /** - * Getter for texera_db.workflow_executions.result. - */ - @Override - public String getResult() { - return (String) get(4); - } - - /** - * Setter for texera_db.workflow_executions.starting_time. - */ - @Override - public void setStartingTime(Timestamp value) { - set(5, value); - } - - /** - * Getter for texera_db.workflow_executions.starting_time. - */ - @Override - public Timestamp getStartingTime() { - return (Timestamp) get(5); - } - - /** - * Setter for texera_db.workflow_executions.last_update_time. - */ - @Override - public void setLastUpdateTime(Timestamp value) { - set(6, value); - } - - /** - * Getter for texera_db.workflow_executions.last_update_time. - */ - @Override - public Timestamp getLastUpdateTime() { - return (Timestamp) get(6); - } - - /** - * Setter for texera_db.workflow_executions.bookmarked. - */ - @Override - public void setBookmarked(Byte value) { - set(7, value); - } - - /** - * Getter for texera_db.workflow_executions.bookmarked. - */ - @Override - public Byte getBookmarked() { - return (Byte) get(7); - } - - /** - * Setter for texera_db.workflow_executions.name. - */ - @Override - public void setName(String value) { - set(8, value); - } - - /** - * Getter for texera_db.workflow_executions.name. - */ - @Override - public String getName() { - return (String) get(8); - } - - /** - * Setter for texera_db.workflow_executions.environment_version. - */ - @Override - public void setEnvironmentVersion(String value) { - set(9, value); - } - - /** - * Getter for texera_db.workflow_executions.environment_version. - */ - @Override - public String getEnvironmentVersion() { - return (String) get(9); - } - - /** - * Setter for texera_db.workflow_executions.log_location. - */ - @Override - public void setLogLocation(String value) { - set(10, value); - } - - /** - * Getter for texera_db.workflow_executions.log_location. - */ - @Override - public String getLogLocation() { - return (String) get(10); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record11 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row11 fieldsRow() { - return (Row11) super.fieldsRow(); - } - - @Override - public Row11 valuesRow() { - return (Row11) super.valuesRow(); - } - - @Override - public Field field1() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.EID; - } - - @Override - public Field field2() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.VID; - } - - @Override - public Field field3() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.UID; - } - - @Override - public Field field4() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.STATUS; - } - - @Override - public Field field5() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.RESULT; - } - - @Override - public Field field6() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.STARTING_TIME; - } - - @Override - public Field field7() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.LAST_UPDATE_TIME; - } - - @Override - public Field field8() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.BOOKMARKED; - } - - @Override - public Field field9() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.NAME; - } - - @Override - public Field field10() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.ENVIRONMENT_VERSION; - } - - @Override - public Field field11() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.LOG_LOCATION; - } - - @Override - public UInteger component1() { - return getEid(); - } - - @Override - public UInteger component2() { - return getVid(); - } - - @Override - public UInteger component3() { - return getUid(); - } - - @Override - public Byte component4() { - return getStatus(); - } - - @Override - public String component5() { - return getResult(); - } - - @Override - public Timestamp component6() { - return getStartingTime(); - } - - @Override - public Timestamp component7() { - return getLastUpdateTime(); - } - - @Override - public Byte component8() { - return getBookmarked(); - } - - @Override - public String component9() { - return getName(); - } - - @Override - public String component10() { - return getEnvironmentVersion(); - } - - @Override - public String component11() { - return getLogLocation(); - } - - @Override - public UInteger value1() { - return getEid(); - } - - @Override - public UInteger value2() { - return getVid(); - } - - @Override - public UInteger value3() { - return getUid(); - } - - @Override - public Byte value4() { - return getStatus(); - } - - @Override - public String value5() { - return getResult(); - } - - @Override - public Timestamp value6() { - return getStartingTime(); - } - - @Override - public Timestamp value7() { - return getLastUpdateTime(); - } - - @Override - public Byte value8() { - return getBookmarked(); - } - - @Override - public String value9() { - return getName(); - } - - @Override - public String value10() { - return getEnvironmentVersion(); - } - - @Override - public String value11() { - return getLogLocation(); - } - - @Override - public WorkflowExecutionsRecord value1(UInteger value) { - setEid(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value2(UInteger value) { - setVid(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value3(UInteger value) { - setUid(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value4(Byte value) { - setStatus(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value5(String value) { - setResult(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value6(Timestamp value) { - setStartingTime(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value7(Timestamp value) { - setLastUpdateTime(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value8(Byte value) { - setBookmarked(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value9(String value) { - setName(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value10(String value) { - setEnvironmentVersion(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value11(String value) { - setLogLocation(value); - return this; - } - - @Override - public WorkflowExecutionsRecord values(UInteger value1, UInteger value2, UInteger value3, Byte value4, String value5, Timestamp value6, Timestamp value7, Byte value8, String value9, String value10, String value11) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowExecutions from) { - setEid(from.getEid()); - setVid(from.getVid()); - setUid(from.getUid()); - setStatus(from.getStatus()); - setResult(from.getResult()); - setStartingTime(from.getStartingTime()); - setLastUpdateTime(from.getLastUpdateTime()); - setBookmarked(from.getBookmarked()); - setName(from.getName()); - setEnvironmentVersion(from.getEnvironmentVersion()); - setLogLocation(from.getLogLocation()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached WorkflowExecutionsRecord - */ - public WorkflowExecutionsRecord() { - super(WorkflowExecutions.WORKFLOW_EXECUTIONS); - } - - /** - * Create a detached, initialised WorkflowExecutionsRecord - */ - public WorkflowExecutionsRecord(UInteger eid, UInteger vid, UInteger uid, Byte status, String result, Timestamp startingTime, Timestamp lastUpdateTime, Byte bookmarked, String name, String environmentVersion, String logLocation) { - super(WorkflowExecutions.WORKFLOW_EXECUTIONS); - - set(0, eid); - set(1, vid); - set(2, uid); - set(3, status); - set(4, result); - set(5, startingTime); - set(6, lastUpdateTime); - set(7, bookmarked); - set(8, name); - set(9, environmentVersion); - set(10, logLocation); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowOfProjectRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowOfProjectRecord.java deleted file mode 100644 index b3deecb03a1..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowOfProjectRecord.java +++ /dev/null @@ -1,164 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowOfProject; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowOfProject; -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.UpdatableRecordImpl; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowOfProjectRecord extends UpdatableRecordImpl implements Record2, IWorkflowOfProject { - - private static final long serialVersionUID = 919631497; - - /** - * Setter for texera_db.workflow_of_project.wid. - */ - @Override - public void setWid(UInteger value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_of_project.wid. - */ - @Override - public UInteger getWid() { - return (UInteger) get(0); - } - - /** - * Setter for texera_db.workflow_of_project.pid. - */ - @Override - public void setPid(UInteger value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_of_project.pid. - */ - @Override - public UInteger getPid() { - return (UInteger) get(1); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record2 key() { - return (Record2) super.key(); - } - - // ------------------------------------------------------------------------- - // Record2 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } - - @Override - public Row2 valuesRow() { - return (Row2) super.valuesRow(); - } - - @Override - public Field field1() { - return WorkflowOfProject.WORKFLOW_OF_PROJECT.WID; - } - - @Override - public Field field2() { - return WorkflowOfProject.WORKFLOW_OF_PROJECT.PID; - } - - @Override - public UInteger component1() { - return getWid(); - } - - @Override - public UInteger component2() { - return getPid(); - } - - @Override - public UInteger value1() { - return getWid(); - } - - @Override - public UInteger value2() { - return getPid(); - } - - @Override - public WorkflowOfProjectRecord value1(UInteger value) { - setWid(value); - return this; - } - - @Override - public WorkflowOfProjectRecord value2(UInteger value) { - setPid(value); - return this; - } - - @Override - public WorkflowOfProjectRecord values(UInteger value1, UInteger value2) { - value1(value1); - value2(value2); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowOfProject from) { - setWid(from.getWid()); - setPid(from.getPid()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached WorkflowOfProjectRecord - */ - public WorkflowOfProjectRecord() { - super(WorkflowOfProject.WORKFLOW_OF_PROJECT); - } - - /** - * Create a detached, initialised WorkflowOfProjectRecord - */ - public WorkflowOfProjectRecord(UInteger wid, UInteger pid) { - super(WorkflowOfProject.WORKFLOW_OF_PROJECT); - - set(0, wid); - set(1, pid); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowOfUserRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowOfUserRecord.java deleted file mode 100644 index 832a05fa073..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowOfUserRecord.java +++ /dev/null @@ -1,164 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowOfUser; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowOfUser; -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.UpdatableRecordImpl; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowOfUserRecord extends UpdatableRecordImpl implements Record2, IWorkflowOfUser { - - private static final long serialVersionUID = -189114339; - - /** - * Setter for texera_db.workflow_of_user.uid. - */ - @Override - public void setUid(UInteger value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_of_user.uid. - */ - @Override - public UInteger getUid() { - return (UInteger) get(0); - } - - /** - * Setter for texera_db.workflow_of_user.wid. - */ - @Override - public void setWid(UInteger value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_of_user.wid. - */ - @Override - public UInteger getWid() { - return (UInteger) get(1); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record2 key() { - return (Record2) super.key(); - } - - // ------------------------------------------------------------------------- - // Record2 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } - - @Override - public Row2 valuesRow() { - return (Row2) super.valuesRow(); - } - - @Override - public Field field1() { - return WorkflowOfUser.WORKFLOW_OF_USER.UID; - } - - @Override - public Field field2() { - return WorkflowOfUser.WORKFLOW_OF_USER.WID; - } - - @Override - public UInteger component1() { - return getUid(); - } - - @Override - public UInteger component2() { - return getWid(); - } - - @Override - public UInteger value1() { - return getUid(); - } - - @Override - public UInteger value2() { - return getWid(); - } - - @Override - public WorkflowOfUserRecord value1(UInteger value) { - setUid(value); - return this; - } - - @Override - public WorkflowOfUserRecord value2(UInteger value) { - setWid(value); - return this; - } - - @Override - public WorkflowOfUserRecord values(UInteger value1, UInteger value2) { - value1(value1); - value2(value2); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowOfUser from) { - setUid(from.getUid()); - setWid(from.getWid()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached WorkflowOfUserRecord - */ - public WorkflowOfUserRecord() { - super(WorkflowOfUser.WORKFLOW_OF_USER); - } - - /** - * Create a detached, initialised WorkflowOfUserRecord - */ - public WorkflowOfUserRecord(UInteger uid, UInteger wid) { - super(WorkflowOfUser.WORKFLOW_OF_USER); - - set(0, uid); - set(1, wid); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowRecord.java deleted file mode 100644 index d46ecd2af29..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowRecord.java +++ /dev/null @@ -1,367 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.Workflow; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflow; -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record7; -import org.jooq.Row7; -import org.jooq.impl.UpdatableRecordImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowRecord extends UpdatableRecordImpl implements Record7, IWorkflow { - - private static final long serialVersionUID = 702670612; - - /** - * Setter for texera_db.workflow.name. - */ - @Override - public void setName(String value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow.name. - */ - @Override - public String getName() { - return (String) get(0); - } - - /** - * Setter for texera_db.workflow.description. - */ - @Override - public void setDescription(String value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow.description. - */ - @Override - public String getDescription() { - return (String) get(1); - } - - /** - * Setter for texera_db.workflow.wid. - */ - @Override - public void setWid(UInteger value) { - set(2, value); - } - - /** - * Getter for texera_db.workflow.wid. - */ - @Override - public UInteger getWid() { - return (UInteger) get(2); - } - - /** - * Setter for texera_db.workflow.content. - */ - @Override - public void setContent(String value) { - set(3, value); - } - - /** - * Getter for texera_db.workflow.content. - */ - @Override - public String getContent() { - return (String) get(3); - } - - /** - * Setter for texera_db.workflow.creation_time. - */ - @Override - public void setCreationTime(Timestamp value) { - set(4, value); - } - - /** - * Getter for texera_db.workflow.creation_time. - */ - @Override - public Timestamp getCreationTime() { - return (Timestamp) get(4); - } - - /** - * Setter for texera_db.workflow.last_modified_time. - */ - @Override - public void setLastModifiedTime(Timestamp value) { - set(5, value); - } - - /** - * Getter for texera_db.workflow.last_modified_time. - */ - @Override - public Timestamp getLastModifiedTime() { - return (Timestamp) get(5); - } - - /** - * Setter for texera_db.workflow.is_published. - */ - @Override - public void setIsPublished(Byte value) { - set(6, value); - } - - /** - * Getter for texera_db.workflow.is_published. - */ - @Override - public Byte getIsPublished() { - return (Byte) get(6); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record7 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row7 fieldsRow() { - return (Row7) super.fieldsRow(); - } - - @Override - public Row7 valuesRow() { - return (Row7) super.valuesRow(); - } - - @Override - public Field field1() { - return Workflow.WORKFLOW.NAME; - } - - @Override - public Field field2() { - return Workflow.WORKFLOW.DESCRIPTION; - } - - @Override - public Field field3() { - return Workflow.WORKFLOW.WID; - } - - @Override - public Field field4() { - return Workflow.WORKFLOW.CONTENT; - } - - @Override - public Field field5() { - return Workflow.WORKFLOW.CREATION_TIME; - } - - @Override - public Field field6() { - return Workflow.WORKFLOW.LAST_MODIFIED_TIME; - } - - @Override - public Field field7() { - return Workflow.WORKFLOW.IS_PUBLISHED; - } - - @Override - public String component1() { - return getName(); - } - - @Override - public String component2() { - return getDescription(); - } - - @Override - public UInteger component3() { - return getWid(); - } - - @Override - public String component4() { - return getContent(); - } - - @Override - public Timestamp component5() { - return getCreationTime(); - } - - @Override - public Timestamp component6() { - return getLastModifiedTime(); - } - - @Override - public Byte component7() { - return getIsPublished(); - } - - @Override - public String value1() { - return getName(); - } - - @Override - public String value2() { - return getDescription(); - } - - @Override - public UInteger value3() { - return getWid(); - } - - @Override - public String value4() { - return getContent(); - } - - @Override - public Timestamp value5() { - return getCreationTime(); - } - - @Override - public Timestamp value6() { - return getLastModifiedTime(); - } - - @Override - public Byte value7() { - return getIsPublished(); - } - - @Override - public WorkflowRecord value1(String value) { - setName(value); - return this; - } - - @Override - public WorkflowRecord value2(String value) { - setDescription(value); - return this; - } - - @Override - public WorkflowRecord value3(UInteger value) { - setWid(value); - return this; - } - - @Override - public WorkflowRecord value4(String value) { - setContent(value); - return this; - } - - @Override - public WorkflowRecord value5(Timestamp value) { - setCreationTime(value); - return this; - } - - @Override - public WorkflowRecord value6(Timestamp value) { - setLastModifiedTime(value); - return this; - } - - @Override - public WorkflowRecord value7(Byte value) { - setIsPublished(value); - return this; - } - - @Override - public WorkflowRecord values(String value1, String value2, UInteger value3, String value4, Timestamp value5, Timestamp value6, Byte value7) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflow from) { - setName(from.getName()); - setDescription(from.getDescription()); - setWid(from.getWid()); - setContent(from.getContent()); - setCreationTime(from.getCreationTime()); - setLastModifiedTime(from.getLastModifiedTime()); - setIsPublished(from.getIsPublished()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached WorkflowRecord - */ - public WorkflowRecord() { - super(Workflow.WORKFLOW); - } - - /** - * Create a detached, initialised WorkflowRecord - */ - public WorkflowRecord(String name, String description, UInteger wid, String content, Timestamp creationTime, Timestamp lastModifiedTime, Byte isPublished) { - super(Workflow.WORKFLOW); - - set(0, name); - set(1, description); - set(2, wid); - set(3, content); - set(4, creationTime); - set(5, lastModifiedTime); - set(6, isPublished); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowRuntimeStatisticsRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowRuntimeStatisticsRecord.java deleted file mode 100644 index cbd5a9066d7..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowRuntimeStatisticsRecord.java +++ /dev/null @@ -1,528 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowRuntimeStatistics; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowRuntimeStatistics; -import org.jooq.Field; -import org.jooq.Record11; -import org.jooq.Record4; -import org.jooq.Row11; -import org.jooq.impl.UpdatableRecordImpl; -import org.jooq.types.UInteger; -import org.jooq.types.ULong; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowRuntimeStatisticsRecord extends UpdatableRecordImpl implements Record11, IWorkflowRuntimeStatistics { - - private static final long serialVersionUID = 367945669; - - /** - * Setter for texera_db.workflow_runtime_statistics.workflow_id. - */ - @Override - public void setWorkflowId(UInteger value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_runtime_statistics.workflow_id. - */ - @Override - public UInteger getWorkflowId() { - return (UInteger) get(0); - } - - /** - * Setter for texera_db.workflow_runtime_statistics.execution_id. - */ - @Override - public void setExecutionId(UInteger value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_runtime_statistics.execution_id. - */ - @Override - public UInteger getExecutionId() { - return (UInteger) get(1); - } - - /** - * Setter for texera_db.workflow_runtime_statistics.operator_id. - */ - @Override - public void setOperatorId(String value) { - set(2, value); - } - - /** - * Getter for texera_db.workflow_runtime_statistics.operator_id. - */ - @Override - public String getOperatorId() { - return (String) get(2); - } - - /** - * Setter for texera_db.workflow_runtime_statistics.time. - */ - @Override - public void setTime(Timestamp value) { - set(3, value); - } - - /** - * Getter for texera_db.workflow_runtime_statistics.time. - */ - @Override - public Timestamp getTime() { - return (Timestamp) get(3); - } - - /** - * Setter for texera_db.workflow_runtime_statistics.input_tuple_cnt. - */ - @Override - public void setInputTupleCnt(UInteger value) { - set(4, value); - } - - /** - * Getter for texera_db.workflow_runtime_statistics.input_tuple_cnt. - */ - @Override - public UInteger getInputTupleCnt() { - return (UInteger) get(4); - } - - /** - * Setter for texera_db.workflow_runtime_statistics.output_tuple_cnt. - */ - @Override - public void setOutputTupleCnt(UInteger value) { - set(5, value); - } - - /** - * Getter for texera_db.workflow_runtime_statistics.output_tuple_cnt. - */ - @Override - public UInteger getOutputTupleCnt() { - return (UInteger) get(5); - } - - /** - * Setter for texera_db.workflow_runtime_statistics.status. - */ - @Override - public void setStatus(Byte value) { - set(6, value); - } - - /** - * Getter for texera_db.workflow_runtime_statistics.status. - */ - @Override - public Byte getStatus() { - return (Byte) get(6); - } - - /** - * Setter for texera_db.workflow_runtime_statistics.data_processing_time. - */ - @Override - public void setDataProcessingTime(ULong value) { - set(7, value); - } - - /** - * Getter for texera_db.workflow_runtime_statistics.data_processing_time. - */ - @Override - public ULong getDataProcessingTime() { - return (ULong) get(7); - } - - /** - * Setter for texera_db.workflow_runtime_statistics.control_processing_time. - */ - @Override - public void setControlProcessingTime(ULong value) { - set(8, value); - } - - /** - * Getter for texera_db.workflow_runtime_statistics.control_processing_time. - */ - @Override - public ULong getControlProcessingTime() { - return (ULong) get(8); - } - - /** - * Setter for texera_db.workflow_runtime_statistics.idle_time. - */ - @Override - public void setIdleTime(ULong value) { - set(9, value); - } - - /** - * Getter for texera_db.workflow_runtime_statistics.idle_time. - */ - @Override - public ULong getIdleTime() { - return (ULong) get(9); - } - - /** - * Setter for texera_db.workflow_runtime_statistics.num_workers. - */ - @Override - public void setNumWorkers(UInteger value) { - set(10, value); - } - - /** - * Getter for texera_db.workflow_runtime_statistics.num_workers. - */ - @Override - public UInteger getNumWorkers() { - return (UInteger) get(10); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record4 key() { - return (Record4) super.key(); - } - - // ------------------------------------------------------------------------- - // Record11 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row11 fieldsRow() { - return (Row11) super.fieldsRow(); - } - - @Override - public Row11 valuesRow() { - return (Row11) super.valuesRow(); - } - - @Override - public Field field1() { - return WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.WORKFLOW_ID; - } - - @Override - public Field field2() { - return WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.EXECUTION_ID; - } - - @Override - public Field field3() { - return WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.OPERATOR_ID; - } - - @Override - public Field field4() { - return WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.TIME; - } - - @Override - public Field field5() { - return WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.INPUT_TUPLE_CNT; - } - - @Override - public Field field6() { - return WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.OUTPUT_TUPLE_CNT; - } - - @Override - public Field field7() { - return WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.STATUS; - } - - @Override - public Field field8() { - return WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.DATA_PROCESSING_TIME; - } - - @Override - public Field field9() { - return WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.CONTROL_PROCESSING_TIME; - } - - @Override - public Field field10() { - return WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.IDLE_TIME; - } - - @Override - public Field field11() { - return WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS.NUM_WORKERS; - } - - @Override - public UInteger component1() { - return getWorkflowId(); - } - - @Override - public UInteger component2() { - return getExecutionId(); - } - - @Override - public String component3() { - return getOperatorId(); - } - - @Override - public Timestamp component4() { - return getTime(); - } - - @Override - public UInteger component5() { - return getInputTupleCnt(); - } - - @Override - public UInteger component6() { - return getOutputTupleCnt(); - } - - @Override - public Byte component7() { - return getStatus(); - } - - @Override - public ULong component8() { - return getDataProcessingTime(); - } - - @Override - public ULong component9() { - return getControlProcessingTime(); - } - - @Override - public ULong component10() { - return getIdleTime(); - } - - @Override - public UInteger component11() { - return getNumWorkers(); - } - - @Override - public UInteger value1() { - return getWorkflowId(); - } - - @Override - public UInteger value2() { - return getExecutionId(); - } - - @Override - public String value3() { - return getOperatorId(); - } - - @Override - public Timestamp value4() { - return getTime(); - } - - @Override - public UInteger value5() { - return getInputTupleCnt(); - } - - @Override - public UInteger value6() { - return getOutputTupleCnt(); - } - - @Override - public Byte value7() { - return getStatus(); - } - - @Override - public ULong value8() { - return getDataProcessingTime(); - } - - @Override - public ULong value9() { - return getControlProcessingTime(); - } - - @Override - public ULong value10() { - return getIdleTime(); - } - - @Override - public UInteger value11() { - return getNumWorkers(); - } - - @Override - public WorkflowRuntimeStatisticsRecord value1(UInteger value) { - setWorkflowId(value); - return this; - } - - @Override - public WorkflowRuntimeStatisticsRecord value2(UInteger value) { - setExecutionId(value); - return this; - } - - @Override - public WorkflowRuntimeStatisticsRecord value3(String value) { - setOperatorId(value); - return this; - } - - @Override - public WorkflowRuntimeStatisticsRecord value4(Timestamp value) { - setTime(value); - return this; - } - - @Override - public WorkflowRuntimeStatisticsRecord value5(UInteger value) { - setInputTupleCnt(value); - return this; - } - - @Override - public WorkflowRuntimeStatisticsRecord value6(UInteger value) { - setOutputTupleCnt(value); - return this; - } - - @Override - public WorkflowRuntimeStatisticsRecord value7(Byte value) { - setStatus(value); - return this; - } - - @Override - public WorkflowRuntimeStatisticsRecord value8(ULong value) { - setDataProcessingTime(value); - return this; - } - - @Override - public WorkflowRuntimeStatisticsRecord value9(ULong value) { - setControlProcessingTime(value); - return this; - } - - @Override - public WorkflowRuntimeStatisticsRecord value10(ULong value) { - setIdleTime(value); - return this; - } - - @Override - public WorkflowRuntimeStatisticsRecord value11(UInteger value) { - setNumWorkers(value); - return this; - } - - @Override - public WorkflowRuntimeStatisticsRecord values(UInteger value1, UInteger value2, String value3, Timestamp value4, UInteger value5, UInteger value6, Byte value7, ULong value8, ULong value9, ULong value10, UInteger value11) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowRuntimeStatistics from) { - setWorkflowId(from.getWorkflowId()); - setExecutionId(from.getExecutionId()); - setOperatorId(from.getOperatorId()); - setTime(from.getTime()); - setInputTupleCnt(from.getInputTupleCnt()); - setOutputTupleCnt(from.getOutputTupleCnt()); - setStatus(from.getStatus()); - setDataProcessingTime(from.getDataProcessingTime()); - setControlProcessingTime(from.getControlProcessingTime()); - setIdleTime(from.getIdleTime()); - setNumWorkers(from.getNumWorkers()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached WorkflowRuntimeStatisticsRecord - */ - public WorkflowRuntimeStatisticsRecord() { - super(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS); - } - - /** - * Create a detached, initialised WorkflowRuntimeStatisticsRecord - */ - public WorkflowRuntimeStatisticsRecord(UInteger workflowId, UInteger executionId, String operatorId, Timestamp time, UInteger inputTupleCnt, UInteger outputTupleCnt, Byte status, ULong dataProcessingTime, ULong controlProcessingTime, ULong idleTime, UInteger numWorkers) { - super(WorkflowRuntimeStatistics.WORKFLOW_RUNTIME_STATISTICS); - - set(0, workflowId); - set(1, executionId); - set(2, operatorId); - set(3, time); - set(4, inputTupleCnt); - set(5, outputTupleCnt); - set(6, status); - set(7, dataProcessingTime); - set(8, controlProcessingTime); - set(9, idleTime); - set(10, numWorkers); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserAccessRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserAccessRecord.java deleted file mode 100644 index aee2234dd3c..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserAccessRecord.java +++ /dev/null @@ -1,206 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.enums.WorkflowUserAccessPrivilege; -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowUserAccess; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowUserAccess; -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Record3; -import org.jooq.Row3; -import org.jooq.impl.UpdatableRecordImpl; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowUserAccessRecord extends UpdatableRecordImpl implements Record3, IWorkflowUserAccess { - - private static final long serialVersionUID = 994708214; - - /** - * Setter for texera_db.workflow_user_access.uid. - */ - @Override - public void setUid(UInteger value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_user_access.uid. - */ - @Override - public UInteger getUid() { - return (UInteger) get(0); - } - - /** - * Setter for texera_db.workflow_user_access.wid. - */ - @Override - public void setWid(UInteger value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_user_access.wid. - */ - @Override - public UInteger getWid() { - return (UInteger) get(1); - } - - /** - * Setter for texera_db.workflow_user_access.privilege. - */ - @Override - public void setPrivilege(WorkflowUserAccessPrivilege value) { - set(2, value); - } - - /** - * Getter for texera_db.workflow_user_access.privilege. - */ - @Override - public WorkflowUserAccessPrivilege getPrivilege() { - return (WorkflowUserAccessPrivilege) get(2); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record2 key() { - return (Record2) super.key(); - } - - // ------------------------------------------------------------------------- - // Record3 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row3 fieldsRow() { - return (Row3) super.fieldsRow(); - } - - @Override - public Row3 valuesRow() { - return (Row3) super.valuesRow(); - } - - @Override - public Field field1() { - return WorkflowUserAccess.WORKFLOW_USER_ACCESS.UID; - } - - @Override - public Field field2() { - return WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID; - } - - @Override - public Field field3() { - return WorkflowUserAccess.WORKFLOW_USER_ACCESS.PRIVILEGE; - } - - @Override - public UInteger component1() { - return getUid(); - } - - @Override - public UInteger component2() { - return getWid(); - } - - @Override - public WorkflowUserAccessPrivilege component3() { - return getPrivilege(); - } - - @Override - public UInteger value1() { - return getUid(); - } - - @Override - public UInteger value2() { - return getWid(); - } - - @Override - public WorkflowUserAccessPrivilege value3() { - return getPrivilege(); - } - - @Override - public WorkflowUserAccessRecord value1(UInteger value) { - setUid(value); - return this; - } - - @Override - public WorkflowUserAccessRecord value2(UInteger value) { - setWid(value); - return this; - } - - @Override - public WorkflowUserAccessRecord value3(WorkflowUserAccessPrivilege value) { - setPrivilege(value); - return this; - } - - @Override - public WorkflowUserAccessRecord values(UInteger value1, UInteger value2, WorkflowUserAccessPrivilege value3) { - value1(value1); - value2(value2); - value3(value3); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowUserAccess from) { - setUid(from.getUid()); - setWid(from.getWid()); - setPrivilege(from.getPrivilege()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached WorkflowUserAccessRecord - */ - public WorkflowUserAccessRecord() { - super(WorkflowUserAccess.WORKFLOW_USER_ACCESS); - } - - /** - * Create a detached, initialised WorkflowUserAccessRecord - */ - public WorkflowUserAccessRecord(UInteger uid, UInteger wid, WorkflowUserAccessPrivilege privilege) { - super(WorkflowUserAccess.WORKFLOW_USER_ACCESS); - - set(0, uid); - set(1, wid); - set(2, privilege); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserActivityRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserActivityRecord.java deleted file mode 100644 index 9ed813c9d5a..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserActivityRecord.java +++ /dev/null @@ -1,277 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowUserActivity; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowUserActivity; -import org.jooq.Field; -import org.jooq.Record5; -import org.jooq.Row5; -import org.jooq.impl.TableRecordImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowUserActivityRecord extends TableRecordImpl implements Record5, IWorkflowUserActivity { - - private static final long serialVersionUID = 2045137390; - - /** - * Setter for texera_db.workflow_user_activity.uid. - */ - @Override - public void setUid(UInteger value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_user_activity.uid. - */ - @Override - public UInteger getUid() { - return (UInteger) get(0); - } - - /** - * Setter for texera_db.workflow_user_activity.wid. - */ - @Override - public void setWid(UInteger value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_user_activity.wid. - */ - @Override - public UInteger getWid() { - return (UInteger) get(1); - } - - /** - * Setter for texera_db.workflow_user_activity.ip. - */ - @Override - public void setIp(String value) { - set(2, value); - } - - /** - * Getter for texera_db.workflow_user_activity.ip. - */ - @Override - public String getIp() { - return (String) get(2); - } - - /** - * Setter for texera_db.workflow_user_activity.activate. - */ - @Override - public void setActivate(String value) { - set(3, value); - } - - /** - * Getter for texera_db.workflow_user_activity.activate. - */ - @Override - public String getActivate() { - return (String) get(3); - } - - /** - * Setter for texera_db.workflow_user_activity.activity_time. - */ - @Override - public void setActivityTime(Timestamp value) { - set(4, value); - } - - /** - * Getter for texera_db.workflow_user_activity.activity_time. - */ - @Override - public Timestamp getActivityTime() { - return (Timestamp) get(4); - } - - // ------------------------------------------------------------------------- - // Record5 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row5 fieldsRow() { - return (Row5) super.fieldsRow(); - } - - @Override - public Row5 valuesRow() { - return (Row5) super.valuesRow(); - } - - @Override - public Field field1() { - return WorkflowUserActivity.WORKFLOW_USER_ACTIVITY.UID; - } - - @Override - public Field field2() { - return WorkflowUserActivity.WORKFLOW_USER_ACTIVITY.WID; - } - - @Override - public Field field3() { - return WorkflowUserActivity.WORKFLOW_USER_ACTIVITY.IP; - } - - @Override - public Field field4() { - return WorkflowUserActivity.WORKFLOW_USER_ACTIVITY.ACTIVATE; - } - - @Override - public Field field5() { - return WorkflowUserActivity.WORKFLOW_USER_ACTIVITY.ACTIVITY_TIME; - } - - @Override - public UInteger component1() { - return getUid(); - } - - @Override - public UInteger component2() { - return getWid(); - } - - @Override - public String component3() { - return getIp(); - } - - @Override - public String component4() { - return getActivate(); - } - - @Override - public Timestamp component5() { - return getActivityTime(); - } - - @Override - public UInteger value1() { - return getUid(); - } - - @Override - public UInteger value2() { - return getWid(); - } - - @Override - public String value3() { - return getIp(); - } - - @Override - public String value4() { - return getActivate(); - } - - @Override - public Timestamp value5() { - return getActivityTime(); - } - - @Override - public WorkflowUserActivityRecord value1(UInteger value) { - setUid(value); - return this; - } - - @Override - public WorkflowUserActivityRecord value2(UInteger value) { - setWid(value); - return this; - } - - @Override - public WorkflowUserActivityRecord value3(String value) { - setIp(value); - return this; - } - - @Override - public WorkflowUserActivityRecord value4(String value) { - setActivate(value); - return this; - } - - @Override - public WorkflowUserActivityRecord value5(Timestamp value) { - setActivityTime(value); - return this; - } - - @Override - public WorkflowUserActivityRecord values(UInteger value1, UInteger value2, String value3, String value4, Timestamp value5) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowUserActivity from) { - setUid(from.getUid()); - setWid(from.getWid()); - setIp(from.getIp()); - setActivate(from.getActivate()); - setActivityTime(from.getActivityTime()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached WorkflowUserActivityRecord - */ - public WorkflowUserActivityRecord() { - super(WorkflowUserActivity.WORKFLOW_USER_ACTIVITY); - } - - /** - * Create a detached, initialised WorkflowUserActivityRecord - */ - public WorkflowUserActivityRecord(UInteger uid, UInteger wid, String ip, String activate, Timestamp activityTime) { - super(WorkflowUserActivity.WORKFLOW_USER_ACTIVITY); - - set(0, uid); - set(1, wid); - set(2, ip); - set(3, activate); - set(4, activityTime); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserClonesRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserClonesRecord.java deleted file mode 100644 index 4c97870a473..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserClonesRecord.java +++ /dev/null @@ -1,164 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowUserClones; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowUserClones; -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.UpdatableRecordImpl; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowUserClonesRecord extends UpdatableRecordImpl implements Record2, IWorkflowUserClones { - - private static final long serialVersionUID = 1619439529; - - /** - * Setter for texera_db.workflow_user_clones.uid. - */ - @Override - public void setUid(UInteger value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_user_clones.uid. - */ - @Override - public UInteger getUid() { - return (UInteger) get(0); - } - - /** - * Setter for texera_db.workflow_user_clones.wid. - */ - @Override - public void setWid(UInteger value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_user_clones.wid. - */ - @Override - public UInteger getWid() { - return (UInteger) get(1); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record2 key() { - return (Record2) super.key(); - } - - // ------------------------------------------------------------------------- - // Record2 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } - - @Override - public Row2 valuesRow() { - return (Row2) super.valuesRow(); - } - - @Override - public Field field1() { - return WorkflowUserClones.WORKFLOW_USER_CLONES.UID; - } - - @Override - public Field field2() { - return WorkflowUserClones.WORKFLOW_USER_CLONES.WID; - } - - @Override - public UInteger component1() { - return getUid(); - } - - @Override - public UInteger component2() { - return getWid(); - } - - @Override - public UInteger value1() { - return getUid(); - } - - @Override - public UInteger value2() { - return getWid(); - } - - @Override - public WorkflowUserClonesRecord value1(UInteger value) { - setUid(value); - return this; - } - - @Override - public WorkflowUserClonesRecord value2(UInteger value) { - setWid(value); - return this; - } - - @Override - public WorkflowUserClonesRecord values(UInteger value1, UInteger value2) { - value1(value1); - value2(value2); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowUserClones from) { - setUid(from.getUid()); - setWid(from.getWid()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached WorkflowUserClonesRecord - */ - public WorkflowUserClonesRecord() { - super(WorkflowUserClones.WORKFLOW_USER_CLONES); - } - - /** - * Create a detached, initialised WorkflowUserClonesRecord - */ - public WorkflowUserClonesRecord(UInteger uid, UInteger wid) { - super(WorkflowUserClones.WORKFLOW_USER_CLONES); - - set(0, uid); - set(1, wid); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserLikesRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserLikesRecord.java deleted file mode 100644 index af0704c4779..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowUserLikesRecord.java +++ /dev/null @@ -1,164 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowUserLikes; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowUserLikes; -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.UpdatableRecordImpl; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowUserLikesRecord extends UpdatableRecordImpl implements Record2, IWorkflowUserLikes { - - private static final long serialVersionUID = -1129677921; - - /** - * Setter for texera_db.workflow_user_likes.uid. - */ - @Override - public void setUid(UInteger value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_user_likes.uid. - */ - @Override - public UInteger getUid() { - return (UInteger) get(0); - } - - /** - * Setter for texera_db.workflow_user_likes.wid. - */ - @Override - public void setWid(UInteger value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_user_likes.wid. - */ - @Override - public UInteger getWid() { - return (UInteger) get(1); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record2 key() { - return (Record2) super.key(); - } - - // ------------------------------------------------------------------------- - // Record2 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } - - @Override - public Row2 valuesRow() { - return (Row2) super.valuesRow(); - } - - @Override - public Field field1() { - return WorkflowUserLikes.WORKFLOW_USER_LIKES.UID; - } - - @Override - public Field field2() { - return WorkflowUserLikes.WORKFLOW_USER_LIKES.WID; - } - - @Override - public UInteger component1() { - return getUid(); - } - - @Override - public UInteger component2() { - return getWid(); - } - - @Override - public UInteger value1() { - return getUid(); - } - - @Override - public UInteger value2() { - return getWid(); - } - - @Override - public WorkflowUserLikesRecord value1(UInteger value) { - setUid(value); - return this; - } - - @Override - public WorkflowUserLikesRecord value2(UInteger value) { - setWid(value); - return this; - } - - @Override - public WorkflowUserLikesRecord values(UInteger value1, UInteger value2) { - value1(value1); - value2(value2); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowUserLikes from) { - setUid(from.getUid()); - setWid(from.getWid()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached WorkflowUserLikesRecord - */ - public WorkflowUserLikesRecord() { - super(WorkflowUserLikes.WORKFLOW_USER_LIKES); - } - - /** - * Create a detached, initialised WorkflowUserLikesRecord - */ - public WorkflowUserLikesRecord(UInteger uid, UInteger wid) { - super(WorkflowUserLikes.WORKFLOW_USER_LIKES); - - set(0, uid); - set(1, wid); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowVersionRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowVersionRecord.java deleted file mode 100644 index 269ff75ee9a..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowVersionRecord.java +++ /dev/null @@ -1,247 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowVersion; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowVersion; -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record4; -import org.jooq.Row4; -import org.jooq.impl.UpdatableRecordImpl; -import org.jooq.types.UInteger; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowVersionRecord extends UpdatableRecordImpl implements Record4, IWorkflowVersion { - - private static final long serialVersionUID = 951015556; - - /** - * Setter for texera_db.workflow_version.vid. - */ - @Override - public void setVid(UInteger value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_version.vid. - */ - @Override - public UInteger getVid() { - return (UInteger) get(0); - } - - /** - * Setter for texera_db.workflow_version.wid. - */ - @Override - public void setWid(UInteger value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_version.wid. - */ - @Override - public UInteger getWid() { - return (UInteger) get(1); - } - - /** - * Setter for texera_db.workflow_version.content. - */ - @Override - public void setContent(String value) { - set(2, value); - } - - /** - * Getter for texera_db.workflow_version.content. - */ - @Override - public String getContent() { - return (String) get(2); - } - - /** - * Setter for texera_db.workflow_version.creation_time. - */ - @Override - public void setCreationTime(Timestamp value) { - set(3, value); - } - - /** - * Getter for texera_db.workflow_version.creation_time. - */ - @Override - public Timestamp getCreationTime() { - return (Timestamp) get(3); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record4 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row4 fieldsRow() { - return (Row4) super.fieldsRow(); - } - - @Override - public Row4 valuesRow() { - return (Row4) super.valuesRow(); - } - - @Override - public Field field1() { - return WorkflowVersion.WORKFLOW_VERSION.VID; - } - - @Override - public Field field2() { - return WorkflowVersion.WORKFLOW_VERSION.WID; - } - - @Override - public Field field3() { - return WorkflowVersion.WORKFLOW_VERSION.CONTENT; - } - - @Override - public Field field4() { - return WorkflowVersion.WORKFLOW_VERSION.CREATION_TIME; - } - - @Override - public UInteger component1() { - return getVid(); - } - - @Override - public UInteger component2() { - return getWid(); - } - - @Override - public String component3() { - return getContent(); - } - - @Override - public Timestamp component4() { - return getCreationTime(); - } - - @Override - public UInteger value1() { - return getVid(); - } - - @Override - public UInteger value2() { - return getWid(); - } - - @Override - public String value3() { - return getContent(); - } - - @Override - public Timestamp value4() { - return getCreationTime(); - } - - @Override - public WorkflowVersionRecord value1(UInteger value) { - setVid(value); - return this; - } - - @Override - public WorkflowVersionRecord value2(UInteger value) { - setWid(value); - return this; - } - - @Override - public WorkflowVersionRecord value3(String value) { - setContent(value); - return this; - } - - @Override - public WorkflowVersionRecord value4(Timestamp value) { - setCreationTime(value); - return this; - } - - @Override - public WorkflowVersionRecord values(UInteger value1, UInteger value2, String value3, Timestamp value4) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowVersion from) { - setVid(from.getVid()); - setWid(from.getWid()); - setContent(from.getContent()); - setCreationTime(from.getCreationTime()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached WorkflowVersionRecord - */ - public WorkflowVersionRecord() { - super(WorkflowVersion.WORKFLOW_VERSION); - } - - /** - * Create a detached, initialised WorkflowVersionRecord - */ - public WorkflowVersionRecord(UInteger vid, UInteger wid, String content, Timestamp creationTime) { - super(WorkflowVersion.WORKFLOW_VERSION); - - set(0, vid); - set(1, wid); - set(2, content); - set(3, creationTime); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowViewCountRecord.java b/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowViewCountRecord.java deleted file mode 100644 index 94e184e9006..00000000000 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/model/jooq/generated/tables/records/WorkflowViewCountRecord.java +++ /dev/null @@ -1,165 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.web.model.jooq.generated.tables.records; - - -import edu.uci.ics.texera.web.model.jooq.generated.tables.WorkflowViewCount; -import edu.uci.ics.texera.web.model.jooq.generated.tables.interfaces.IWorkflowViewCount; -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.UpdatableRecordImpl; -import org.jooq.types.UInteger; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({"all", "unchecked", "rawtypes"}) -public class WorkflowViewCountRecord extends UpdatableRecordImpl implements Record2, IWorkflowViewCount { - - private static final long serialVersionUID = -1459174754; - - /** - * Setter for texera_db.workflow_view_count.wid. - */ - @Override - public void setWid(UInteger value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_view_count.wid. - */ - @Override - public UInteger getWid() { - return (UInteger) get(0); - } - - /** - * Setter for texera_db.workflow_view_count.view_count. - */ - @Override - public void setViewCount(UInteger value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_view_count.view_count. - */ - @Override - public UInteger getViewCount() { - return (UInteger) get(1); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record2 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } - - @Override - public Row2 valuesRow() { - return (Row2) super.valuesRow(); - } - - @Override - public Field field1() { - return WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID; - } - - @Override - public Field field2() { - return WorkflowViewCount.WORKFLOW_VIEW_COUNT.VIEW_COUNT; - } - - @Override - public UInteger component1() { - return getWid(); - } - - @Override - public UInteger component2() { - return getViewCount(); - } - - @Override - public UInteger value1() { - return getWid(); - } - - @Override - public UInteger value2() { - return getViewCount(); - } - - @Override - public WorkflowViewCountRecord value1(UInteger value) { - setWid(value); - return this; - } - - @Override - public WorkflowViewCountRecord value2(UInteger value) { - setViewCount(value); - return this; - } - - @Override - public WorkflowViewCountRecord values(UInteger value1, UInteger value2) { - value1(value1); - value2(value2); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowViewCount from) { - setWid(from.getWid()); - setViewCount(from.getViewCount()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached WorkflowViewCountRecord - */ - public WorkflowViewCountRecord() { - super(WorkflowViewCount.WORKFLOW_VIEW_COUNT); - } - - /** - * Create a detached, initialised WorkflowViewCountRecord - */ - public WorkflowViewCountRecord(UInteger wid, UInteger viewCount) { - super(WorkflowViewCount.WORKFLOW_VIEW_COUNT); - - set(0, wid); - set(1, viewCount); - } -} diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/CollaborationResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/CollaborationResource.scala index c0a4a33934b..ac782c93102 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/CollaborationResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/CollaborationResource.scala @@ -6,7 +6,7 @@ import edu.uci.ics.texera.web.ServletAwareConfigurator import edu.uci.ics.texera.web.model.collab.event._ import edu.uci.ics.texera.web.model.collab.request._ import edu.uci.ics.texera.web.model.collab.response.HeartBeatResponse -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User import edu.uci.ics.texera.web.resource.CollaborationResource._ import edu.uci.ics.texera.web.resource.dashboard.user.workflow.WorkflowAccessResource import org.jooq.types.UInteger diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/UserConfigResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/UserConfigResource.scala index d1d59b64b35..ff364962ee9 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/UserConfigResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/UserConfigResource.scala @@ -3,9 +3,9 @@ package edu.uci.ics.texera.web.resource import edu.uci.ics.amber.core.storage.StorageConfig import edu.uci.ics.texera.dao.SqlServer import edu.uci.ics.texera.web.auth.SessionUser -import edu.uci.ics.texera.web.model.jooq.generated.Tables.USER_CONFIG -import edu.uci.ics.texera.web.model.jooq.generated.tables.daos.UserConfigDao -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.{User, UserConfig} +import edu.uci.ics.texera.dao.jooq.generated.Tables.USER_CONFIG +import edu.uci.ics.texera.dao.jooq.generated.tables.daos.UserConfigDao +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.{User, UserConfig} import io.dropwizard.auth.Auth import javax.annotation.security.RolesAllowed diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/WorkflowWebsocketResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/WorkflowWebsocketResource.scala index 803d9aef533..a14843596be 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/WorkflowWebsocketResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/WorkflowWebsocketResource.scala @@ -8,7 +8,7 @@ import edu.uci.ics.amber.error.ErrorUtils.getStackTraceWithAllCauses import edu.uci.ics.amber.virtualidentity.WorkflowIdentity import edu.uci.ics.amber.workflowruntimestate.FatalErrorType.COMPILATION_ERROR import edu.uci.ics.amber.workflowruntimestate.WorkflowFatalError -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User import edu.uci.ics.texera.web.model.websocket.event.{WorkflowErrorEvent, WorkflowStateEvent} import edu.uci.ics.texera.web.model.websocket.request._ import edu.uci.ics.texera.web.model.websocket.response._ diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/auth/AuthResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/auth/AuthResource.scala index 3634de1b1b3..513d5dbeaef 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/auth/AuthResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/auth/AuthResource.scala @@ -10,10 +10,10 @@ import edu.uci.ics.texera.web.model.http.request.auth.{ UserRegistrationRequest } import edu.uci.ics.texera.web.model.http.response.TokenIssueResponse -import edu.uci.ics.texera.web.model.jooq.generated.Tables.USER -import edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole -import edu.uci.ics.texera.web.model.jooq.generated.tables.daos.UserDao -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User +import edu.uci.ics.texera.dao.jooq.generated.Tables.USER +import edu.uci.ics.texera.dao.jooq.generated.enums.UserRole +import edu.uci.ics.texera.dao.jooq.generated.tables.daos.UserDao +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User import edu.uci.ics.texera.web.resource.auth.AuthResource._ import org.jasypt.util.password.StrongPasswordEncryptor diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/auth/GoogleAuthResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/auth/GoogleAuthResource.scala index 69942af964a..96d4a4e61da 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/auth/GoogleAuthResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/auth/GoogleAuthResource.scala @@ -13,9 +13,9 @@ import edu.uci.ics.texera.web.auth.JwtAuth.{ jwtToken } import edu.uci.ics.texera.web.model.http.response.TokenIssueResponse -import edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole -import edu.uci.ics.texera.web.model.jooq.generated.tables.daos.UserDao -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User +import edu.uci.ics.texera.dao.jooq.generated.enums.UserRole +import edu.uci.ics.texera.dao.jooq.generated.tables.daos.UserDao +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User import edu.uci.ics.texera.web.resource.auth.GoogleAuthResource.userDao import java.util.Collections diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/DashboardResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/DashboardResource.scala index fdd7dc125de..acd25618bb3 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/DashboardResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/DashboardResource.scala @@ -1,8 +1,8 @@ package edu.uci.ics.texera.web.resource.dashboard import edu.uci.ics.texera.web.auth.SessionUser -import edu.uci.ics.texera.web.model.jooq.generated.Tables._ -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos._ +import edu.uci.ics.texera.dao.jooq.generated.Tables._ +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos._ import edu.uci.ics.texera.web.resource.dashboard.DashboardResource._ import edu.uci.ics.texera.web.resource.dashboard.SearchQueryBuilder.{ALL_RESOURCE_TYPE, context} import edu.uci.ics.texera.web.resource.dashboard.user.dataset.DatasetResource.DashboardDataset diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/DatasetSearchQueryBuilder.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/DatasetSearchQueryBuilder.scala index 3fb1d3671f0..7157e4f9c40 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/DatasetSearchQueryBuilder.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/DatasetSearchQueryBuilder.scala @@ -1,9 +1,9 @@ package edu.uci.ics.texera.web.resource.dashboard -import edu.uci.ics.texera.web.model.jooq.generated.Tables.{DATASET, DATASET_USER_ACCESS} -import edu.uci.ics.texera.web.model.jooq.generated.enums.DatasetUserAccessPrivilege -import edu.uci.ics.texera.web.model.jooq.generated.tables.User.USER -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.{Dataset, User} +import edu.uci.ics.texera.dao.jooq.generated.Tables.{DATASET, DATASET_USER_ACCESS} +import edu.uci.ics.texera.dao.jooq.generated.enums.DatasetUserAccessPrivilege +import edu.uci.ics.texera.dao.jooq.generated.tables.User.USER +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.{Dataset, User} import edu.uci.ics.texera.web.resource.dashboard.DashboardResource.DashboardClickableFileEntry import edu.uci.ics.texera.web.resource.dashboard.FulltextSearchQueryUtils.{ getContainsFilter, diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/ProjectSearchQueryBuilder.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/ProjectSearchQueryBuilder.scala index 9c864c3f4db..a76d2b72a1b 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/ProjectSearchQueryBuilder.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/ProjectSearchQueryBuilder.scala @@ -1,7 +1,7 @@ package edu.uci.ics.texera.web.resource.dashboard -import edu.uci.ics.texera.web.model.jooq.generated.Tables.{PROJECT, PROJECT_USER_ACCESS} -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.Project +import edu.uci.ics.texera.dao.jooq.generated.Tables.{PROJECT, PROJECT_USER_ACCESS} +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.Project import edu.uci.ics.texera.web.resource.dashboard.DashboardResource.DashboardClickableFileEntry import edu.uci.ics.texera.web.resource.dashboard.FulltextSearchQueryUtils.{ getContainsFilter, diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/UnifiedResourceSchema.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/UnifiedResourceSchema.scala index a7b0c1abd93..6b526d54443 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/UnifiedResourceSchema.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/UnifiedResourceSchema.scala @@ -2,7 +2,7 @@ package edu.uci.ics.texera.web.resource.dashboard import edu.uci.ics.amber.core.storage.StorageConfig import edu.uci.ics.texera.dao.SqlServer -import edu.uci.ics.texera.web.model.jooq.generated.enums.{ +import edu.uci.ics.texera.dao.jooq.generated.enums.{ DatasetUserAccessPrivilege, WorkflowUserAccessPrivilege } diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/WorkflowSearchQueryBuilder.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/WorkflowSearchQueryBuilder.scala index ceaeb54cc85..db43562a742 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/WorkflowSearchQueryBuilder.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/WorkflowSearchQueryBuilder.scala @@ -1,7 +1,7 @@ package edu.uci.ics.texera.web.resource.dashboard -import edu.uci.ics.texera.web.model.jooq.generated.Tables._ -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.Workflow +import edu.uci.ics.texera.dao.jooq.generated.Tables._ +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.Workflow import edu.uci.ics.texera.web.resource.dashboard.DashboardResource.DashboardClickableFileEntry import edu.uci.ics.texera.web.resource.dashboard.FulltextSearchQueryUtils._ import edu.uci.ics.texera.web.resource.dashboard.user.workflow.WorkflowResource.DashboardWorkflow diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/admin/execution/AdminExecutionResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/admin/execution/AdminExecutionResource.scala index 0186304317d..5bdb31437ee 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/admin/execution/AdminExecutionResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/admin/execution/AdminExecutionResource.scala @@ -3,7 +3,7 @@ package edu.uci.ics.texera.web.resource.dashboard.admin.execution import edu.uci.ics.amber.core.storage.StorageConfig import edu.uci.ics.texera.dao.SqlServer import edu.uci.ics.texera.web.auth.SessionUser -import edu.uci.ics.texera.web.model.jooq.generated.Tables._ +import edu.uci.ics.texera.dao.jooq.generated.Tables._ import edu.uci.ics.texera.web.resource.dashboard.admin.execution.AdminExecutionResource._ import io.dropwizard.auth.Auth import org.jooq.types.UInteger diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/admin/user/AdminUserResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/admin/user/AdminUserResource.scala index a09e3115b58..dccb8d70b05 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/admin/user/AdminUserResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/admin/user/AdminUserResource.scala @@ -2,9 +2,9 @@ package edu.uci.ics.texera.web.resource.dashboard.admin.user import edu.uci.ics.amber.core.storage.StorageConfig import edu.uci.ics.texera.dao.SqlServer -import edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole -import edu.uci.ics.texera.web.model.jooq.generated.tables.daos.UserDao -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User +import edu.uci.ics.texera.dao.jooq.generated.enums.UserRole +import edu.uci.ics.texera.dao.jooq.generated.tables.daos.UserDao +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User import edu.uci.ics.texera.web.resource.dashboard.admin.user.AdminUserResource.userDao import edu.uci.ics.texera.web.resource.dashboard.user.quota.UserQuotaResource._ import org.jasypt.util.password.StrongPasswordEncryptor diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/hub/workflow/HubWorkflowResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/hub/workflow/HubWorkflowResource.scala index e699793013d..15022a658a8 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/hub/workflow/HubWorkflowResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/hub/workflow/HubWorkflowResource.scala @@ -2,9 +2,9 @@ package edu.uci.ics.texera.web.resource.dashboard.hub.workflow import edu.uci.ics.amber.core.storage.StorageConfig import edu.uci.ics.texera.dao.SqlServer -import edu.uci.ics.texera.web.model.jooq.generated.Tables._ -import edu.uci.ics.texera.web.model.jooq.generated.tables.daos.WorkflowDao -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.{User, Workflow} +import edu.uci.ics.texera.dao.jooq.generated.Tables._ +import edu.uci.ics.texera.dao.jooq.generated.tables.daos.WorkflowDao +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.{User, Workflow} import edu.uci.ics.texera.web.resource.dashboard.hub.workflow.HubWorkflowResource.{ fetchDashboardWorkflowsByWids, recordUserActivity diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/dataset/DatasetAccessResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/dataset/DatasetAccessResource.scala index ae4a629cb05..52b38cad7b5 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/dataset/DatasetAccessResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/dataset/DatasetAccessResource.scala @@ -4,16 +4,16 @@ import edu.uci.ics.amber.core.storage.StorageConfig import edu.uci.ics.amber.engine.common.Utils.withTransaction import edu.uci.ics.texera.dao.SqlServer import edu.uci.ics.texera.web.model.common.AccessEntry -import edu.uci.ics.texera.web.model.jooq.generated.Tables.USER -import edu.uci.ics.texera.web.model.jooq.generated.enums.DatasetUserAccessPrivilege -import edu.uci.ics.texera.web.model.jooq.generated.tables.Dataset.DATASET -import edu.uci.ics.texera.web.model.jooq.generated.tables.DatasetUserAccess.DATASET_USER_ACCESS -import edu.uci.ics.texera.web.model.jooq.generated.tables.daos.{ +import edu.uci.ics.texera.dao.jooq.generated.Tables.USER +import edu.uci.ics.texera.dao.jooq.generated.enums.DatasetUserAccessPrivilege +import edu.uci.ics.texera.dao.jooq.generated.tables.Dataset.DATASET +import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetUserAccess.DATASET_USER_ACCESS +import edu.uci.ics.texera.dao.jooq.generated.tables.daos.{ DatasetDao, DatasetUserAccessDao, UserDao } -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.{DatasetUserAccess, User} +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.{DatasetUserAccess, User} import edu.uci.ics.texera.web.resource.dashboard.user.dataset.DatasetAccessResource.{ context, getOwner diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/dataset/DatasetResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/dataset/DatasetResource.scala index 81798897f7c..36d43e9905b 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/dataset/DatasetResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/dataset/DatasetResource.scala @@ -10,17 +10,17 @@ import edu.uci.ics.amber.engine.common.Utils.withTransaction import edu.uci.ics.amber.util.PathUtils import edu.uci.ics.texera.dao.SqlServer import edu.uci.ics.texera.web.auth.SessionUser -import edu.uci.ics.texera.web.model.jooq.generated.enums.DatasetUserAccessPrivilege -import edu.uci.ics.texera.web.model.jooq.generated.tables.Dataset.DATASET -import edu.uci.ics.texera.web.model.jooq.generated.tables.DatasetUserAccess.DATASET_USER_ACCESS -import edu.uci.ics.texera.web.model.jooq.generated.tables.DatasetVersion.DATASET_VERSION -import edu.uci.ics.texera.web.model.jooq.generated.tables.User.USER -import edu.uci.ics.texera.web.model.jooq.generated.tables.daos.{ +import edu.uci.ics.texera.dao.jooq.generated.enums.DatasetUserAccessPrivilege +import edu.uci.ics.texera.dao.jooq.generated.tables.Dataset.DATASET +import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetUserAccess.DATASET_USER_ACCESS +import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetVersion.DATASET_VERSION +import edu.uci.ics.texera.dao.jooq.generated.tables.User.USER +import edu.uci.ics.texera.dao.jooq.generated.tables.daos.{ DatasetDao, DatasetUserAccessDao, DatasetVersionDao } -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.{ +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.{ Dataset, DatasetUserAccess, DatasetVersion, diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/dataset/utils/DatasetStatisticsUtils.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/dataset/utils/DatasetStatisticsUtils.scala index 63d1ee03ce3..561a50f2f02 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/dataset/utils/DatasetStatisticsUtils.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/dataset/utils/DatasetStatisticsUtils.scala @@ -2,7 +2,7 @@ package edu.uci.ics.texera.web.resource.dashboard.user.dataset.utils import edu.uci.ics.amber.core.storage.StorageConfig import edu.uci.ics.texera.dao.SqlServer -import edu.uci.ics.texera.web.model.jooq.generated.tables.Dataset.DATASET +import edu.uci.ics.texera.dao.jooq.generated.tables.Dataset.DATASET import edu.uci.ics.texera.web.resource.dashboard.user.dataset.DatasetResource import edu.uci.ics.texera.web.resource.dashboard.user.quota.UserQuotaResource.DatasetQuota import org.jooq.types.UInteger diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/project/ProjectAccessResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/project/ProjectAccessResource.scala index 31021c316d0..6d132a8773a 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/project/ProjectAccessResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/project/ProjectAccessResource.scala @@ -3,14 +3,14 @@ package edu.uci.ics.texera.web.resource.dashboard.user.project import edu.uci.ics.amber.core.storage.StorageConfig import edu.uci.ics.texera.dao.SqlServer import edu.uci.ics.texera.web.model.common.AccessEntry -import edu.uci.ics.texera.web.model.jooq.generated.Tables.{PROJECT_USER_ACCESS, USER} -import edu.uci.ics.texera.web.model.jooq.generated.enums.ProjectUserAccessPrivilege -import edu.uci.ics.texera.web.model.jooq.generated.tables.daos.{ +import edu.uci.ics.texera.dao.jooq.generated.Tables.{PROJECT_USER_ACCESS, USER} +import edu.uci.ics.texera.dao.jooq.generated.enums.ProjectUserAccessPrivilege +import edu.uci.ics.texera.dao.jooq.generated.tables.daos.{ ProjectDao, ProjectUserAccessDao, UserDao } -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.ProjectUserAccess +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.ProjectUserAccess import org.jooq.DSLContext import org.jooq.types.UInteger diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/project/ProjectResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/project/ProjectResource.scala index 7d0a667a2bc..9963721cd57 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/project/ProjectResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/project/ProjectResource.scala @@ -3,14 +3,14 @@ package edu.uci.ics.texera.web.resource.dashboard.user.project import edu.uci.ics.amber.core.storage.StorageConfig import edu.uci.ics.texera.dao.SqlServer import edu.uci.ics.texera.web.auth.SessionUser -import edu.uci.ics.texera.web.model.jooq.generated.Tables._ -import edu.uci.ics.texera.web.model.jooq.generated.enums.ProjectUserAccessPrivilege -import edu.uci.ics.texera.web.model.jooq.generated.tables.daos.{ +import edu.uci.ics.texera.dao.jooq.generated.Tables._ +import edu.uci.ics.texera.dao.jooq.generated.enums.ProjectUserAccessPrivilege +import edu.uci.ics.texera.dao.jooq.generated.tables.daos.{ ProjectDao, ProjectUserAccessDao, WorkflowOfProjectDao } -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos._ +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos._ import edu.uci.ics.texera.web.resource.dashboard.DashboardResource import edu.uci.ics.texera.web.resource.dashboard.DashboardResource.SearchQueryParams import edu.uci.ics.texera.web.resource.dashboard.user.project.ProjectResource._ diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/project/PublicProjectResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/project/PublicProjectResource.scala index 0240bbce338..d1c84e208b5 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/project/PublicProjectResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/project/PublicProjectResource.scala @@ -3,13 +3,13 @@ package edu.uci.ics.texera.web.resource.dashboard.user.project import edu.uci.ics.amber.core.storage.StorageConfig import edu.uci.ics.texera.dao.SqlServer import edu.uci.ics.texera.web.auth.SessionUser -import edu.uci.ics.texera.web.model.jooq.generated.Tables.{PROJECT, PUBLIC_PROJECT, USER} -import edu.uci.ics.texera.web.model.jooq.generated.enums.ProjectUserAccessPrivilege -import edu.uci.ics.texera.web.model.jooq.generated.tables.daos.{ +import edu.uci.ics.texera.dao.jooq.generated.Tables.{PROJECT, PUBLIC_PROJECT, USER} +import edu.uci.ics.texera.dao.jooq.generated.enums.ProjectUserAccessPrivilege +import edu.uci.ics.texera.dao.jooq.generated.tables.daos.{ ProjectUserAccessDao, PublicProjectDao } -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.{ProjectUserAccess, PublicProject} +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.{ProjectUserAccess, PublicProject} import io.dropwizard.auth.Auth import org.jooq.DSLContext import org.jooq.types.UInteger diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/quota/UserQuotaResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/quota/UserQuotaResource.scala index 7f55b4ed566..4a9f78f44ef 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/quota/UserQuotaResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/quota/UserQuotaResource.scala @@ -5,7 +5,7 @@ import edu.uci.ics.amber.core.storage.util.mongo.MongoDatabaseManager import edu.uci.ics.amber.core.storage.util.mongo.MongoDatabaseManager.database import edu.uci.ics.texera.dao.SqlServer import edu.uci.ics.texera.web.auth.SessionUser -import edu.uci.ics.texera.web.model.jooq.generated.Tables._ +import edu.uci.ics.texera.dao.jooq.generated.Tables._ import edu.uci.ics.texera.web.resource.dashboard.user.dataset.utils.DatasetStatisticsUtils.getUserCreatedDatasets import edu.uci.ics.texera.web.resource.dashboard.user.quota.UserQuotaResource._ import io.dropwizard.auth.Auth diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/workflow/WorkflowAccessResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/workflow/WorkflowAccessResource.scala index 5e4a1b8cfc3..9adce4f3eb5 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/workflow/WorkflowAccessResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/workflow/WorkflowAccessResource.scala @@ -4,14 +4,14 @@ import edu.uci.ics.amber.core.storage.StorageConfig import edu.uci.ics.texera.dao.SqlServer import edu.uci.ics.texera.web.auth.SessionUser import edu.uci.ics.texera.web.model.common.AccessEntry -import edu.uci.ics.texera.web.model.jooq.generated.Tables._ -import edu.uci.ics.texera.web.model.jooq.generated.enums.WorkflowUserAccessPrivilege -import edu.uci.ics.texera.web.model.jooq.generated.tables.daos.{ +import edu.uci.ics.texera.dao.jooq.generated.Tables._ +import edu.uci.ics.texera.dao.jooq.generated.enums.WorkflowUserAccessPrivilege +import edu.uci.ics.texera.dao.jooq.generated.tables.daos.{ UserDao, WorkflowOfUserDao, WorkflowUserAccessDao } -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowUserAccess +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowUserAccess import edu.uci.ics.texera.web.resource.dashboard.user.workflow.WorkflowAccessResource.context import io.dropwizard.auth.Auth import org.jooq.DSLContext diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/workflow/WorkflowExecutionsResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/workflow/WorkflowExecutionsResource.scala index 0f5d4e55e2b..8758fab0b85 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/workflow/WorkflowExecutionsResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/workflow/WorkflowExecutionsResource.scala @@ -6,17 +6,17 @@ import edu.uci.ics.amber.engine.common.storage.SequentialRecordStorage import edu.uci.ics.amber.virtualidentity.{ChannelMarkerIdentity, ExecutionIdentity} import edu.uci.ics.texera.dao.SqlServer import edu.uci.ics.texera.web.auth.SessionUser -import edu.uci.ics.texera.web.model.jooq.generated.Tables.{ +import edu.uci.ics.texera.dao.jooq.generated.Tables.{ USER, WORKFLOW_EXECUTIONS, WORKFLOW_RUNTIME_STATISTICS, WORKFLOW_VERSION } -import edu.uci.ics.texera.web.model.jooq.generated.tables.daos.{ +import edu.uci.ics.texera.dao.jooq.generated.tables.daos.{ WorkflowExecutionsDao, WorkflowRuntimeStatisticsDao } -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.{ +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.{ WorkflowExecutions, WorkflowRuntimeStatistics } diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/workflow/WorkflowResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/workflow/WorkflowResource.scala index 6e8d226f75f..0b8e5c6f3fa 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/workflow/WorkflowResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/workflow/WorkflowResource.scala @@ -6,15 +6,15 @@ import com.typesafe.scalalogging.LazyLogging import edu.uci.ics.amber.core.storage.StorageConfig import edu.uci.ics.texera.dao.SqlServer import edu.uci.ics.texera.web.auth.SessionUser -import edu.uci.ics.texera.web.model.jooq.generated.Tables._ -import edu.uci.ics.texera.web.model.jooq.generated.enums.WorkflowUserAccessPrivilege -import edu.uci.ics.texera.web.model.jooq.generated.tables.daos.{ +import edu.uci.ics.texera.dao.jooq.generated.Tables._ +import edu.uci.ics.texera.dao.jooq.generated.enums.WorkflowUserAccessPrivilege +import edu.uci.ics.texera.dao.jooq.generated.tables.daos.{ WorkflowDao, WorkflowOfProjectDao, WorkflowOfUserDao, WorkflowUserAccessDao } -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos._ +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos._ import edu.uci.ics.texera.web.resource.dashboard.hub.workflow.HubWorkflowResource.recordUserActivity import edu.uci.ics.texera.web.resource.dashboard.user.workflow.WorkflowAccessResource.hasReadAccess import edu.uci.ics.texera.web.resource.dashboard.user.workflow.WorkflowResource._ diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/workflow/WorkflowVersionResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/workflow/WorkflowVersionResource.scala index 295985dacb2..ed2cfa95a37 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/workflow/WorkflowVersionResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/dashboard/user/workflow/WorkflowVersionResource.scala @@ -6,9 +6,9 @@ import edu.uci.ics.amber.engine.common.AmberConfig import edu.uci.ics.amber.engine.common.Utils.objectMapper import edu.uci.ics.texera.dao.SqlServer import edu.uci.ics.texera.web.auth.SessionUser -import edu.uci.ics.texera.web.model.jooq.generated.Tables.WORKFLOW_VERSION -import edu.uci.ics.texera.web.model.jooq.generated.tables.daos.{WorkflowDao, WorkflowVersionDao} -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.{Workflow, WorkflowVersion} +import edu.uci.ics.texera.dao.jooq.generated.Tables.WORKFLOW_VERSION +import edu.uci.ics.texera.dao.jooq.generated.tables.daos.{WorkflowDao, WorkflowVersionDao} +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.{Workflow, WorkflowVersion} import edu.uci.ics.texera.web.resource.dashboard.user.workflow.WorkflowResource.{ DashboardWorkflow, assignNewOperatorIds diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ExecutionStatsService.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ExecutionStatsService.scala index bea692d76db..38a1098c58e 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ExecutionStatsService.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ExecutionStatsService.scala @@ -24,7 +24,7 @@ import edu.uci.ics.amber.error.ErrorUtils.{getOperatorFromActorIdOpt, getStackTr import edu.uci.ics.amber.workflowruntimestate.FatalErrorType.EXECUTION_FAILURE import edu.uci.ics.amber.workflowruntimestate.WorkflowFatalError import edu.uci.ics.texera.web.SubscriptionManager -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowRuntimeStatistics +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowRuntimeStatistics import edu.uci.ics.texera.web.model.websocket.event.{ ExecutionDurationUpdateEvent, OperatorAggregatedMetrics, diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ExecutionsMetadataPersistService.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ExecutionsMetadataPersistService.scala index f83f5abfbf0..d8b259acdaa 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ExecutionsMetadataPersistService.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ExecutionsMetadataPersistService.scala @@ -6,8 +6,8 @@ import edu.uci.ics.amber.core.workflow.WorkflowContext.DEFAULT_EXECUTION_ID import edu.uci.ics.amber.engine.common.AmberConfig import edu.uci.ics.amber.virtualidentity.{ExecutionIdentity, WorkflowIdentity} import edu.uci.ics.texera.dao.SqlServer -import edu.uci.ics.texera.web.model.jooq.generated.tables.daos.WorkflowExecutionsDao -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.WorkflowExecutions +import edu.uci.ics.texera.dao.jooq.generated.tables.daos.WorkflowExecutionsDao +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions import edu.uci.ics.texera.web.resource.dashboard.user.workflow.WorkflowVersionResource._ import org.jooq.types.UInteger diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ResultExportService.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ResultExportService.scala index 13c06944037..c2a0693bd85 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ResultExportService.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ResultExportService.scala @@ -13,7 +13,7 @@ import edu.uci.ics.amber.core.tuple.Tuple import edu.uci.ics.amber.engine.common.Utils.retry import edu.uci.ics.amber.util.PathUtils import edu.uci.ics.amber.virtualidentity.{OperatorIdentity, WorkflowIdentity} -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User import edu.uci.ics.texera.web.model.websocket.request.ResultExportRequest import edu.uci.ics.texera.web.model.websocket.response.ResultExportResponse import edu.uci.ics.texera.web.resource.GoogleResource diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/service/WorkflowService.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/service/WorkflowService.scala index dc1b31f73a6..a4c3c0c0687 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/service/WorkflowService.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/service/WorkflowService.scala @@ -23,7 +23,7 @@ import edu.uci.ics.amber.virtualidentity.{ } import edu.uci.ics.amber.workflowruntimestate.FatalErrorType.EXECUTION_FAILURE import edu.uci.ics.amber.workflowruntimestate.WorkflowFatalError -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.User +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User import edu.uci.ics.texera.web.model.websocket.event.TexeraWebSocketEvent import edu.uci.ics.texera.web.model.websocket.request.WorkflowExecuteRequest import edu.uci.ics.texera.web.service.WorkflowService.mkWorkflowStateId diff --git a/core/amber/src/test/scala/edu/uci/ics/texera/web/resource/dashboard/file/WorkflowResourceSpec.scala b/core/amber/src/test/scala/edu/uci/ics/texera/web/resource/dashboard/file/WorkflowResourceSpec.scala index 54030c8c5d9..b6de9bb8fed 100644 --- a/core/amber/src/test/scala/edu/uci/ics/texera/web/resource/dashboard/file/WorkflowResourceSpec.scala +++ b/core/amber/src/test/scala/edu/uci/ics/texera/web/resource/dashboard/file/WorkflowResourceSpec.scala @@ -2,10 +2,10 @@ package edu.uci.ics.texera.web.resource.dashboard.file import edu.uci.ics.texera.dao.MockTexeraDB import edu.uci.ics.texera.web.auth.SessionUser -import edu.uci.ics.texera.web.model.jooq.generated.Tables.{USER, WORKFLOW, WORKFLOW_OF_PROJECT} -import edu.uci.ics.texera.web.model.jooq.generated.enums.UserRole -import edu.uci.ics.texera.web.model.jooq.generated.tables.daos.UserDao -import edu.uci.ics.texera.web.model.jooq.generated.tables.pojos.{Project, User, Workflow} +import edu.uci.ics.texera.dao.jooq.generated.Tables.{USER, WORKFLOW, WORKFLOW_OF_PROJECT} +import edu.uci.ics.texera.dao.jooq.generated.enums.UserRole +import edu.uci.ics.texera.dao.jooq.generated.tables.daos.UserDao +import edu.uci.ics.texera.dao.jooq.generated.tables.pojos.{Project, User, Workflow} import edu.uci.ics.texera.web.resource.dashboard.DashboardResource.SearchQueryParams import edu.uci.ics.texera.web.resource.dashboard.user.project.ProjectResource import edu.uci.ics.texera.web.resource.dashboard.user.workflow.WorkflowResource diff --git a/core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/LICENSE b/core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/LICENSE new file mode 100644 index 00000000000..bf1dece2e1f --- /dev/null +++ b/core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/LICENSE @@ -0,0 +1,15 @@ +The ISC License + +Copyright (c) 2017-2022 npm, Inc., Isaac Z. Schlueter, and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/README.md b/core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/README.md new file mode 100644 index 00000000000..2cde46c34bd --- /dev/null +++ b/core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/README.md @@ -0,0 +1,728 @@ +# minipass + +A _very_ minimal implementation of a [PassThrough +stream](https://nodejs.org/api/stream.html#stream_class_stream_passthrough) + +[It's very +fast](https://docs.google.com/spreadsheets/d/1oObKSrVwLX_7Ut4Z6g3fZW-AX1j1-k6w-cDsrkaSbHM/edit#gid=0) +for objects, strings, and buffers. + +Supports `pipe()`ing (including multi-`pipe()` and backpressure transmission), +buffering data until either a `data` event handler or `pipe()` is added (so +you don't lose the first chunk), and most other cases where PassThrough is +a good idea. + +There is a `read()` method, but it's much more efficient to consume data +from this stream via `'data'` events or by calling `pipe()` into some other +stream. Calling `read()` requires the buffer to be flattened in some +cases, which requires copying memory. + +If you set `objectMode: true` in the options, then whatever is written will +be emitted. Otherwise, it'll do a minimal amount of Buffer copying to +ensure proper Streams semantics when `read(n)` is called. + +`objectMode` can also be set by doing `stream.objectMode = true`, or by +writing any non-string/non-buffer data. `objectMode` cannot be set to +false once it is set. + +This is not a `through` or `through2` stream. It doesn't transform the +data, it just passes it right through. If you want to transform the data, +extend the class, and override the `write()` method. Once you're done +transforming the data however you want, call `super.write()` with the +transform output. + +For some examples of streams that extend Minipass in various ways, check +out: + +- [minizlib](http://npm.im/minizlib) +- [fs-minipass](http://npm.im/fs-minipass) +- [tar](http://npm.im/tar) +- [minipass-collect](http://npm.im/minipass-collect) +- [minipass-flush](http://npm.im/minipass-flush) +- [minipass-pipeline](http://npm.im/minipass-pipeline) +- [tap](http://npm.im/tap) +- [tap-parser](http://npm.im/tap-parser) +- [treport](http://npm.im/treport) +- [minipass-fetch](http://npm.im/minipass-fetch) +- [pacote](http://npm.im/pacote) +- [make-fetch-happen](http://npm.im/make-fetch-happen) +- [cacache](http://npm.im/cacache) +- [ssri](http://npm.im/ssri) +- [npm-registry-fetch](http://npm.im/npm-registry-fetch) +- [minipass-json-stream](http://npm.im/minipass-json-stream) +- [minipass-sized](http://npm.im/minipass-sized) + +## Differences from Node.js Streams + +There are several things that make Minipass streams different from (and in +some ways superior to) Node.js core streams. + +Please read these caveats if you are familiar with node-core streams and +intend to use Minipass streams in your programs. + +You can avoid most of these differences entirely (for a very +small performance penalty) by setting `{async: true}` in the +constructor options. + +### Timing + +Minipass streams are designed to support synchronous use-cases. Thus, data +is emitted as soon as it is available, always. It is buffered until read, +but no longer. Another way to look at it is that Minipass streams are +exactly as synchronous as the logic that writes into them. + +This can be surprising if your code relies on `PassThrough.write()` always +providing data on the next tick rather than the current one, or being able +to call `resume()` and not have the entire buffer disappear immediately. + +However, without this synchronicity guarantee, there would be no way for +Minipass to achieve the speeds it does, or support the synchronous use +cases that it does. Simply put, waiting takes time. + +This non-deferring approach makes Minipass streams much easier to reason +about, especially in the context of Promises and other flow-control +mechanisms. + +Example: + +```js +const Minipass = require('minipass') +const stream = new Minipass({ async: true }) +stream.on('data', () => console.log('data event')) +console.log('before write') +stream.write('hello') +console.log('after write') +// output: +// before write +// data event +// after write +``` + +### Exception: Async Opt-In + +If you wish to have a Minipass stream with behavior that more +closely mimics Node.js core streams, you can set the stream in +async mode either by setting `async: true` in the constructor +options, or by setting `stream.async = true` later on. + +```js +const Minipass = require('minipass') +const asyncStream = new Minipass({ async: true }) +asyncStream.on('data', () => console.log('data event')) +console.log('before write') +asyncStream.write('hello') +console.log('after write') +// output: +// before write +// after write +// data event <-- this is deferred until the next tick +``` + +Switching _out_ of async mode is unsafe, as it could cause data +corruption, and so is not enabled. Example: + +```js +const Minipass = require('minipass') +const stream = new Minipass({ encoding: 'utf8' }) +stream.on('data', chunk => console.log(chunk)) +stream.async = true +console.log('before writes') +stream.write('hello') +setStreamSyncAgainSomehow(stream) // <-- this doesn't actually exist! +stream.write('world') +console.log('after writes') +// hypothetical output would be: +// before writes +// world +// after writes +// hello +// NOT GOOD! +``` + +To avoid this problem, once set into async mode, any attempt to +make the stream sync again will be ignored. + +```js +const Minipass = require('minipass') +const stream = new Minipass({ encoding: 'utf8' }) +stream.on('data', chunk => console.log(chunk)) +stream.async = true +console.log('before writes') +stream.write('hello') +stream.async = false // <-- no-op, stream already async +stream.write('world') +console.log('after writes') +// actual output: +// before writes +// after writes +// hello +// world +``` + +### No High/Low Water Marks + +Node.js core streams will optimistically fill up a buffer, returning `true` +on all writes until the limit is hit, even if the data has nowhere to go. +Then, they will not attempt to draw more data in until the buffer size dips +below a minimum value. + +Minipass streams are much simpler. The `write()` method will return `true` +if the data has somewhere to go (which is to say, given the timing +guarantees, that the data is already there by the time `write()` returns). + +If the data has nowhere to go, then `write()` returns false, and the data +sits in a buffer, to be drained out immediately as soon as anyone consumes +it. + +Since nothing is ever buffered unnecessarily, there is much less +copying data, and less bookkeeping about buffer capacity levels. + +### Hazards of Buffering (or: Why Minipass Is So Fast) + +Since data written to a Minipass stream is immediately written all the way +through the pipeline, and `write()` always returns true/false based on +whether the data was fully flushed, backpressure is communicated +immediately to the upstream caller. This minimizes buffering. + +Consider this case: + +```js +const {PassThrough} = require('stream') +const p1 = new PassThrough({ highWaterMark: 1024 }) +const p2 = new PassThrough({ highWaterMark: 1024 }) +const p3 = new PassThrough({ highWaterMark: 1024 }) +const p4 = new PassThrough({ highWaterMark: 1024 }) + +p1.pipe(p2).pipe(p3).pipe(p4) +p4.on('data', () => console.log('made it through')) + +// this returns false and buffers, then writes to p2 on next tick (1) +// p2 returns false and buffers, pausing p1, then writes to p3 on next tick (2) +// p3 returns false and buffers, pausing p2, then writes to p4 on next tick (3) +// p4 returns false and buffers, pausing p3, then emits 'data' and 'drain' +// on next tick (4) +// p3 sees p4's 'drain' event, and calls resume(), emitting 'resume' and +// 'drain' on next tick (5) +// p2 sees p3's 'drain', calls resume(), emits 'resume' and 'drain' on next tick (6) +// p1 sees p2's 'drain', calls resume(), emits 'resume' and 'drain' on next +// tick (7) + +p1.write(Buffer.alloc(2048)) // returns false +``` + +Along the way, the data was buffered and deferred at each stage, and +multiple event deferrals happened, for an unblocked pipeline where it was +perfectly safe to write all the way through! + +Furthermore, setting a `highWaterMark` of `1024` might lead someone reading +the code to think an advisory maximum of 1KiB is being set for the +pipeline. However, the actual advisory buffering level is the _sum_ of +`highWaterMark` values, since each one has its own bucket. + +Consider the Minipass case: + +```js +const m1 = new Minipass() +const m2 = new Minipass() +const m3 = new Minipass() +const m4 = new Minipass() + +m1.pipe(m2).pipe(m3).pipe(m4) +m4.on('data', () => console.log('made it through')) + +// m1 is flowing, so it writes the data to m2 immediately +// m2 is flowing, so it writes the data to m3 immediately +// m3 is flowing, so it writes the data to m4 immediately +// m4 is flowing, so it fires the 'data' event immediately, returns true +// m4's write returned true, so m3 is still flowing, returns true +// m3's write returned true, so m2 is still flowing, returns true +// m2's write returned true, so m1 is still flowing, returns true +// No event deferrals or buffering along the way! + +m1.write(Buffer.alloc(2048)) // returns true +``` + +It is extremely unlikely that you _don't_ want to buffer any data written, +or _ever_ buffer data that can be flushed all the way through. Neither +node-core streams nor Minipass ever fail to buffer written data, but +node-core streams do a lot of unnecessary buffering and pausing. + +As always, the faster implementation is the one that does less stuff and +waits less time to do it. + +### Immediately emit `end` for empty streams (when not paused) + +If a stream is not paused, and `end()` is called before writing any data +into it, then it will emit `end` immediately. + +If you have logic that occurs on the `end` event which you don't want to +potentially happen immediately (for example, closing file descriptors, +moving on to the next entry in an archive parse stream, etc.) then be sure +to call `stream.pause()` on creation, and then `stream.resume()` once you +are ready to respond to the `end` event. + +However, this is _usually_ not a problem because: + +### Emit `end` When Asked + +One hazard of immediately emitting `'end'` is that you may not yet have had +a chance to add a listener. In order to avoid this hazard, Minipass +streams safely re-emit the `'end'` event if a new listener is added after +`'end'` has been emitted. + +Ie, if you do `stream.on('end', someFunction)`, and the stream has already +emitted `end`, then it will call the handler right away. (You can think of +this somewhat like attaching a new `.then(fn)` to a previously-resolved +Promise.) + +To prevent calling handlers multiple times who would not expect multiple +ends to occur, all listeners are removed from the `'end'` event whenever it +is emitted. + +### Emit `error` When Asked + +The most recent error object passed to the `'error'` event is +stored on the stream. If a new `'error'` event handler is added, +and an error was previously emitted, then the event handler will +be called immediately (or on `process.nextTick` in the case of +async streams). + +This makes it much more difficult to end up trying to interact +with a broken stream, if the error handler is added after an +error was previously emitted. + +### Impact of "immediate flow" on Tee-streams + +A "tee stream" is a stream piping to multiple destinations: + +```js +const tee = new Minipass() +t.pipe(dest1) +t.pipe(dest2) +t.write('foo') // goes to both destinations +``` + +Since Minipass streams _immediately_ process any pending data through the +pipeline when a new pipe destination is added, this can have surprising +effects, especially when a stream comes in from some other function and may +or may not have data in its buffer. + +```js +// WARNING! WILL LOSE DATA! +const src = new Minipass() +src.write('foo') +src.pipe(dest1) // 'foo' chunk flows to dest1 immediately, and is gone +src.pipe(dest2) // gets nothing! +``` + +One solution is to create a dedicated tee-stream junction that pipes to +both locations, and then pipe to _that_ instead. + +```js +// Safe example: tee to both places +const src = new Minipass() +src.write('foo') +const tee = new Minipass() +tee.pipe(dest1) +tee.pipe(dest2) +src.pipe(tee) // tee gets 'foo', pipes to both locations +``` + +The same caveat applies to `on('data')` event listeners. The first one +added will _immediately_ receive all of the data, leaving nothing for the +second: + +```js +// WARNING! WILL LOSE DATA! +const src = new Minipass() +src.write('foo') +src.on('data', handler1) // receives 'foo' right away +src.on('data', handler2) // nothing to see here! +``` + +Using a dedicated tee-stream can be used in this case as well: + +```js +// Safe example: tee to both data handlers +const src = new Minipass() +src.write('foo') +const tee = new Minipass() +tee.on('data', handler1) +tee.on('data', handler2) +src.pipe(tee) +``` + +All of the hazards in this section are avoided by setting `{ +async: true }` in the Minipass constructor, or by setting +`stream.async = true` afterwards. Note that this does add some +overhead, so should only be done in cases where you are willing +to lose a bit of performance in order to avoid having to refactor +program logic. + +## USAGE + +It's a stream! Use it like a stream and it'll most likely do what you +want. + +```js +const Minipass = require('minipass') +const mp = new Minipass(options) // optional: { encoding, objectMode } +mp.write('foo') +mp.pipe(someOtherStream) +mp.end('bar') +``` + +### OPTIONS + +* `encoding` How would you like the data coming _out_ of the stream to be + encoded? Accepts any values that can be passed to `Buffer.toString()`. +* `objectMode` Emit data exactly as it comes in. This will be flipped on + by default if you write() something other than a string or Buffer at any + point. Setting `objectMode: true` will prevent setting any encoding + value. +* `async` Defaults to `false`. Set to `true` to defer data + emission until next tick. This reduces performance slightly, + but makes Minipass streams use timing behavior closer to Node + core streams. See [Timing](#timing) for more details. + +### API + +Implements the user-facing portions of Node.js's `Readable` and `Writable` +streams. + +### Methods + +* `write(chunk, [encoding], [callback])` - Put data in. (Note that, in the + base Minipass class, the same data will come out.) Returns `false` if + the stream will buffer the next write, or true if it's still in "flowing" + mode. +* `end([chunk, [encoding]], [callback])` - Signal that you have no more + data to write. This will queue an `end` event to be fired when all the + data has been consumed. +* `setEncoding(encoding)` - Set the encoding for data coming of the stream. + This can only be done once. +* `pause()` - No more data for a while, please. This also prevents `end` + from being emitted for empty streams until the stream is resumed. +* `resume()` - Resume the stream. If there's data in the buffer, it is all + discarded. Any buffered events are immediately emitted. +* `pipe(dest)` - Send all output to the stream provided. When + data is emitted, it is immediately written to any and all pipe + destinations. (Or written on next tick in `async` mode.) +* `unpipe(dest)` - Stop piping to the destination stream. This + is immediate, meaning that any asynchronously queued data will + _not_ make it to the destination when running in `async` mode. + * `options.end` - Boolean, end the destination stream when + the source stream ends. Default `true`. + * `options.proxyErrors` - Boolean, proxy `error` events from + the source stream to the destination stream. Note that + errors are _not_ proxied after the pipeline terminates, + either due to the source emitting `'end'` or manually + unpiping with `src.unpipe(dest)`. Default `false`. +* `on(ev, fn)`, `emit(ev, fn)` - Minipass streams are EventEmitters. Some + events are given special treatment, however. (See below under "events".) +* `promise()` - Returns a Promise that resolves when the stream emits + `end`, or rejects if the stream emits `error`. +* `collect()` - Return a Promise that resolves on `end` with an array + containing each chunk of data that was emitted, or rejects if the stream + emits `error`. Note that this consumes the stream data. +* `concat()` - Same as `collect()`, but concatenates the data into a single + Buffer object. Will reject the returned promise if the stream is in + objectMode, or if it goes into objectMode by the end of the data. +* `read(n)` - Consume `n` bytes of data out of the buffer. If `n` is not + provided, then consume all of it. If `n` bytes are not available, then + it returns null. **Note** consuming streams in this way is less + efficient, and can lead to unnecessary Buffer copying. +* `destroy([er])` - Destroy the stream. If an error is provided, then an + `'error'` event is emitted. If the stream has a `close()` method, and + has not emitted a `'close'` event yet, then `stream.close()` will be + called. Any Promises returned by `.promise()`, `.collect()` or + `.concat()` will be rejected. After being destroyed, writing to the + stream will emit an error. No more data will be emitted if the stream is + destroyed, even if it was previously buffered. + +### Properties + +* `bufferLength` Read-only. Total number of bytes buffered, or in the case + of objectMode, the total number of objects. +* `encoding` The encoding that has been set. (Setting this is equivalent + to calling `setEncoding(enc)` and has the same prohibition against + setting multiple times.) +* `flowing` Read-only. Boolean indicating whether a chunk written to the + stream will be immediately emitted. +* `emittedEnd` Read-only. Boolean indicating whether the end-ish events + (ie, `end`, `prefinish`, `finish`) have been emitted. Note that + listening on any end-ish event will immediateyl re-emit it if it has + already been emitted. +* `writable` Whether the stream is writable. Default `true`. Set to + `false` when `end()` +* `readable` Whether the stream is readable. Default `true`. +* `buffer` A [yallist](http://npm.im/yallist) linked list of chunks written + to the stream that have not yet been emitted. (It's probably a bad idea + to mess with this.) +* `pipes` A [yallist](http://npm.im/yallist) linked list of streams that + this stream is piping into. (It's probably a bad idea to mess with + this.) +* `destroyed` A getter that indicates whether the stream was destroyed. +* `paused` True if the stream has been explicitly paused, otherwise false. +* `objectMode` Indicates whether the stream is in `objectMode`. Once set + to `true`, it cannot be set to `false`. + +### Events + +* `data` Emitted when there's data to read. Argument is the data to read. + This is never emitted while not flowing. If a listener is attached, that + will resume the stream. +* `end` Emitted when there's no more data to read. This will be emitted + immediately for empty streams when `end()` is called. If a listener is + attached, and `end` was already emitted, then it will be emitted again. + All listeners are removed when `end` is emitted. +* `prefinish` An end-ish event that follows the same logic as `end` and is + emitted in the same conditions where `end` is emitted. Emitted after + `'end'`. +* `finish` An end-ish event that follows the same logic as `end` and is + emitted in the same conditions where `end` is emitted. Emitted after + `'prefinish'`. +* `close` An indication that an underlying resource has been released. + Minipass does not emit this event, but will defer it until after `end` + has been emitted, since it throws off some stream libraries otherwise. +* `drain` Emitted when the internal buffer empties, and it is again + suitable to `write()` into the stream. +* `readable` Emitted when data is buffered and ready to be read by a + consumer. +* `resume` Emitted when stream changes state from buffering to flowing + mode. (Ie, when `resume` is called, `pipe` is called, or a `data` event + listener is added.) + +### Static Methods + +* `Minipass.isStream(stream)` Returns `true` if the argument is a stream, + and false otherwise. To be considered a stream, the object must be + either an instance of Minipass, or an EventEmitter that has either a + `pipe()` method, or both `write()` and `end()` methods. (Pretty much any + stream in node-land will return `true` for this.) + +## EXAMPLES + +Here are some examples of things you can do with Minipass streams. + +### simple "are you done yet" promise + +```js +mp.promise().then(() => { + // stream is finished +}, er => { + // stream emitted an error +}) +``` + +### collecting + +```js +mp.collect().then(all => { + // all is an array of all the data emitted + // encoding is supported in this case, so + // so the result will be a collection of strings if + // an encoding is specified, or buffers/objects if not. + // + // In an async function, you may do + // const data = await stream.collect() +}) +``` + +### collecting into a single blob + +This is a bit slower because it concatenates the data into one chunk for +you, but if you're going to do it yourself anyway, it's convenient this +way: + +```js +mp.concat().then(onebigchunk => { + // onebigchunk is a string if the stream + // had an encoding set, or a buffer otherwise. +}) +``` + +### iteration + +You can iterate over streams synchronously or asynchronously in platforms +that support it. + +Synchronous iteration will end when the currently available data is +consumed, even if the `end` event has not been reached. In string and +buffer mode, the data is concatenated, so unless multiple writes are +occurring in the same tick as the `read()`, sync iteration loops will +generally only have a single iteration. + +To consume chunks in this way exactly as they have been written, with no +flattening, create the stream with the `{ objectMode: true }` option. + +```js +const mp = new Minipass({ objectMode: true }) +mp.write('a') +mp.write('b') +for (let letter of mp) { + console.log(letter) // a, b +} +mp.write('c') +mp.write('d') +for (let letter of mp) { + console.log(letter) // c, d +} +mp.write('e') +mp.end() +for (let letter of mp) { + console.log(letter) // e +} +for (let letter of mp) { + console.log(letter) // nothing +} +``` + +Asynchronous iteration will continue until the end event is reached, +consuming all of the data. + +```js +const mp = new Minipass({ encoding: 'utf8' }) + +// some source of some data +let i = 5 +const inter = setInterval(() => { + if (i-- > 0) + mp.write(Buffer.from('foo\n', 'utf8')) + else { + mp.end() + clearInterval(inter) + } +}, 100) + +// consume the data with asynchronous iteration +async function consume () { + for await (let chunk of mp) { + console.log(chunk) + } + return 'ok' +} + +consume().then(res => console.log(res)) +// logs `foo\n` 5 times, and then `ok` +``` + +### subclass that `console.log()`s everything written into it + +```js +class Logger extends Minipass { + write (chunk, encoding, callback) { + console.log('WRITE', chunk, encoding) + return super.write(chunk, encoding, callback) + } + end (chunk, encoding, callback) { + console.log('END', chunk, encoding) + return super.end(chunk, encoding, callback) + } +} + +someSource.pipe(new Logger()).pipe(someDest) +``` + +### same thing, but using an inline anonymous class + +```js +// js classes are fun +someSource + .pipe(new (class extends Minipass { + emit (ev, ...data) { + // let's also log events, because debugging some weird thing + console.log('EMIT', ev) + return super.emit(ev, ...data) + } + write (chunk, encoding, callback) { + console.log('WRITE', chunk, encoding) + return super.write(chunk, encoding, callback) + } + end (chunk, encoding, callback) { + console.log('END', chunk, encoding) + return super.end(chunk, encoding, callback) + } + })) + .pipe(someDest) +``` + +### subclass that defers 'end' for some reason + +```js +class SlowEnd extends Minipass { + emit (ev, ...args) { + if (ev === 'end') { + console.log('going to end, hold on a sec') + setTimeout(() => { + console.log('ok, ready to end now') + super.emit('end', ...args) + }, 100) + } else { + return super.emit(ev, ...args) + } + } +} +``` + +### transform that creates newline-delimited JSON + +```js +class NDJSONEncode extends Minipass { + write (obj, cb) { + try { + // JSON.stringify can throw, emit an error on that + return super.write(JSON.stringify(obj) + '\n', 'utf8', cb) + } catch (er) { + this.emit('error', er) + } + } + end (obj, cb) { + if (typeof obj === 'function') { + cb = obj + obj = undefined + } + if (obj !== undefined) { + this.write(obj) + } + return super.end(cb) + } +} +``` + +### transform that parses newline-delimited JSON + +```js +class NDJSONDecode extends Minipass { + constructor (options) { + // always be in object mode, as far as Minipass is concerned + super({ objectMode: true }) + this._jsonBuffer = '' + } + write (chunk, encoding, cb) { + if (typeof chunk === 'string' && + typeof encoding === 'string' && + encoding !== 'utf8') { + chunk = Buffer.from(chunk, encoding).toString() + } else if (Buffer.isBuffer(chunk)) + chunk = chunk.toString() + } + if (typeof encoding === 'function') { + cb = encoding + } + const jsonData = (this._jsonBuffer + chunk).split('\n') + this._jsonBuffer = jsonData.pop() + for (let i = 0; i < jsonData.length; i++) { + try { + // JSON.parse can throw, emit an error on that + super.write(JSON.parse(jsonData[i])) + } catch (er) { + this.emit('error', er) + continue + } + } + if (cb) + cb() + } +} +``` diff --git a/core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/index.d.ts b/core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/index.d.ts new file mode 100644 index 00000000000..65faf63686c --- /dev/null +++ b/core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/index.d.ts @@ -0,0 +1,155 @@ +/// +import { EventEmitter } from 'events' +import { Stream } from 'stream' + +declare namespace Minipass { + type Encoding = BufferEncoding | 'buffer' | null + + interface Writable extends EventEmitter { + end(): any + write(chunk: any, ...args: any[]): any + } + + interface Readable extends EventEmitter { + pause(): any + resume(): any + pipe(): any + } + + interface Pipe { + src: Minipass + dest: Writable + opts: PipeOptions + } + + type DualIterable = Iterable & AsyncIterable + + type ContiguousData = Buffer | ArrayBufferLike | ArrayBufferView | string + + type BufferOrString = Buffer | string + + interface StringOptions { + encoding: BufferEncoding + objectMode?: boolean + async?: boolean + } + + interface BufferOptions { + encoding?: null | 'buffer' + objectMode?: boolean + async?: boolean + } + + interface ObjectModeOptions { + objectMode: true + async?: boolean + } + + interface PipeOptions { + end?: boolean + proxyErrors?: boolean + } + + type Options = T extends string + ? StringOptions + : T extends Buffer + ? BufferOptions + : ObjectModeOptions +} + +declare class Minipass< + RType extends any = Buffer, + WType extends any = RType extends Minipass.BufferOrString + ? Minipass.ContiguousData + : RType + > + extends Stream + implements Minipass.DualIterable +{ + static isStream(stream: any): stream is Minipass.Readable | Minipass.Writable + + readonly bufferLength: number + readonly flowing: boolean + readonly writable: boolean + readonly readable: boolean + readonly paused: boolean + readonly emittedEnd: boolean + readonly destroyed: boolean + + /** + * Not technically private or readonly, but not safe to mutate. + */ + private readonly buffer: RType[] + private readonly pipes: Minipass.Pipe[] + + /** + * Technically writable, but mutating it can change the type, + * so is not safe to do in TypeScript. + */ + readonly objectMode: boolean + async: boolean + + /** + * Note: encoding is not actually read-only, and setEncoding(enc) + * exists. However, this type definition will insist that TypeScript + * programs declare the type of a Minipass stream up front, and if + * that type is string, then an encoding MUST be set in the ctor. If + * the type is Buffer, then the encoding must be missing, or set to + * 'buffer' or null. If the type is anything else, then objectMode + * must be set in the constructor options. So there is effectively + * no allowed way that a TS program can set the encoding after + * construction, as doing so will destroy any hope of type safety. + * TypeScript does not provide many options for changing the type of + * an object at run-time, which is what changing the encoding does. + */ + readonly encoding: Minipass.Encoding + // setEncoding(encoding: Encoding): void + + // Options required if not reading buffers + constructor( + ...args: RType extends Buffer + ? [] | [Minipass.Options] + : [Minipass.Options] + ) + + write(chunk: WType, cb?: () => void): boolean + write(chunk: WType, encoding?: Minipass.Encoding, cb?: () => void): boolean + read(size?: number): RType + end(cb?: () => void): this + end(chunk: any, cb?: () => void): this + end(chunk: any, encoding?: Minipass.Encoding, cb?: () => void): this + pause(): void + resume(): void + promise(): Promise + collect(): Promise + + concat(): RType extends Minipass.BufferOrString ? Promise : never + destroy(er?: any): void + pipe(dest: W, opts?: Minipass.PipeOptions): W + unpipe(dest: W): void + + /** + * alias for on() + */ + addEventHandler(event: string, listener: (...args: any[]) => any): this + + on(event: string, listener: (...args: any[]) => any): this + on(event: 'data', listener: (chunk: RType) => any): this + on(event: 'error', listener: (error: any) => any): this + on( + event: + | 'readable' + | 'drain' + | 'resume' + | 'end' + | 'prefinish' + | 'finish' + | 'close', + listener: () => any + ): this + + [Symbol.iterator](): Iterator + [Symbol.asyncIterator](): AsyncIterator +} + +export = Minipass diff --git a/core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/index.js b/core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/index.js new file mode 100644 index 00000000000..e8797aab6cc --- /dev/null +++ b/core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/index.js @@ -0,0 +1,649 @@ +'use strict' +const proc = typeof process === 'object' && process ? process : { + stdout: null, + stderr: null, +} +const EE = require('events') +const Stream = require('stream') +const SD = require('string_decoder').StringDecoder + +const EOF = Symbol('EOF') +const MAYBE_EMIT_END = Symbol('maybeEmitEnd') +const EMITTED_END = Symbol('emittedEnd') +const EMITTING_END = Symbol('emittingEnd') +const EMITTED_ERROR = Symbol('emittedError') +const CLOSED = Symbol('closed') +const READ = Symbol('read') +const FLUSH = Symbol('flush') +const FLUSHCHUNK = Symbol('flushChunk') +const ENCODING = Symbol('encoding') +const DECODER = Symbol('decoder') +const FLOWING = Symbol('flowing') +const PAUSED = Symbol('paused') +const RESUME = Symbol('resume') +const BUFFERLENGTH = Symbol('bufferLength') +const BUFFERPUSH = Symbol('bufferPush') +const BUFFERSHIFT = Symbol('bufferShift') +const OBJECTMODE = Symbol('objectMode') +const DESTROYED = Symbol('destroyed') +const EMITDATA = Symbol('emitData') +const EMITEND = Symbol('emitEnd') +const EMITEND2 = Symbol('emitEnd2') +const ASYNC = Symbol('async') + +const defer = fn => Promise.resolve().then(fn) + +// TODO remove when Node v8 support drops +const doIter = global._MP_NO_ITERATOR_SYMBOLS_ !== '1' +const ASYNCITERATOR = doIter && Symbol.asyncIterator + || Symbol('asyncIterator not implemented') +const ITERATOR = doIter && Symbol.iterator + || Symbol('iterator not implemented') + +// events that mean 'the stream is over' +// these are treated specially, and re-emitted +// if they are listened for after emitting. +const isEndish = ev => + ev === 'end' || + ev === 'finish' || + ev === 'prefinish' + +const isArrayBuffer = b => b instanceof ArrayBuffer || + typeof b === 'object' && + b.constructor && + b.constructor.name === 'ArrayBuffer' && + b.byteLength >= 0 + +const isArrayBufferView = b => !Buffer.isBuffer(b) && ArrayBuffer.isView(b) + +class Pipe { + constructor (src, dest, opts) { + this.src = src + this.dest = dest + this.opts = opts + this.ondrain = () => src[RESUME]() + dest.on('drain', this.ondrain) + } + unpipe () { + this.dest.removeListener('drain', this.ondrain) + } + // istanbul ignore next - only here for the prototype + proxyErrors () {} + end () { + this.unpipe() + if (this.opts.end) + this.dest.end() + } +} + +class PipeProxyErrors extends Pipe { + unpipe () { + this.src.removeListener('error', this.proxyErrors) + super.unpipe() + } + constructor (src, dest, opts) { + super(src, dest, opts) + this.proxyErrors = er => dest.emit('error', er) + src.on('error', this.proxyErrors) + } +} + +module.exports = class Minipass extends Stream { + constructor (options) { + super() + this[FLOWING] = false + // whether we're explicitly paused + this[PAUSED] = false + this.pipes = [] + this.buffer = [] + this[OBJECTMODE] = options && options.objectMode || false + if (this[OBJECTMODE]) + this[ENCODING] = null + else + this[ENCODING] = options && options.encoding || null + if (this[ENCODING] === 'buffer') + this[ENCODING] = null + this[ASYNC] = options && !!options.async || false + this[DECODER] = this[ENCODING] ? new SD(this[ENCODING]) : null + this[EOF] = false + this[EMITTED_END] = false + this[EMITTING_END] = false + this[CLOSED] = false + this[EMITTED_ERROR] = null + this.writable = true + this.readable = true + this[BUFFERLENGTH] = 0 + this[DESTROYED] = false + } + + get bufferLength () { return this[BUFFERLENGTH] } + + get encoding () { return this[ENCODING] } + set encoding (enc) { + if (this[OBJECTMODE]) + throw new Error('cannot set encoding in objectMode') + + if (this[ENCODING] && enc !== this[ENCODING] && + (this[DECODER] && this[DECODER].lastNeed || this[BUFFERLENGTH])) + throw new Error('cannot change encoding') + + if (this[ENCODING] !== enc) { + this[DECODER] = enc ? new SD(enc) : null + if (this.buffer.length) + this.buffer = this.buffer.map(chunk => this[DECODER].write(chunk)) + } + + this[ENCODING] = enc + } + + setEncoding (enc) { + this.encoding = enc + } + + get objectMode () { return this[OBJECTMODE] } + set objectMode (om) { this[OBJECTMODE] = this[OBJECTMODE] || !!om } + + get ['async'] () { return this[ASYNC] } + set ['async'] (a) { this[ASYNC] = this[ASYNC] || !!a } + + write (chunk, encoding, cb) { + if (this[EOF]) + throw new Error('write after end') + + if (this[DESTROYED]) { + this.emit('error', Object.assign( + new Error('Cannot call write after a stream was destroyed'), + { code: 'ERR_STREAM_DESTROYED' } + )) + return true + } + + if (typeof encoding === 'function') + cb = encoding, encoding = 'utf8' + + if (!encoding) + encoding = 'utf8' + + const fn = this[ASYNC] ? defer : f => f() + + // convert array buffers and typed array views into buffers + // at some point in the future, we may want to do the opposite! + // leave strings and buffers as-is + // anything else switches us into object mode + if (!this[OBJECTMODE] && !Buffer.isBuffer(chunk)) { + if (isArrayBufferView(chunk)) + chunk = Buffer.from(chunk.buffer, chunk.byteOffset, chunk.byteLength) + else if (isArrayBuffer(chunk)) + chunk = Buffer.from(chunk) + else if (typeof chunk !== 'string') + // use the setter so we throw if we have encoding set + this.objectMode = true + } + + // handle object mode up front, since it's simpler + // this yields better performance, fewer checks later. + if (this[OBJECTMODE]) { + /* istanbul ignore if - maybe impossible? */ + if (this.flowing && this[BUFFERLENGTH] !== 0) + this[FLUSH](true) + + if (this.flowing) + this.emit('data', chunk) + else + this[BUFFERPUSH](chunk) + + if (this[BUFFERLENGTH] !== 0) + this.emit('readable') + + if (cb) + fn(cb) + + return this.flowing + } + + // at this point the chunk is a buffer or string + // don't buffer it up or send it to the decoder + if (!chunk.length) { + if (this[BUFFERLENGTH] !== 0) + this.emit('readable') + if (cb) + fn(cb) + return this.flowing + } + + // fast-path writing strings of same encoding to a stream with + // an empty buffer, skipping the buffer/decoder dance + if (typeof chunk === 'string' && + // unless it is a string already ready for us to use + !(encoding === this[ENCODING] && !this[DECODER].lastNeed)) { + chunk = Buffer.from(chunk, encoding) + } + + if (Buffer.isBuffer(chunk) && this[ENCODING]) + chunk = this[DECODER].write(chunk) + + // Note: flushing CAN potentially switch us into not-flowing mode + if (this.flowing && this[BUFFERLENGTH] !== 0) + this[FLUSH](true) + + if (this.flowing) + this.emit('data', chunk) + else + this[BUFFERPUSH](chunk) + + if (this[BUFFERLENGTH] !== 0) + this.emit('readable') + + if (cb) + fn(cb) + + return this.flowing + } + + read (n) { + if (this[DESTROYED]) + return null + + if (this[BUFFERLENGTH] === 0 || n === 0 || n > this[BUFFERLENGTH]) { + this[MAYBE_EMIT_END]() + return null + } + + if (this[OBJECTMODE]) + n = null + + if (this.buffer.length > 1 && !this[OBJECTMODE]) { + if (this.encoding) + this.buffer = [this.buffer.join('')] + else + this.buffer = [Buffer.concat(this.buffer, this[BUFFERLENGTH])] + } + + const ret = this[READ](n || null, this.buffer[0]) + this[MAYBE_EMIT_END]() + return ret + } + + [READ] (n, chunk) { + if (n === chunk.length || n === null) + this[BUFFERSHIFT]() + else { + this.buffer[0] = chunk.slice(n) + chunk = chunk.slice(0, n) + this[BUFFERLENGTH] -= n + } + + this.emit('data', chunk) + + if (!this.buffer.length && !this[EOF]) + this.emit('drain') + + return chunk + } + + end (chunk, encoding, cb) { + if (typeof chunk === 'function') + cb = chunk, chunk = null + if (typeof encoding === 'function') + cb = encoding, encoding = 'utf8' + if (chunk) + this.write(chunk, encoding) + if (cb) + this.once('end', cb) + this[EOF] = true + this.writable = false + + // if we haven't written anything, then go ahead and emit, + // even if we're not reading. + // we'll re-emit if a new 'end' listener is added anyway. + // This makes MP more suitable to write-only use cases. + if (this.flowing || !this[PAUSED]) + this[MAYBE_EMIT_END]() + return this + } + + // don't let the internal resume be overwritten + [RESUME] () { + if (this[DESTROYED]) + return + + this[PAUSED] = false + this[FLOWING] = true + this.emit('resume') + if (this.buffer.length) + this[FLUSH]() + else if (this[EOF]) + this[MAYBE_EMIT_END]() + else + this.emit('drain') + } + + resume () { + return this[RESUME]() + } + + pause () { + this[FLOWING] = false + this[PAUSED] = true + } + + get destroyed () { + return this[DESTROYED] + } + + get flowing () { + return this[FLOWING] + } + + get paused () { + return this[PAUSED] + } + + [BUFFERPUSH] (chunk) { + if (this[OBJECTMODE]) + this[BUFFERLENGTH] += 1 + else + this[BUFFERLENGTH] += chunk.length + this.buffer.push(chunk) + } + + [BUFFERSHIFT] () { + if (this.buffer.length) { + if (this[OBJECTMODE]) + this[BUFFERLENGTH] -= 1 + else + this[BUFFERLENGTH] -= this.buffer[0].length + } + return this.buffer.shift() + } + + [FLUSH] (noDrain) { + do {} while (this[FLUSHCHUNK](this[BUFFERSHIFT]())) + + if (!noDrain && !this.buffer.length && !this[EOF]) + this.emit('drain') + } + + [FLUSHCHUNK] (chunk) { + return chunk ? (this.emit('data', chunk), this.flowing) : false + } + + pipe (dest, opts) { + if (this[DESTROYED]) + return + + const ended = this[EMITTED_END] + opts = opts || {} + if (dest === proc.stdout || dest === proc.stderr) + opts.end = false + else + opts.end = opts.end !== false + opts.proxyErrors = !!opts.proxyErrors + + // piping an ended stream ends immediately + if (ended) { + if (opts.end) + dest.end() + } else { + this.pipes.push(!opts.proxyErrors ? new Pipe(this, dest, opts) + : new PipeProxyErrors(this, dest, opts)) + if (this[ASYNC]) + defer(() => this[RESUME]()) + else + this[RESUME]() + } + + return dest + } + + unpipe (dest) { + const p = this.pipes.find(p => p.dest === dest) + if (p) { + this.pipes.splice(this.pipes.indexOf(p), 1) + p.unpipe() + } + } + + addListener (ev, fn) { + return this.on(ev, fn) + } + + on (ev, fn) { + const ret = super.on(ev, fn) + if (ev === 'data' && !this.pipes.length && !this.flowing) + this[RESUME]() + else if (ev === 'readable' && this[BUFFERLENGTH] !== 0) + super.emit('readable') + else if (isEndish(ev) && this[EMITTED_END]) { + super.emit(ev) + this.removeAllListeners(ev) + } else if (ev === 'error' && this[EMITTED_ERROR]) { + if (this[ASYNC]) + defer(() => fn.call(this, this[EMITTED_ERROR])) + else + fn.call(this, this[EMITTED_ERROR]) + } + return ret + } + + get emittedEnd () { + return this[EMITTED_END] + } + + [MAYBE_EMIT_END] () { + if (!this[EMITTING_END] && + !this[EMITTED_END] && + !this[DESTROYED] && + this.buffer.length === 0 && + this[EOF]) { + this[EMITTING_END] = true + this.emit('end') + this.emit('prefinish') + this.emit('finish') + if (this[CLOSED]) + this.emit('close') + this[EMITTING_END] = false + } + } + + emit (ev, data, ...extra) { + // error and close are only events allowed after calling destroy() + if (ev !== 'error' && ev !== 'close' && ev !== DESTROYED && this[DESTROYED]) + return + else if (ev === 'data') { + return !data ? false + : this[ASYNC] ? defer(() => this[EMITDATA](data)) + : this[EMITDATA](data) + } else if (ev === 'end') { + return this[EMITEND]() + } else if (ev === 'close') { + this[CLOSED] = true + // don't emit close before 'end' and 'finish' + if (!this[EMITTED_END] && !this[DESTROYED]) + return + const ret = super.emit('close') + this.removeAllListeners('close') + return ret + } else if (ev === 'error') { + this[EMITTED_ERROR] = data + const ret = super.emit('error', data) + this[MAYBE_EMIT_END]() + return ret + } else if (ev === 'resume') { + const ret = super.emit('resume') + this[MAYBE_EMIT_END]() + return ret + } else if (ev === 'finish' || ev === 'prefinish') { + const ret = super.emit(ev) + this.removeAllListeners(ev) + return ret + } + + // Some other unknown event + const ret = super.emit(ev, data, ...extra) + this[MAYBE_EMIT_END]() + return ret + } + + [EMITDATA] (data) { + for (const p of this.pipes) { + if (p.dest.write(data) === false) + this.pause() + } + const ret = super.emit('data', data) + this[MAYBE_EMIT_END]() + return ret + } + + [EMITEND] () { + if (this[EMITTED_END]) + return + + this[EMITTED_END] = true + this.readable = false + if (this[ASYNC]) + defer(() => this[EMITEND2]()) + else + this[EMITEND2]() + } + + [EMITEND2] () { + if (this[DECODER]) { + const data = this[DECODER].end() + if (data) { + for (const p of this.pipes) { + p.dest.write(data) + } + super.emit('data', data) + } + } + + for (const p of this.pipes) { + p.end() + } + const ret = super.emit('end') + this.removeAllListeners('end') + return ret + } + + // const all = await stream.collect() + collect () { + const buf = [] + if (!this[OBJECTMODE]) + buf.dataLength = 0 + // set the promise first, in case an error is raised + // by triggering the flow here. + const p = this.promise() + this.on('data', c => { + buf.push(c) + if (!this[OBJECTMODE]) + buf.dataLength += c.length + }) + return p.then(() => buf) + } + + // const data = await stream.concat() + concat () { + return this[OBJECTMODE] + ? Promise.reject(new Error('cannot concat in objectMode')) + : this.collect().then(buf => + this[OBJECTMODE] + ? Promise.reject(new Error('cannot concat in objectMode')) + : this[ENCODING] ? buf.join('') : Buffer.concat(buf, buf.dataLength)) + } + + // stream.promise().then(() => done, er => emitted error) + promise () { + return new Promise((resolve, reject) => { + this.on(DESTROYED, () => reject(new Error('stream destroyed'))) + this.on('error', er => reject(er)) + this.on('end', () => resolve()) + }) + } + + // for await (let chunk of stream) + [ASYNCITERATOR] () { + const next = () => { + const res = this.read() + if (res !== null) + return Promise.resolve({ done: false, value: res }) + + if (this[EOF]) + return Promise.resolve({ done: true }) + + let resolve = null + let reject = null + const onerr = er => { + this.removeListener('data', ondata) + this.removeListener('end', onend) + reject(er) + } + const ondata = value => { + this.removeListener('error', onerr) + this.removeListener('end', onend) + this.pause() + resolve({ value: value, done: !!this[EOF] }) + } + const onend = () => { + this.removeListener('error', onerr) + this.removeListener('data', ondata) + resolve({ done: true }) + } + const ondestroy = () => onerr(new Error('stream destroyed')) + return new Promise((res, rej) => { + reject = rej + resolve = res + this.once(DESTROYED, ondestroy) + this.once('error', onerr) + this.once('end', onend) + this.once('data', ondata) + }) + } + + return { next } + } + + // for (let chunk of stream) + [ITERATOR] () { + const next = () => { + const value = this.read() + const done = value === null + return { value, done } + } + return { next } + } + + destroy (er) { + if (this[DESTROYED]) { + if (er) + this.emit('error', er) + else + this.emit(DESTROYED) + return this + } + + this[DESTROYED] = true + + // throw away all buffered data, it's never coming out + this.buffer.length = 0 + this[BUFFERLENGTH] = 0 + + if (typeof this.close === 'function' && !this[CLOSED]) + this.close() + + if (er) + this.emit('error', er) + else // if no error to emit, still reject pending promises + this.emit(DESTROYED) + + return this + } + + static isStream (s) { + return !!s && (s instanceof Minipass || s instanceof Stream || + s instanceof EE && ( + typeof s.pipe === 'function' || // readable + (typeof s.write === 'function' && typeof s.end === 'function') // writable + )) + } +} diff --git a/core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/package.json b/core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/package.json new file mode 100644 index 00000000000..548d03fa6d5 --- /dev/null +++ b/core/pyright-language-server/node_modules/minipass-sized/node_modules/minipass/package.json @@ -0,0 +1,56 @@ +{ + "name": "minipass", + "version": "3.3.6", + "description": "minimal implementation of a PassThrough stream", + "main": "index.js", + "types": "index.d.ts", + "dependencies": { + "yallist": "^4.0.0" + }, + "devDependencies": { + "@types/node": "^17.0.41", + "end-of-stream": "^1.4.0", + "prettier": "^2.6.2", + "tap": "^16.2.0", + "through2": "^2.0.3", + "ts-node": "^10.8.1", + "typescript": "^4.7.3" + }, + "scripts": { + "test": "tap", + "preversion": "npm test", + "postversion": "npm publish", + "postpublish": "git push origin --follow-tags" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/isaacs/minipass.git" + }, + "keywords": [ + "passthrough", + "stream" + ], + "author": "Isaac Z. Schlueter (http://blog.izs.me/)", + "license": "ISC", + "files": [ + "index.d.ts", + "index.js" + ], + "tap": { + "check-coverage": true + }, + "engines": { + "node": ">=8" + }, + "prettier": { + "semi": false, + "printWidth": 80, + "tabWidth": 2, + "useTabs": false, + "singleQuote": true, + "jsxSingleQuote": false, + "bracketSameLine": true, + "arrowParens": "avoid", + "endOfLine": "lf" + } +}