From 5e76efb95f64eb6b73fb1452552773d26ce26096 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Sun, 17 Aug 2025 22:48:09 -0700 Subject: [PATCH 01/34] init --- .../dao/jooq/generated/DefaultCatalog.java | 71 -- .../ics/texera/dao/jooq/generated/Keys.java | 159 ---- .../ics/texera/dao/jooq/generated/Tables.java | 187 ----- .../texera/dao/jooq/generated/TexeraDb.java | 246 ------- .../jooq/generated/enums/PrivilegeEnum.java | 75 -- .../jooq/generated/enums/UserRoleEnum.java | 77 -- .../enums/WorkflowComputingUnitTypeEnum.java | 73 -- .../tables/ComputingUnitUserAccess.java | 193 ----- .../dao/jooq/generated/tables/Dataset.java | 203 ------ .../generated/tables/DatasetUserAccess.java | 190 ----- .../generated/tables/DatasetUserLikes.java | 184 ----- .../jooq/generated/tables/DatasetVersion.java | 198 ----- .../generated/tables/DatasetViewCount.java | 173 ----- .../generated/tables/OperatorExecutions.java | 187 ----- .../tables/OperatorPortExecutions.java | 186 ----- .../dao/jooq/generated/tables/Project.java | 203 ------ .../generated/tables/ProjectUserAccess.java | 190 ----- .../jooq/generated/tables/PublicProject.java | 171 ----- .../jooq/generated/tables/SiteSettings.java | 163 ----- .../dao/jooq/generated/tables/TimeLog.java | 172 ----- .../dao/jooq/generated/tables/User.java | 205 ------ .../jooq/generated/tables/UserActivity.java | 166 ----- .../dao/jooq/generated/tables/UserConfig.java | 176 ----- .../dao/jooq/generated/tables/Workflow.java | 184 ----- .../tables/WorkflowComputingUnit.java | 211 ------ .../generated/tables/WorkflowExecutions.java | 265 ------- .../generated/tables/WorkflowOfProject.java | 184 ----- .../jooq/generated/tables/WorkflowOfUser.java | 182 ----- .../generated/tables/WorkflowUserAccess.java | 190 ----- .../generated/tables/WorkflowUserClones.java | 184 ----- .../generated/tables/WorkflowUserLikes.java | 184 ----- .../generated/tables/WorkflowVersion.java | 188 ----- .../generated/tables/WorkflowViewCount.java | 173 ----- .../daos/ComputingUnitUserAccessDao.java | 104 --- .../generated/tables/daos/DatasetDao.java | 178 ----- .../tables/daos/DatasetUserAccessDao.java | 104 --- .../tables/daos/DatasetUserLikesDao.java | 88 --- .../tables/daos/DatasetVersionDao.java | 163 ----- .../tables/daos/DatasetViewCountDao.java | 102 --- .../tables/daos/OperatorExecutionsDao.java | 118 --- .../daos/OperatorPortExecutionsDao.java | 118 --- .../generated/tables/daos/ProjectDao.java | 163 ----- .../tables/daos/ProjectUserAccessDao.java | 104 --- .../tables/daos/PublicProjectDao.java | 102 --- .../tables/daos/SiteSettingsDao.java | 133 ---- .../generated/tables/daos/TimeLogDao.java | 103 --- .../generated/tables/daos/UserConfigDao.java | 103 --- .../jooq/generated/tables/daos/UserDao.java | 221 ------ .../tables/daos/WorkflowComputingUnitDao.java | 194 ----- .../generated/tables/daos/WorkflowDao.java | 178 ----- .../tables/daos/WorkflowExecutionsDao.java | 283 ------- .../tables/daos/WorkflowOfProjectDao.java | 88 --- .../tables/daos/WorkflowOfUserDao.java | 88 --- .../tables/daos/WorkflowUserAccessDao.java | 104 --- .../tables/daos/WorkflowUserClonesDao.java | 88 --- .../tables/daos/WorkflowUserLikesDao.java | 88 --- .../tables/daos/WorkflowVersionDao.java | 133 ---- .../tables/daos/WorkflowViewCountDao.java | 102 --- .../interfaces/IComputingUnitUserAccess.java | 80 -- .../generated/tables/interfaces/IDataset.java | 119 --- .../tables/interfaces/IDatasetUserAccess.java | 80 -- .../tables/interfaces/IDatasetUserLikes.java | 68 -- .../tables/interfaces/IDatasetVersion.java | 109 --- .../tables/interfaces/IDatasetViewCount.java | 68 -- .../interfaces/IOperatorExecutions.java | 94 --- .../interfaces/IOperatorPortExecutions.java | 92 --- .../generated/tables/interfaces/IProject.java | 109 --- .../tables/interfaces/IProjectUserAccess.java | 80 -- .../tables/interfaces/IPublicProject.java | 68 -- .../tables/interfaces/ISiteSettings.java | 89 --- .../generated/tables/interfaces/ITimeLog.java | 69 -- .../generated/tables/interfaces/IUser.java | 130 ---- .../tables/interfaces/IUserActivity.java | 109 --- .../tables/interfaces/IUserConfig.java | 78 -- .../tables/interfaces/IWorkflow.java | 119 --- .../interfaces/IWorkflowComputingUnit.java | 131 ---- .../interfaces/IWorkflowExecutions.java | 191 ----- .../tables/interfaces/IWorkflowOfProject.java | 68 -- .../tables/interfaces/IWorkflowOfUser.java | 68 -- .../interfaces/IWorkflowUserAccess.java | 80 -- .../interfaces/IWorkflowUserClones.java | 68 -- .../tables/interfaces/IWorkflowUserLikes.java | 68 -- .../tables/interfaces/IWorkflowVersion.java | 89 --- .../tables/interfaces/IWorkflowViewCount.java | 68 -- .../tables/pojos/ComputingUnitUserAccess.java | 134 ---- .../jooq/generated/tables/pojos/Dataset.java | 223 ------ .../tables/pojos/DatasetUserAccess.java | 134 ---- .../tables/pojos/DatasetUserLikes.java | 111 --- .../tables/pojos/DatasetVersion.java | 201 ----- .../tables/pojos/DatasetViewCount.java | 111 --- .../tables/pojos/OperatorExecutions.java | 161 ---- .../tables/pojos/OperatorPortExecutions.java | 159 ---- .../jooq/generated/tables/pojos/Project.java | 201 ----- .../tables/pojos/ProjectUserAccess.java | 134 ---- .../generated/tables/pojos/PublicProject.java | 111 --- .../generated/tables/pojos/SiteSettings.java | 157 ---- .../jooq/generated/tables/pojos/TimeLog.java | 113 --- .../dao/jooq/generated/tables/pojos/User.java | 244 ------- .../generated/tables/pojos/UserActivity.java | 201 ----- .../generated/tables/pojos/UserConfig.java | 133 ---- .../jooq/generated/tables/pojos/Workflow.java | 223 ------ .../tables/pojos/WorkflowComputingUnit.java | 246 ------- .../tables/pojos/WorkflowExecutions.java | 379 ---------- .../tables/pojos/WorkflowOfProject.java | 111 --- .../tables/pojos/WorkflowOfUser.java | 111 --- .../tables/pojos/WorkflowUserAccess.java | 134 ---- .../tables/pojos/WorkflowUserClones.java | 111 --- .../tables/pojos/WorkflowUserLikes.java | 111 --- .../tables/pojos/WorkflowVersion.java | 157 ---- .../tables/pojos/WorkflowViewCount.java | 111 --- .../ComputingUnitUserAccessRecord.java | 236 ------ .../tables/records/DatasetRecord.java | 401 ---------- .../records/DatasetUserAccessRecord.java | 236 ------ .../records/DatasetUserLikesRecord.java | 193 ----- .../tables/records/DatasetVersionRecord.java | 360 --------- .../records/DatasetViewCountRecord.java | 194 ----- .../records/OperatorExecutionsRecord.java | 282 ------- .../records/OperatorPortExecutionsRecord.java | 280 ------- .../tables/records/ProjectRecord.java | 360 --------- .../records/ProjectUserAccessRecord.java | 236 ------ .../tables/records/PublicProjectRecord.java | 194 ----- .../tables/records/SiteSettingsRecord.java | 278 ------- .../tables/records/TimeLogRecord.java | 196 ----- .../tables/records/UserActivityRecord.java | 350 --------- .../tables/records/UserConfigRecord.java | 235 ------ .../generated/tables/records/UserRecord.java | 441 ----------- .../records/WorkflowComputingUnitRecord.java | 443 ----------- .../records/WorkflowExecutionsRecord.java | 690 ------------------ .../records/WorkflowOfProjectRecord.java | 193 ----- .../tables/records/WorkflowOfUserRecord.java | 193 ----- .../tables/records/WorkflowRecord.java | 401 ---------- .../records/WorkflowUserAccessRecord.java | 236 ------ .../records/WorkflowUserClonesRecord.java | 193 ----- .../records/WorkflowUserLikesRecord.java | 193 ----- .../tables/records/WorkflowVersionRecord.java | 278 ------- .../records/WorkflowViewCountRecord.java | 194 ----- 136 files changed, 23143 deletions(-) delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/DefaultCatalog.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/Keys.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/Tables.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/TexeraDb.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/enums/PrivilegeEnum.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/enums/UserRoleEnum.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/enums/WorkflowComputingUnitTypeEnum.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/ComputingUnitUserAccess.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/Dataset.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/DatasetUserAccess.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/DatasetUserLikes.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/DatasetVersion.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/DatasetViewCount.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/OperatorExecutions.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/OperatorPortExecutions.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/Project.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/ProjectUserAccess.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/PublicProject.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/SiteSettings.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/TimeLog.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/User.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/UserActivity.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/UserConfig.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/Workflow.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowComputingUnit.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowExecutions.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowOfProject.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowOfUser.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowUserAccess.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowUserClones.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowUserLikes.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowVersion.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowViewCount.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/ComputingUnitUserAccessDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetUserAccessDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetUserLikesDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetVersionDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetViewCountDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/OperatorExecutionsDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/OperatorPortExecutionsDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/ProjectDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/ProjectUserAccessDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/PublicProjectDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/SiteSettingsDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/TimeLogDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/UserConfigDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/UserDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowComputingUnitDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowExecutionsDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowOfProjectDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowOfUserDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowUserAccessDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowUserClonesDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowUserLikesDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowVersionDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowViewCountDao.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IComputingUnitUserAccess.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDataset.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDatasetUserAccess.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDatasetUserLikes.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDatasetVersion.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDatasetViewCount.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IOperatorExecutions.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IOperatorPortExecutions.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IProject.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IProjectUserAccess.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IPublicProject.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/ISiteSettings.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/ITimeLog.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IUser.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IUserActivity.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IUserConfig.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflow.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowComputingUnit.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowExecutions.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowOfProject.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowOfUser.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowUserAccess.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowUserClones.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowUserLikes.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowVersion.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowViewCount.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/ComputingUnitUserAccess.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/Dataset.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/DatasetUserAccess.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/DatasetUserLikes.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/DatasetVersion.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/DatasetViewCount.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/OperatorExecutions.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/OperatorPortExecutions.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/Project.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/ProjectUserAccess.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/PublicProject.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/SiteSettings.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/TimeLog.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/User.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/UserActivity.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/UserConfig.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/Workflow.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowComputingUnit.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowExecutions.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowOfProject.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowOfUser.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowUserAccess.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowUserClones.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowUserLikes.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowVersion.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowViewCount.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/ComputingUnitUserAccessRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetUserAccessRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetUserLikesRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetVersionRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetViewCountRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/OperatorExecutionsRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/OperatorPortExecutionsRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/ProjectRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/ProjectUserAccessRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/PublicProjectRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/SiteSettingsRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/TimeLogRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/UserActivityRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/UserConfigRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/UserRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowComputingUnitRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowExecutionsRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowOfProjectRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowOfUserRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowUserAccessRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowUserClonesRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowUserLikesRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowVersionRecord.java delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowViewCountRecord.java diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/DefaultCatalog.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/DefaultCatalog.java deleted file mode 100644 index f22efbb9047..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/DefaultCatalog.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated; - - -import java.util.Arrays; -import java.util.List; - -import org.jooq.Constants; -import org.jooq.Schema; -import org.jooq.impl.CatalogImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DefaultCatalog extends CatalogImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of DEFAULT_CATALOG - */ - public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog(); - - /** - * The schema texera_db. - */ - public final TexeraDb TEXERA_DB = TexeraDb.TEXERA_DB; - - /** - * No further instances allowed - */ - private DefaultCatalog() { - super(""); - } - - @Override - public final List getSchemas() { - return Arrays.asList( - TexeraDb.TEXERA_DB - ); - } - - /** - * A reference to the 3.16 minor release of the code generator. If this - * doesn't compile, it's because the runtime library uses an older minor - * release, namely: 3.16. You can turn off the generation of this reference - * by specifying /configuration/generator/generate/jooqVersionReference - */ - private static final String REQUIRE_RUNTIME_JOOQ_VERSION = Constants.VERSION_3_16; -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/Keys.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/Keys.java deleted file mode 100644 index b07305f249b..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/Keys.java +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.ComputingUnitUserAccess; -import edu.uci.ics.texera.dao.jooq.generated.tables.Dataset; -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetUserAccess; -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetUserLikes; -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetVersion; -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetViewCount; -import edu.uci.ics.texera.dao.jooq.generated.tables.OperatorExecutions; -import edu.uci.ics.texera.dao.jooq.generated.tables.OperatorPortExecutions; -import edu.uci.ics.texera.dao.jooq.generated.tables.Project; -import edu.uci.ics.texera.dao.jooq.generated.tables.ProjectUserAccess; -import edu.uci.ics.texera.dao.jooq.generated.tables.PublicProject; -import edu.uci.ics.texera.dao.jooq.generated.tables.SiteSettings; -import edu.uci.ics.texera.dao.jooq.generated.tables.TimeLog; -import edu.uci.ics.texera.dao.jooq.generated.tables.User; -import edu.uci.ics.texera.dao.jooq.generated.tables.UserConfig; -import edu.uci.ics.texera.dao.jooq.generated.tables.Workflow; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowComputingUnit; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowExecutions; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowOfProject; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowOfUser; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowUserAccess; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowUserClones; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowUserLikes; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowVersion; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowViewCount; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.ComputingUnitUserAccessRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.DatasetRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.DatasetUserAccessRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.DatasetUserLikesRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.DatasetVersionRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.DatasetViewCountRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.OperatorExecutionsRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.OperatorPortExecutionsRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.ProjectRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.ProjectUserAccessRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.PublicProjectRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.SiteSettingsRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.TimeLogRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.UserConfigRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.UserRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowComputingUnitRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowExecutionsRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowOfProjectRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowOfUserRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowUserAccessRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowUserClonesRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowUserLikesRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowVersionRecord; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowViewCountRecord; - -import org.jooq.ForeignKey; -import org.jooq.TableField; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.Internal; - - -/** - * A class modelling foreign key relationships and constraints of tables in - * texera_db. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class Keys { - - // ------------------------------------------------------------------------- - // UNIQUE and PRIMARY KEY definitions - // ------------------------------------------------------------------------- - - public static final UniqueKey COMPUTING_UNIT_USER_ACCESS_PKEY = Internal.createUniqueKey(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS, DSL.name("computing_unit_user_access_pkey"), new TableField[] { ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.CUID, ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.UID }, true); - public static final UniqueKey DATASET_PKEY = Internal.createUniqueKey(Dataset.DATASET, DSL.name("dataset_pkey"), new TableField[] { Dataset.DATASET.DID }, true); - public static final UniqueKey DATASET_USER_ACCESS_PKEY = Internal.createUniqueKey(DatasetUserAccess.DATASET_USER_ACCESS, DSL.name("dataset_user_access_pkey"), new TableField[] { DatasetUserAccess.DATASET_USER_ACCESS.DID, DatasetUserAccess.DATASET_USER_ACCESS.UID }, true); - public static final UniqueKey DATASET_USER_LIKES_PKEY = Internal.createUniqueKey(DatasetUserLikes.DATASET_USER_LIKES, DSL.name("dataset_user_likes_pkey"), new TableField[] { DatasetUserLikes.DATASET_USER_LIKES.UID, DatasetUserLikes.DATASET_USER_LIKES.DID }, true); - public static final UniqueKey DATASET_VERSION_PKEY = Internal.createUniqueKey(DatasetVersion.DATASET_VERSION, DSL.name("dataset_version_pkey"), new TableField[] { DatasetVersion.DATASET_VERSION.DVID }, true); - public static final UniqueKey DATASET_VIEW_COUNT_PKEY = Internal.createUniqueKey(DatasetViewCount.DATASET_VIEW_COUNT, DSL.name("dataset_view_count_pkey"), new TableField[] { DatasetViewCount.DATASET_VIEW_COUNT.DID }, true); - public static final UniqueKey OPERATOR_EXECUTIONS_PKEY = Internal.createUniqueKey(OperatorExecutions.OPERATOR_EXECUTIONS, DSL.name("operator_executions_pkey"), new TableField[] { OperatorExecutions.OPERATOR_EXECUTIONS.WORKFLOW_EXECUTION_ID, OperatorExecutions.OPERATOR_EXECUTIONS.OPERATOR_ID }, true); - public static final UniqueKey OPERATOR_PORT_EXECUTIONS_PKEY = Internal.createUniqueKey(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS, DSL.name("operator_port_executions_pkey"), new TableField[] { OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.WORKFLOW_EXECUTION_ID, OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.GLOBAL_PORT_ID }, true); - public static final UniqueKey PROJECT_OWNER_ID_NAME_KEY = Internal.createUniqueKey(Project.PROJECT, DSL.name("project_owner_id_name_key"), new TableField[] { Project.PROJECT.OWNER_ID, Project.PROJECT.NAME }, true); - public static final UniqueKey PROJECT_PKEY = Internal.createUniqueKey(Project.PROJECT, DSL.name("project_pkey"), new TableField[] { Project.PROJECT.PID }, true); - public static final UniqueKey PROJECT_USER_ACCESS_PKEY = Internal.createUniqueKey(ProjectUserAccess.PROJECT_USER_ACCESS, DSL.name("project_user_access_pkey"), new TableField[] { ProjectUserAccess.PROJECT_USER_ACCESS.UID, ProjectUserAccess.PROJECT_USER_ACCESS.PID }, true); - public static final UniqueKey PUBLIC_PROJECT_PKEY = Internal.createUniqueKey(PublicProject.PUBLIC_PROJECT, DSL.name("public_project_pkey"), new TableField[] { PublicProject.PUBLIC_PROJECT.PID }, true); - public static final UniqueKey SITE_SETTINGS_PKEY = Internal.createUniqueKey(SiteSettings.SITE_SETTINGS, DSL.name("site_settings_pkey"), new TableField[] { SiteSettings.SITE_SETTINGS.KEY }, true); - public static final UniqueKey TIME_LOG_PKEY = Internal.createUniqueKey(TimeLog.TIME_LOG, DSL.name("time_log_pkey"), new TableField[] { TimeLog.TIME_LOG.UID }, true); - public static final UniqueKey USER_EMAIL_KEY = Internal.createUniqueKey(User.USER, DSL.name("user_email_key"), new TableField[] { User.USER.EMAIL }, true); - public static final UniqueKey USER_GOOGLE_ID_KEY = Internal.createUniqueKey(User.USER, DSL.name("user_google_id_key"), new TableField[] { User.USER.GOOGLE_ID }, true); - public static final UniqueKey USER_PKEY = Internal.createUniqueKey(User.USER, DSL.name("user_pkey"), new TableField[] { User.USER.UID }, true); - public static final UniqueKey USER_CONFIG_PKEY = Internal.createUniqueKey(UserConfig.USER_CONFIG, DSL.name("user_config_pkey"), new TableField[] { UserConfig.USER_CONFIG.UID, UserConfig.USER_CONFIG.KEY }, true); - public static final UniqueKey WORKFLOW_PKEY = Internal.createUniqueKey(Workflow.WORKFLOW, DSL.name("workflow_pkey"), new TableField[] { Workflow.WORKFLOW.WID }, true); - public static final UniqueKey WORKFLOW_COMPUTING_UNIT_PKEY = Internal.createUniqueKey(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT, DSL.name("workflow_computing_unit_pkey"), new TableField[] { WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CUID }, true); - public static final UniqueKey WORKFLOW_EXECUTIONS_PKEY = Internal.createUniqueKey(WorkflowExecutions.WORKFLOW_EXECUTIONS, DSL.name("workflow_executions_pkey"), new TableField[] { WorkflowExecutions.WORKFLOW_EXECUTIONS.EID }, true); - public static final UniqueKey WORKFLOW_OF_PROJECT_PKEY = Internal.createUniqueKey(WorkflowOfProject.WORKFLOW_OF_PROJECT, DSL.name("workflow_of_project_pkey"), new TableField[] { WorkflowOfProject.WORKFLOW_OF_PROJECT.WID, WorkflowOfProject.WORKFLOW_OF_PROJECT.PID }, true); - public static final UniqueKey WORKFLOW_OF_USER_PKEY = Internal.createUniqueKey(WorkflowOfUser.WORKFLOW_OF_USER, DSL.name("workflow_of_user_pkey"), new TableField[] { WorkflowOfUser.WORKFLOW_OF_USER.UID, WorkflowOfUser.WORKFLOW_OF_USER.WID }, true); - public static final UniqueKey WORKFLOW_USER_ACCESS_PKEY = Internal.createUniqueKey(WorkflowUserAccess.WORKFLOW_USER_ACCESS, DSL.name("workflow_user_access_pkey"), new TableField[] { WorkflowUserAccess.WORKFLOW_USER_ACCESS.UID, WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID }, true); - public static final UniqueKey WORKFLOW_USER_CLONES_PKEY = Internal.createUniqueKey(WorkflowUserClones.WORKFLOW_USER_CLONES, DSL.name("workflow_user_clones_pkey"), new TableField[] { WorkflowUserClones.WORKFLOW_USER_CLONES.UID, WorkflowUserClones.WORKFLOW_USER_CLONES.WID }, true); - public static final UniqueKey WORKFLOW_USER_LIKES_PKEY = Internal.createUniqueKey(WorkflowUserLikes.WORKFLOW_USER_LIKES, DSL.name("workflow_user_likes_pkey"), new TableField[] { WorkflowUserLikes.WORKFLOW_USER_LIKES.UID, WorkflowUserLikes.WORKFLOW_USER_LIKES.WID }, true); - public static final UniqueKey WORKFLOW_VERSION_PKEY = Internal.createUniqueKey(WorkflowVersion.WORKFLOW_VERSION, DSL.name("workflow_version_pkey"), new TableField[] { WorkflowVersion.WORKFLOW_VERSION.VID }, true); - public static final UniqueKey WORKFLOW_VIEW_COUNT_PKEY = Internal.createUniqueKey(WorkflowViewCount.WORKFLOW_VIEW_COUNT, DSL.name("workflow_view_count_pkey"), new TableField[] { WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID }, true); - - // ------------------------------------------------------------------------- - // FOREIGN KEY definitions - // ------------------------------------------------------------------------- - - public static final ForeignKey COMPUTING_UNIT_USER_ACCESS__COMPUTING_UNIT_USER_ACCESS_CUID_FKEY = Internal.createForeignKey(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS, DSL.name("computing_unit_user_access_cuid_fkey"), new TableField[] { ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.CUID }, Keys.WORKFLOW_COMPUTING_UNIT_PKEY, new TableField[] { WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CUID }, true); - public static final ForeignKey COMPUTING_UNIT_USER_ACCESS__COMPUTING_UNIT_USER_ACCESS_UID_FKEY = Internal.createForeignKey(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS, DSL.name("computing_unit_user_access_uid_fkey"), new TableField[] { ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true); - public static final ForeignKey DATASET__DATASET_OWNER_UID_FKEY = Internal.createForeignKey(Dataset.DATASET, DSL.name("dataset_owner_uid_fkey"), new TableField[] { Dataset.DATASET.OWNER_UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true); - public static final ForeignKey DATASET_USER_ACCESS__DATASET_USER_ACCESS_DID_FKEY = Internal.createForeignKey(DatasetUserAccess.DATASET_USER_ACCESS, DSL.name("dataset_user_access_did_fkey"), new TableField[] { DatasetUserAccess.DATASET_USER_ACCESS.DID }, Keys.DATASET_PKEY, new TableField[] { Dataset.DATASET.DID }, true); - public static final ForeignKey DATASET_USER_ACCESS__DATASET_USER_ACCESS_UID_FKEY = Internal.createForeignKey(DatasetUserAccess.DATASET_USER_ACCESS, DSL.name("dataset_user_access_uid_fkey"), new TableField[] { DatasetUserAccess.DATASET_USER_ACCESS.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true); - public static final ForeignKey DATASET_USER_LIKES__DATASET_USER_LIKES_DID_FKEY = Internal.createForeignKey(DatasetUserLikes.DATASET_USER_LIKES, DSL.name("dataset_user_likes_did_fkey"), new TableField[] { DatasetUserLikes.DATASET_USER_LIKES.DID }, Keys.DATASET_PKEY, new TableField[] { Dataset.DATASET.DID }, true); - public static final ForeignKey DATASET_USER_LIKES__DATASET_USER_LIKES_UID_FKEY = Internal.createForeignKey(DatasetUserLikes.DATASET_USER_LIKES, DSL.name("dataset_user_likes_uid_fkey"), new TableField[] { DatasetUserLikes.DATASET_USER_LIKES.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true); - public static final ForeignKey DATASET_VERSION__DATASET_VERSION_DID_FKEY = Internal.createForeignKey(DatasetVersion.DATASET_VERSION, DSL.name("dataset_version_did_fkey"), new TableField[] { DatasetVersion.DATASET_VERSION.DID }, Keys.DATASET_PKEY, new TableField[] { Dataset.DATASET.DID }, true); - public static final ForeignKey DATASET_VIEW_COUNT__DATASET_VIEW_COUNT_DID_FKEY = Internal.createForeignKey(DatasetViewCount.DATASET_VIEW_COUNT, DSL.name("dataset_view_count_did_fkey"), new TableField[] { DatasetViewCount.DATASET_VIEW_COUNT.DID }, Keys.DATASET_PKEY, new TableField[] { Dataset.DATASET.DID }, true); - public static final ForeignKey OPERATOR_EXECUTIONS__OPERATOR_EXECUTIONS_WORKFLOW_EXECUTION_ID_FKEY = Internal.createForeignKey(OperatorExecutions.OPERATOR_EXECUTIONS, DSL.name("operator_executions_workflow_execution_id_fkey"), new TableField[] { OperatorExecutions.OPERATOR_EXECUTIONS.WORKFLOW_EXECUTION_ID }, Keys.WORKFLOW_EXECUTIONS_PKEY, new TableField[] { WorkflowExecutions.WORKFLOW_EXECUTIONS.EID }, true); - public static final ForeignKey OPERATOR_PORT_EXECUTIONS__OPERATOR_PORT_EXECUTIONS_WORKFLOW_EXECUTION_ID_FKEY = Internal.createForeignKey(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS, DSL.name("operator_port_executions_workflow_execution_id_fkey"), new TableField[] { OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.WORKFLOW_EXECUTION_ID }, Keys.WORKFLOW_EXECUTIONS_PKEY, new TableField[] { WorkflowExecutions.WORKFLOW_EXECUTIONS.EID }, true); - public static final ForeignKey PROJECT__PROJECT_OWNER_ID_FKEY = Internal.createForeignKey(Project.PROJECT, DSL.name("project_owner_id_fkey"), new TableField[] { Project.PROJECT.OWNER_ID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true); - public static final ForeignKey PROJECT_USER_ACCESS__PROJECT_USER_ACCESS_PID_FKEY = Internal.createForeignKey(ProjectUserAccess.PROJECT_USER_ACCESS, DSL.name("project_user_access_pid_fkey"), new TableField[] { ProjectUserAccess.PROJECT_USER_ACCESS.PID }, Keys.PROJECT_PKEY, new TableField[] { Project.PROJECT.PID }, true); - public static final ForeignKey PROJECT_USER_ACCESS__PROJECT_USER_ACCESS_UID_FKEY = Internal.createForeignKey(ProjectUserAccess.PROJECT_USER_ACCESS, DSL.name("project_user_access_uid_fkey"), new TableField[] { ProjectUserAccess.PROJECT_USER_ACCESS.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true); - public static final ForeignKey PUBLIC_PROJECT__PUBLIC_PROJECT_PID_FKEY = Internal.createForeignKey(PublicProject.PUBLIC_PROJECT, DSL.name("public_project_pid_fkey"), new TableField[] { PublicProject.PUBLIC_PROJECT.PID }, Keys.PROJECT_PKEY, new TableField[] { Project.PROJECT.PID }, true); - public static final ForeignKey TIME_LOG__TIME_LOG_UID_FKEY = Internal.createForeignKey(TimeLog.TIME_LOG, DSL.name("time_log_uid_fkey"), new TableField[] { TimeLog.TIME_LOG.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true); - public static final ForeignKey USER_CONFIG__USER_CONFIG_UID_FKEY = Internal.createForeignKey(UserConfig.USER_CONFIG, DSL.name("user_config_uid_fkey"), new TableField[] { UserConfig.USER_CONFIG.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true); - public static final ForeignKey WORKFLOW_COMPUTING_UNIT__WORKFLOW_COMPUTING_UNIT_UID_FKEY = Internal.createForeignKey(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT, DSL.name("workflow_computing_unit_uid_fkey"), new TableField[] { WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true); - public static final ForeignKey WORKFLOW_EXECUTIONS__WORKFLOW_EXECUTIONS_CUID_FKEY = Internal.createForeignKey(WorkflowExecutions.WORKFLOW_EXECUTIONS, DSL.name("workflow_executions_cuid_fkey"), new TableField[] { WorkflowExecutions.WORKFLOW_EXECUTIONS.CUID }, Keys.WORKFLOW_COMPUTING_UNIT_PKEY, new TableField[] { WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CUID }, true); - public static final ForeignKey WORKFLOW_EXECUTIONS__WORKFLOW_EXECUTIONS_UID_FKEY = Internal.createForeignKey(WorkflowExecutions.WORKFLOW_EXECUTIONS, DSL.name("workflow_executions_uid_fkey"), new TableField[] { WorkflowExecutions.WORKFLOW_EXECUTIONS.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true); - public static final ForeignKey WORKFLOW_EXECUTIONS__WORKFLOW_EXECUTIONS_VID_FKEY = Internal.createForeignKey(WorkflowExecutions.WORKFLOW_EXECUTIONS, DSL.name("workflow_executions_vid_fkey"), new TableField[] { WorkflowExecutions.WORKFLOW_EXECUTIONS.VID }, Keys.WORKFLOW_VERSION_PKEY, new TableField[] { WorkflowVersion.WORKFLOW_VERSION.VID }, true); - public static final ForeignKey WORKFLOW_OF_PROJECT__WORKFLOW_OF_PROJECT_PID_FKEY = Internal.createForeignKey(WorkflowOfProject.WORKFLOW_OF_PROJECT, DSL.name("workflow_of_project_pid_fkey"), new TableField[] { WorkflowOfProject.WORKFLOW_OF_PROJECT.PID }, Keys.PROJECT_PKEY, new TableField[] { Project.PROJECT.PID }, true); - public static final ForeignKey WORKFLOW_OF_PROJECT__WORKFLOW_OF_PROJECT_WID_FKEY = Internal.createForeignKey(WorkflowOfProject.WORKFLOW_OF_PROJECT, DSL.name("workflow_of_project_wid_fkey"), new TableField[] { WorkflowOfProject.WORKFLOW_OF_PROJECT.WID }, Keys.WORKFLOW_PKEY, new TableField[] { Workflow.WORKFLOW.WID }, true); - public static final ForeignKey WORKFLOW_OF_USER__WORKFLOW_OF_USER_UID_FKEY = Internal.createForeignKey(WorkflowOfUser.WORKFLOW_OF_USER, DSL.name("workflow_of_user_uid_fkey"), new TableField[] { WorkflowOfUser.WORKFLOW_OF_USER.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true); - public static final ForeignKey WORKFLOW_OF_USER__WORKFLOW_OF_USER_WID_FKEY = Internal.createForeignKey(WorkflowOfUser.WORKFLOW_OF_USER, DSL.name("workflow_of_user_wid_fkey"), new TableField[] { WorkflowOfUser.WORKFLOW_OF_USER.WID }, Keys.WORKFLOW_PKEY, new TableField[] { Workflow.WORKFLOW.WID }, true); - public static final ForeignKey WORKFLOW_USER_ACCESS__WORKFLOW_USER_ACCESS_UID_FKEY = Internal.createForeignKey(WorkflowUserAccess.WORKFLOW_USER_ACCESS, DSL.name("workflow_user_access_uid_fkey"), new TableField[] { WorkflowUserAccess.WORKFLOW_USER_ACCESS.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true); - public static final ForeignKey WORKFLOW_USER_ACCESS__WORKFLOW_USER_ACCESS_WID_FKEY = Internal.createForeignKey(WorkflowUserAccess.WORKFLOW_USER_ACCESS, DSL.name("workflow_user_access_wid_fkey"), new TableField[] { WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID }, Keys.WORKFLOW_PKEY, new TableField[] { Workflow.WORKFLOW.WID }, true); - public static final ForeignKey WORKFLOW_USER_CLONES__WORKFLOW_USER_CLONES_UID_FKEY = Internal.createForeignKey(WorkflowUserClones.WORKFLOW_USER_CLONES, DSL.name("workflow_user_clones_uid_fkey"), new TableField[] { WorkflowUserClones.WORKFLOW_USER_CLONES.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true); - public static final ForeignKey WORKFLOW_USER_CLONES__WORKFLOW_USER_CLONES_WID_FKEY = Internal.createForeignKey(WorkflowUserClones.WORKFLOW_USER_CLONES, DSL.name("workflow_user_clones_wid_fkey"), new TableField[] { WorkflowUserClones.WORKFLOW_USER_CLONES.WID }, Keys.WORKFLOW_PKEY, new TableField[] { Workflow.WORKFLOW.WID }, true); - public static final ForeignKey WORKFLOW_USER_LIKES__WORKFLOW_USER_LIKES_UID_FKEY = Internal.createForeignKey(WorkflowUserLikes.WORKFLOW_USER_LIKES, DSL.name("workflow_user_likes_uid_fkey"), new TableField[] { WorkflowUserLikes.WORKFLOW_USER_LIKES.UID }, Keys.USER_PKEY, new TableField[] { User.USER.UID }, true); - public static final ForeignKey WORKFLOW_USER_LIKES__WORKFLOW_USER_LIKES_WID_FKEY = Internal.createForeignKey(WorkflowUserLikes.WORKFLOW_USER_LIKES, DSL.name("workflow_user_likes_wid_fkey"), new TableField[] { WorkflowUserLikes.WORKFLOW_USER_LIKES.WID }, Keys.WORKFLOW_PKEY, new TableField[] { Workflow.WORKFLOW.WID }, true); - public static final ForeignKey WORKFLOW_VERSION__WORKFLOW_VERSION_WID_FKEY = Internal.createForeignKey(WorkflowVersion.WORKFLOW_VERSION, DSL.name("workflow_version_wid_fkey"), new TableField[] { WorkflowVersion.WORKFLOW_VERSION.WID }, Keys.WORKFLOW_PKEY, new TableField[] { Workflow.WORKFLOW.WID }, true); - public static final ForeignKey WORKFLOW_VIEW_COUNT__WORKFLOW_VIEW_COUNT_WID_FKEY = Internal.createForeignKey(WorkflowViewCount.WORKFLOW_VIEW_COUNT, DSL.name("workflow_view_count_wid_fkey"), new TableField[] { WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID }, Keys.WORKFLOW_PKEY, new TableField[] { Workflow.WORKFLOW.WID }, true); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/Tables.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/Tables.java deleted file mode 100644 index 39af6f8f8ff..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/Tables.java +++ /dev/null @@ -1,187 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.ComputingUnitUserAccess; -import edu.uci.ics.texera.dao.jooq.generated.tables.Dataset; -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetUserAccess; -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetUserLikes; -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetVersion; -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetViewCount; -import edu.uci.ics.texera.dao.jooq.generated.tables.OperatorExecutions; -import edu.uci.ics.texera.dao.jooq.generated.tables.OperatorPortExecutions; -import edu.uci.ics.texera.dao.jooq.generated.tables.Project; -import edu.uci.ics.texera.dao.jooq.generated.tables.ProjectUserAccess; -import edu.uci.ics.texera.dao.jooq.generated.tables.PublicProject; -import edu.uci.ics.texera.dao.jooq.generated.tables.SiteSettings; -import edu.uci.ics.texera.dao.jooq.generated.tables.TimeLog; -import edu.uci.ics.texera.dao.jooq.generated.tables.User; -import edu.uci.ics.texera.dao.jooq.generated.tables.UserActivity; -import edu.uci.ics.texera.dao.jooq.generated.tables.UserConfig; -import edu.uci.ics.texera.dao.jooq.generated.tables.Workflow; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowComputingUnit; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowExecutions; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowOfProject; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowOfUser; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowUserAccess; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowUserClones; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowUserLikes; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowVersion; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowViewCount; - - -/** - * Convenience access to all tables in texera_db. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class Tables { - - /** - * The table texera_db.computing_unit_user_access. - */ - public static final ComputingUnitUserAccess COMPUTING_UNIT_USER_ACCESS = ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS; - - /** - * 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_user_likes. - */ - public static final DatasetUserLikes DATASET_USER_LIKES = DatasetUserLikes.DATASET_USER_LIKES; - - /** - * The table texera_db.dataset_version. - */ - public static final DatasetVersion DATASET_VERSION = DatasetVersion.DATASET_VERSION; - - /** - * The table texera_db.dataset_view_count. - */ - public static final DatasetViewCount DATASET_VIEW_COUNT = DatasetViewCount.DATASET_VIEW_COUNT; - - /** - * The table texera_db.operator_executions. - */ - public static final OperatorExecutions OPERATOR_EXECUTIONS = OperatorExecutions.OPERATOR_EXECUTIONS; - - /** - * The table texera_db.operator_port_executions. - */ - public static final OperatorPortExecutions OPERATOR_PORT_EXECUTIONS = OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS; - - /** - * 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.site_settings. - */ - public static final SiteSettings SITE_SETTINGS = SiteSettings.SITE_SETTINGS; - - /** - * The table texera_db.time_log. - */ - public static final TimeLog TIME_LOG = TimeLog.TIME_LOG; - - /** - * The table texera_db.user. - */ - public static final User USER = User.USER; - - /** - * The table texera_db.user_activity. - */ - public static final UserActivity USER_ACTIVITY = UserActivity.USER_ACTIVITY; - - /** - * 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_computing_unit. - */ - public static final WorkflowComputingUnit WORKFLOW_COMPUTING_UNIT = WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT; - - /** - * 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_user_access. - */ - public static final WorkflowUserAccess WORKFLOW_USER_ACCESS = WorkflowUserAccess.WORKFLOW_USER_ACCESS; - - /** - * 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/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/TexeraDb.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/TexeraDb.java deleted file mode 100644 index 269aad41f3d..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/TexeraDb.java +++ /dev/null @@ -1,246 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.ComputingUnitUserAccess; -import edu.uci.ics.texera.dao.jooq.generated.tables.Dataset; -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetUserAccess; -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetUserLikes; -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetVersion; -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetViewCount; -import edu.uci.ics.texera.dao.jooq.generated.tables.OperatorExecutions; -import edu.uci.ics.texera.dao.jooq.generated.tables.OperatorPortExecutions; -import edu.uci.ics.texera.dao.jooq.generated.tables.Project; -import edu.uci.ics.texera.dao.jooq.generated.tables.ProjectUserAccess; -import edu.uci.ics.texera.dao.jooq.generated.tables.PublicProject; -import edu.uci.ics.texera.dao.jooq.generated.tables.SiteSettings; -import edu.uci.ics.texera.dao.jooq.generated.tables.TimeLog; -import edu.uci.ics.texera.dao.jooq.generated.tables.User; -import edu.uci.ics.texera.dao.jooq.generated.tables.UserActivity; -import edu.uci.ics.texera.dao.jooq.generated.tables.UserConfig; -import edu.uci.ics.texera.dao.jooq.generated.tables.Workflow; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowComputingUnit; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowExecutions; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowOfProject; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowOfUser; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowUserAccess; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowUserClones; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowUserLikes; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowVersion; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowViewCount; - -import java.util.Arrays; -import java.util.List; - -import org.jooq.Catalog; -import org.jooq.Table; -import org.jooq.impl.SchemaImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class TexeraDb extends SchemaImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of texera_db - */ - public static final TexeraDb TEXERA_DB = new TexeraDb(); - - /** - * The table texera_db.computing_unit_user_access. - */ - public final ComputingUnitUserAccess COMPUTING_UNIT_USER_ACCESS = ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS; - - /** - * The table texera_db.dataset. - */ - public final Dataset DATASET = Dataset.DATASET; - - /** - * The table texera_db.dataset_user_access. - */ - public final DatasetUserAccess DATASET_USER_ACCESS = DatasetUserAccess.DATASET_USER_ACCESS; - - /** - * The table texera_db.dataset_user_likes. - */ - public final DatasetUserLikes DATASET_USER_LIKES = DatasetUserLikes.DATASET_USER_LIKES; - - /** - * The table texera_db.dataset_version. - */ - public final DatasetVersion DATASET_VERSION = DatasetVersion.DATASET_VERSION; - - /** - * The table texera_db.dataset_view_count. - */ - public final DatasetViewCount DATASET_VIEW_COUNT = DatasetViewCount.DATASET_VIEW_COUNT; - - /** - * The table texera_db.operator_executions. - */ - public final OperatorExecutions OPERATOR_EXECUTIONS = OperatorExecutions.OPERATOR_EXECUTIONS; - - /** - * The table texera_db.operator_port_executions. - */ - public final OperatorPortExecutions OPERATOR_PORT_EXECUTIONS = OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS; - - /** - * The table texera_db.project. - */ - public final Project PROJECT = Project.PROJECT; - - /** - * The table texera_db.project_user_access. - */ - public final ProjectUserAccess PROJECT_USER_ACCESS = ProjectUserAccess.PROJECT_USER_ACCESS; - - /** - * The table texera_db.public_project. - */ - public final PublicProject PUBLIC_PROJECT = PublicProject.PUBLIC_PROJECT; - - /** - * The table texera_db.site_settings. - */ - public final SiteSettings SITE_SETTINGS = SiteSettings.SITE_SETTINGS; - - /** - * The table texera_db.time_log. - */ - public final TimeLog TIME_LOG = TimeLog.TIME_LOG; - - /** - * The table texera_db.user. - */ - public final User USER = User.USER; - - /** - * The table texera_db.user_activity. - */ - public final UserActivity USER_ACTIVITY = UserActivity.USER_ACTIVITY; - - /** - * The table texera_db.user_config. - */ - public final UserConfig USER_CONFIG = UserConfig.USER_CONFIG; - - /** - * The table texera_db.workflow. - */ - public final Workflow WORKFLOW = Workflow.WORKFLOW; - - /** - * The table texera_db.workflow_computing_unit. - */ - public final WorkflowComputingUnit WORKFLOW_COMPUTING_UNIT = WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT; - - /** - * The table texera_db.workflow_executions. - */ - public final WorkflowExecutions WORKFLOW_EXECUTIONS = WorkflowExecutions.WORKFLOW_EXECUTIONS; - - /** - * The table texera_db.workflow_of_project. - */ - public final WorkflowOfProject WORKFLOW_OF_PROJECT = WorkflowOfProject.WORKFLOW_OF_PROJECT; - - /** - * The table texera_db.workflow_of_user. - */ - public final WorkflowOfUser WORKFLOW_OF_USER = WorkflowOfUser.WORKFLOW_OF_USER; - - /** - * The table texera_db.workflow_user_access. - */ - public final WorkflowUserAccess WORKFLOW_USER_ACCESS = WorkflowUserAccess.WORKFLOW_USER_ACCESS; - - /** - * The table texera_db.workflow_user_clones. - */ - public final WorkflowUserClones WORKFLOW_USER_CLONES = WorkflowUserClones.WORKFLOW_USER_CLONES; - - /** - * The table texera_db.workflow_user_likes. - */ - public final WorkflowUserLikes WORKFLOW_USER_LIKES = WorkflowUserLikes.WORKFLOW_USER_LIKES; - - /** - * The table texera_db.workflow_version. - */ - public final WorkflowVersion WORKFLOW_VERSION = WorkflowVersion.WORKFLOW_VERSION; - - /** - * The table texera_db.workflow_view_count. - */ - public final WorkflowViewCount WORKFLOW_VIEW_COUNT = WorkflowViewCount.WORKFLOW_VIEW_COUNT; - - /** - * No further instances allowed - */ - private TexeraDb() { - super("texera_db", null); - } - - - @Override - public Catalog getCatalog() { - return DefaultCatalog.DEFAULT_CATALOG; - } - - @Override - public final List> getTables() { - return Arrays.asList( - ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS, - Dataset.DATASET, - DatasetUserAccess.DATASET_USER_ACCESS, - DatasetUserLikes.DATASET_USER_LIKES, - DatasetVersion.DATASET_VERSION, - DatasetViewCount.DATASET_VIEW_COUNT, - OperatorExecutions.OPERATOR_EXECUTIONS, - OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS, - Project.PROJECT, - ProjectUserAccess.PROJECT_USER_ACCESS, - PublicProject.PUBLIC_PROJECT, - SiteSettings.SITE_SETTINGS, - TimeLog.TIME_LOG, - User.USER, - UserActivity.USER_ACTIVITY, - UserConfig.USER_CONFIG, - Workflow.WORKFLOW, - WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT, - WorkflowExecutions.WORKFLOW_EXECUTIONS, - WorkflowOfProject.WORKFLOW_OF_PROJECT, - WorkflowOfUser.WORKFLOW_OF_USER, - WorkflowUserAccess.WORKFLOW_USER_ACCESS, - WorkflowUserClones.WORKFLOW_USER_CLONES, - WorkflowUserLikes.WORKFLOW_USER_LIKES, - WorkflowVersion.WORKFLOW_VERSION, - WorkflowViewCount.WORKFLOW_VIEW_COUNT - ); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/enums/PrivilegeEnum.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/enums/PrivilegeEnum.java deleted file mode 100644 index dceca48f97c..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/enums/PrivilegeEnum.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.enums; - - -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; - -import org.jooq.Catalog; -import org.jooq.EnumType; -import org.jooq.Schema; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public enum PrivilegeEnum implements EnumType { - - NONE("NONE"), - - READ("READ"), - - WRITE("WRITE"); - - private final String literal; - - private PrivilegeEnum(String literal) { - this.literal = literal; - } - - @Override - public Catalog getCatalog() { - return getSchema().getCatalog(); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public String getName() { - return "privilege_enum"; - } - - @Override - public String getLiteral() { - return literal; - } - - /** - * Lookup a value of this EnumType by its literal - */ - public static PrivilegeEnum lookupLiteral(String literal) { - return EnumType.lookupLiteral(PrivilegeEnum.class, literal); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/enums/UserRoleEnum.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/enums/UserRoleEnum.java deleted file mode 100644 index e64a86e9556..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/enums/UserRoleEnum.java +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.enums; - - -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; - -import org.jooq.Catalog; -import org.jooq.EnumType; -import org.jooq.Schema; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public enum UserRoleEnum implements EnumType { - - INACTIVE("INACTIVE"), - - RESTRICTED("RESTRICTED"), - - REGULAR("REGULAR"), - - ADMIN("ADMIN"); - - private final String literal; - - private UserRoleEnum(String literal) { - this.literal = literal; - } - - @Override - public Catalog getCatalog() { - return getSchema().getCatalog(); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public String getName() { - return "user_role_enum"; - } - - @Override - public String getLiteral() { - return literal; - } - - /** - * Lookup a value of this EnumType by its literal - */ - public static UserRoleEnum lookupLiteral(String literal) { - return EnumType.lookupLiteral(UserRoleEnum.class, literal); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/enums/WorkflowComputingUnitTypeEnum.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/enums/WorkflowComputingUnitTypeEnum.java deleted file mode 100644 index cb20aa86ffc..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/enums/WorkflowComputingUnitTypeEnum.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.enums; - - -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; - -import org.jooq.Catalog; -import org.jooq.EnumType; -import org.jooq.Schema; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public enum WorkflowComputingUnitTypeEnum implements EnumType { - - local("local"), - - kubernetes("kubernetes"); - - private final String literal; - - private WorkflowComputingUnitTypeEnum(String literal) { - this.literal = literal; - } - - @Override - public Catalog getCatalog() { - return getSchema().getCatalog(); - } - - @Override - public Schema getSchema() { - return TexeraDb.TEXERA_DB; - } - - @Override - public String getName() { - return "workflow_computing_unit_type_enum"; - } - - @Override - public String getLiteral() { - return literal; - } - - /** - * Lookup a value of this EnumType by its literal - */ - public static WorkflowComputingUnitTypeEnum lookupLiteral(String literal) { - return EnumType.lookupLiteral(WorkflowComputingUnitTypeEnum.class, literal); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/ComputingUnitUserAccess.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/ComputingUnitUserAccess.java deleted file mode 100644 index a82f18c2dfb..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/ComputingUnitUserAccess.java +++ /dev/null @@ -1,193 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.ComputingUnitUserAccessRecord; - -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row3; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ComputingUnitUserAccess extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of - * texera_db.computing_unit_user_access - */ - public static final ComputingUnitUserAccess COMPUTING_UNIT_USER_ACCESS = new ComputingUnitUserAccess(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return ComputingUnitUserAccessRecord.class; - } - - /** - * The column texera_db.computing_unit_user_access.cuid. - */ - public final TableField CUID = createField(DSL.name("cuid"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.computing_unit_user_access.uid. - */ - public final TableField UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.computing_unit_user_access.privilege. - */ - public final TableField PRIVILEGE = createField(DSL.name("privilege"), SQLDataType.VARCHAR.nullable(false).defaultValue(DSL.field("'NONE'::texera_db.privilege_enum", SQLDataType.VARCHAR)).asEnumDataType(edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum.class), this, ""); - - private ComputingUnitUserAccess(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private ComputingUnitUserAccess(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased texera_db.computing_unit_user_access table - * reference - */ - public ComputingUnitUserAccess(String alias) { - this(DSL.name(alias), COMPUTING_UNIT_USER_ACCESS); - } - - /** - * Create an aliased texera_db.computing_unit_user_access table - * reference - */ - public ComputingUnitUserAccess(Name alias) { - this(alias, COMPUTING_UNIT_USER_ACCESS); - } - - /** - * Create a texera_db.computing_unit_user_access table - * reference - */ - public ComputingUnitUserAccess() { - this(DSL.name("computing_unit_user_access"), null); - } - - public ComputingUnitUserAccess(Table child, ForeignKey key) { - super(child, key, COMPUTING_UNIT_USER_ACCESS); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.COMPUTING_UNIT_USER_ACCESS_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.COMPUTING_UNIT_USER_ACCESS__COMPUTING_UNIT_USER_ACCESS_CUID_FKEY, Keys.COMPUTING_UNIT_USER_ACCESS__COMPUTING_UNIT_USER_ACCESS_UID_FKEY); - } - - private transient WorkflowComputingUnit _workflowComputingUnit; - private transient User _user; - - /** - * Get the implicit join path to the - * texera_db.workflow_computing_unit table. - */ - public WorkflowComputingUnit workflowComputingUnit() { - if (_workflowComputingUnit == null) - _workflowComputingUnit = new WorkflowComputingUnit(this, Keys.COMPUTING_UNIT_USER_ACCESS__COMPUTING_UNIT_USER_ACCESS_CUID_FKEY); - - return _workflowComputingUnit; - } - - /** - * Get the implicit join path to the texera_db.user table. - */ - public User user() { - if (_user == null) - _user = new User(this, Keys.COMPUTING_UNIT_USER_ACCESS__COMPUTING_UNIT_USER_ACCESS_UID_FKEY); - - return _user; - } - - @Override - public ComputingUnitUserAccess as(String alias) { - return new ComputingUnitUserAccess(DSL.name(alias), this); - } - - @Override - public ComputingUnitUserAccess as(Name alias) { - return new ComputingUnitUserAccess(alias, this); - } - - /** - * Rename this table - */ - @Override - public ComputingUnitUserAccess rename(String name) { - return new ComputingUnitUserAccess(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public ComputingUnitUserAccess rename(Name name) { - return new ComputingUnitUserAccess(name, null); - } - - // ------------------------------------------------------------------------- - // Row3 type methods - // ------------------------------------------------------------------------- - - @Override - public Row3 fieldsRow() { - return (Row3) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/Dataset.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/Dataset.java deleted file mode 100644 index fe6283a03ff..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/Dataset.java +++ /dev/null @@ -1,203 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.DatasetRecord; - -import java.sql.Timestamp; -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Identity; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row7; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class Dataset extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * 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"), SQLDataType.INTEGER.nullable(false).identity(true), this, ""); - - /** - * The column texera_db.dataset.owner_uid. - */ - public final TableField OWNER_UID = createField(DSL.name("owner_uid"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.dataset.name. - */ - public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(128).nullable(false), this, ""); - - /** - * The column texera_db.dataset.is_public. - */ - public final TableField IS_PUBLIC = createField(DSL.name("is_public"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field("true", SQLDataType.BOOLEAN)), this, ""); - - /** - * The column texera_db.dataset.description. - */ - public final TableField DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(512).nullable(false), this, ""); - - /** - * The column texera_db.dataset.creation_time. - */ - public final TableField CREATION_TIME = createField(DSL.name("creation_time"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, ""); - - /** - * The column texera_db.dataset.is_downloadable. - */ - public final TableField IS_DOWNLOADABLE = createField(DSL.name("is_downloadable"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field("true", SQLDataType.BOOLEAN)), this, ""); - - 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(""), TableOptions.table()); - } - - /** - * 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); - } - - /** - * Create a texera_db.dataset table reference - */ - public Dataset() { - this(DSL.name("dataset"), null); - } - - public Dataset(Table child, ForeignKey key) { - super(child, key, DATASET); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public Identity getIdentity() { - return (Identity) super.getIdentity(); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.DATASET_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.DATASET__DATASET_OWNER_UID_FKEY); - } - - private transient User _user; - - /** - * Get the implicit join path to the texera_db.user table. - */ - public User user() { - if (_user == null) - _user = new User(this, Keys.DATASET__DATASET_OWNER_UID_FKEY); - - return _user; - } - - @Override - public Dataset as(String alias) { - return new Dataset(DSL.name(alias), this); - } - - @Override - public Dataset as(Name alias) { - return new Dataset(alias, this); - } - - /** - * Rename this table - */ - @Override - public Dataset rename(String name) { - return new Dataset(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public Dataset rename(Name name) { - return new Dataset(name, null); - } - - // ------------------------------------------------------------------------- - // Row7 type methods - // ------------------------------------------------------------------------- - - @Override - public Row7 fieldsRow() { - return (Row7) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/DatasetUserAccess.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/DatasetUserAccess.java deleted file mode 100644 index 025124431b9..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/DatasetUserAccess.java +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.DatasetUserAccessRecord; - -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row3; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DatasetUserAccess extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * 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"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.dataset_user_access.uid. - */ - public final TableField UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.dataset_user_access.privilege. - */ - public final TableField PRIVILEGE = createField(DSL.name("privilege"), SQLDataType.VARCHAR.nullable(false).defaultValue(DSL.field("'NONE'::texera_db.privilege_enum", SQLDataType.VARCHAR)).asEnumDataType(edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum.class), this, ""); - - 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(""), TableOptions.table()); - } - - /** - * 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); - } - - /** - * Create a texera_db.dataset_user_access table reference - */ - public DatasetUserAccess() { - this(DSL.name("dataset_user_access"), null); - } - - public DatasetUserAccess(Table child, ForeignKey key) { - super(child, key, DATASET_USER_ACCESS); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.DATASET_USER_ACCESS_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.DATASET_USER_ACCESS__DATASET_USER_ACCESS_DID_FKEY, Keys.DATASET_USER_ACCESS__DATASET_USER_ACCESS_UID_FKEY); - } - - private transient Dataset _dataset; - private transient User _user; - - /** - * Get the implicit join path to the texera_db.dataset table. - */ - public Dataset dataset() { - if (_dataset == null) - _dataset = new Dataset(this, Keys.DATASET_USER_ACCESS__DATASET_USER_ACCESS_DID_FKEY); - - return _dataset; - } - - /** - * Get the implicit join path to the texera_db.user table. - */ - public User user() { - if (_user == null) - _user = new User(this, Keys.DATASET_USER_ACCESS__DATASET_USER_ACCESS_UID_FKEY); - - return _user; - } - - @Override - public DatasetUserAccess as(String alias) { - return new DatasetUserAccess(DSL.name(alias), this); - } - - @Override - public DatasetUserAccess as(Name alias) { - return new DatasetUserAccess(alias, this); - } - - /** - * Rename this table - */ - @Override - public DatasetUserAccess rename(String name) { - return new DatasetUserAccess(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public DatasetUserAccess rename(Name name) { - return new DatasetUserAccess(name, null); - } - - // ------------------------------------------------------------------------- - // Row3 type methods - // ------------------------------------------------------------------------- - - @Override - public Row3 fieldsRow() { - return (Row3) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/DatasetUserLikes.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/DatasetUserLikes.java deleted file mode 100644 index 7ad7c652188..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/DatasetUserLikes.java +++ /dev/null @@ -1,184 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.DatasetUserLikesRecord; - -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row2; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DatasetUserLikes extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of texera_db.dataset_user_likes - */ - public static final DatasetUserLikes DATASET_USER_LIKES = new DatasetUserLikes(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return DatasetUserLikesRecord.class; - } - - /** - * The column texera_db.dataset_user_likes.uid. - */ - public final TableField UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.dataset_user_likes.did. - */ - public final TableField DID = createField(DSL.name("did"), SQLDataType.INTEGER.nullable(false), this, ""); - - private DatasetUserLikes(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private DatasetUserLikes(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased texera_db.dataset_user_likes table - * reference - */ - public DatasetUserLikes(String alias) { - this(DSL.name(alias), DATASET_USER_LIKES); - } - - /** - * Create an aliased texera_db.dataset_user_likes table - * reference - */ - public DatasetUserLikes(Name alias) { - this(alias, DATASET_USER_LIKES); - } - - /** - * Create a texera_db.dataset_user_likes table reference - */ - public DatasetUserLikes() { - this(DSL.name("dataset_user_likes"), null); - } - - public DatasetUserLikes(Table child, ForeignKey key) { - super(child, key, DATASET_USER_LIKES); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.DATASET_USER_LIKES_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.DATASET_USER_LIKES__DATASET_USER_LIKES_UID_FKEY, Keys.DATASET_USER_LIKES__DATASET_USER_LIKES_DID_FKEY); - } - - private transient User _user; - private transient Dataset _dataset; - - /** - * Get the implicit join path to the texera_db.user table. - */ - public User user() { - if (_user == null) - _user = new User(this, Keys.DATASET_USER_LIKES__DATASET_USER_LIKES_UID_FKEY); - - return _user; - } - - /** - * Get the implicit join path to the texera_db.dataset table. - */ - public Dataset dataset() { - if (_dataset == null) - _dataset = new Dataset(this, Keys.DATASET_USER_LIKES__DATASET_USER_LIKES_DID_FKEY); - - return _dataset; - } - - @Override - public DatasetUserLikes as(String alias) { - return new DatasetUserLikes(DSL.name(alias), this); - } - - @Override - public DatasetUserLikes as(Name alias) { - return new DatasetUserLikes(alias, this); - } - - /** - * Rename this table - */ - @Override - public DatasetUserLikes rename(String name) { - return new DatasetUserLikes(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public DatasetUserLikes rename(Name name) { - return new DatasetUserLikes(name, null); - } - - // ------------------------------------------------------------------------- - // Row2 type methods - // ------------------------------------------------------------------------- - - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/DatasetVersion.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/DatasetVersion.java deleted file mode 100644 index 134d4ed7246..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/DatasetVersion.java +++ /dev/null @@ -1,198 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.DatasetVersionRecord; - -import java.sql.Timestamp; -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Identity; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row6; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DatasetVersion extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * 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"), SQLDataType.INTEGER.nullable(false).identity(true), this, ""); - - /** - * The column texera_db.dataset_version.did. - */ - public final TableField DID = createField(DSL.name("did"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.dataset_version.creator_uid. - */ - public final TableField CREATOR_UID = createField(DSL.name("creator_uid"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.dataset_version.name. - */ - public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(128).nullable(false), this, ""); - - /** - * The column texera_db.dataset_version.version_hash. - */ - public final TableField VERSION_HASH = createField(DSL.name("version_hash"), SQLDataType.VARCHAR(64).nullable(false), this, ""); - - /** - * The column texera_db.dataset_version.creation_time. - */ - public final TableField CREATION_TIME = createField(DSL.name("creation_time"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, ""); - - private DatasetVersion(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private DatasetVersion(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * 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); - } - - /** - * Create a texera_db.dataset_version table reference - */ - public DatasetVersion() { - this(DSL.name("dataset_version"), null); - } - - public DatasetVersion(Table child, ForeignKey key) { - super(child, key, DATASET_VERSION); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public Identity getIdentity() { - return (Identity) super.getIdentity(); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.DATASET_VERSION_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.DATASET_VERSION__DATASET_VERSION_DID_FKEY); - } - - private transient Dataset _dataset; - - /** - * Get the implicit join path to the texera_db.dataset table. - */ - public Dataset dataset() { - if (_dataset == null) - _dataset = new Dataset(this, Keys.DATASET_VERSION__DATASET_VERSION_DID_FKEY); - - return _dataset; - } - - @Override - public DatasetVersion as(String alias) { - return new DatasetVersion(DSL.name(alias), this); - } - - @Override - public DatasetVersion as(Name alias) { - return new DatasetVersion(alias, this); - } - - /** - * Rename this table - */ - @Override - public DatasetVersion rename(String name) { - return new DatasetVersion(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public DatasetVersion rename(Name name) { - return new DatasetVersion(name, null); - } - - // ------------------------------------------------------------------------- - // Row6 type methods - // ------------------------------------------------------------------------- - - @Override - public Row6 fieldsRow() { - return (Row6) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/DatasetViewCount.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/DatasetViewCount.java deleted file mode 100644 index 986f413d801..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/DatasetViewCount.java +++ /dev/null @@ -1,173 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.DatasetViewCountRecord; - -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row2; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DatasetViewCount extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of texera_db.dataset_view_count - */ - public static final DatasetViewCount DATASET_VIEW_COUNT = new DatasetViewCount(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return DatasetViewCountRecord.class; - } - - /** - * The column texera_db.dataset_view_count.did. - */ - public final TableField DID = createField(DSL.name("did"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.dataset_view_count.view_count. - */ - public final TableField VIEW_COUNT = createField(DSL.name("view_count"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field("0", SQLDataType.INTEGER)), this, ""); - - private DatasetViewCount(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private DatasetViewCount(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased texera_db.dataset_view_count table - * reference - */ - public DatasetViewCount(String alias) { - this(DSL.name(alias), DATASET_VIEW_COUNT); - } - - /** - * Create an aliased texera_db.dataset_view_count table - * reference - */ - public DatasetViewCount(Name alias) { - this(alias, DATASET_VIEW_COUNT); - } - - /** - * Create a texera_db.dataset_view_count table reference - */ - public DatasetViewCount() { - this(DSL.name("dataset_view_count"), null); - } - - public DatasetViewCount(Table child, ForeignKey key) { - super(child, key, DATASET_VIEW_COUNT); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.DATASET_VIEW_COUNT_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.DATASET_VIEW_COUNT__DATASET_VIEW_COUNT_DID_FKEY); - } - - private transient Dataset _dataset; - - /** - * Get the implicit join path to the texera_db.dataset table. - */ - public Dataset dataset() { - if (_dataset == null) - _dataset = new Dataset(this, Keys.DATASET_VIEW_COUNT__DATASET_VIEW_COUNT_DID_FKEY); - - return _dataset; - } - - @Override - public DatasetViewCount as(String alias) { - return new DatasetViewCount(DSL.name(alias), this); - } - - @Override - public DatasetViewCount as(Name alias) { - return new DatasetViewCount(alias, this); - } - - /** - * Rename this table - */ - @Override - public DatasetViewCount rename(String name) { - return new DatasetViewCount(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public DatasetViewCount rename(Name name) { - return new DatasetViewCount(name, null); - } - - // ------------------------------------------------------------------------- - // Row2 type methods - // ------------------------------------------------------------------------- - - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/OperatorExecutions.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/OperatorExecutions.java deleted file mode 100644 index f530d0f25c1..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/OperatorExecutions.java +++ /dev/null @@ -1,187 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.OperatorExecutionsRecord; - -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row4; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class OperatorExecutions extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of texera_db.operator_executions - */ - public static final OperatorExecutions OPERATOR_EXECUTIONS = new OperatorExecutions(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return OperatorExecutionsRecord.class; - } - - /** - * The column - * texera_db.operator_executions.workflow_execution_id. - */ - public final TableField WORKFLOW_EXECUTION_ID = createField(DSL.name("workflow_execution_id"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.operator_executions.operator_id. - */ - public final TableField OPERATOR_ID = createField(DSL.name("operator_id"), SQLDataType.VARCHAR(100).nullable(false), this, ""); - - /** - * The column - * texera_db.operator_executions.console_messages_uri. - */ - public final TableField CONSOLE_MESSAGES_URI = createField(DSL.name("console_messages_uri"), SQLDataType.CLOB, this, ""); - - /** - * The column - * texera_db.operator_executions.console_messages_size. - */ - public final TableField CONSOLE_MESSAGES_SIZE = createField(DSL.name("console_messages_size"), SQLDataType.INTEGER.defaultValue(DSL.field("0", SQLDataType.INTEGER)), this, ""); - - private OperatorExecutions(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private OperatorExecutions(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased texera_db.operator_executions table - * reference - */ - public OperatorExecutions(String alias) { - this(DSL.name(alias), OPERATOR_EXECUTIONS); - } - - /** - * Create an aliased texera_db.operator_executions table - * reference - */ - public OperatorExecutions(Name alias) { - this(alias, OPERATOR_EXECUTIONS); - } - - /** - * Create a texera_db.operator_executions table reference - */ - public OperatorExecutions() { - this(DSL.name("operator_executions"), null); - } - - public OperatorExecutions(Table child, ForeignKey key) { - super(child, key, OPERATOR_EXECUTIONS); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.OPERATOR_EXECUTIONS_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.OPERATOR_EXECUTIONS__OPERATOR_EXECUTIONS_WORKFLOW_EXECUTION_ID_FKEY); - } - - private transient WorkflowExecutions _workflowExecutions; - - /** - * Get the implicit join path to the - * texera_db.workflow_executions table. - */ - public WorkflowExecutions workflowExecutions() { - if (_workflowExecutions == null) - _workflowExecutions = new WorkflowExecutions(this, Keys.OPERATOR_EXECUTIONS__OPERATOR_EXECUTIONS_WORKFLOW_EXECUTION_ID_FKEY); - - return _workflowExecutions; - } - - @Override - public OperatorExecutions as(String alias) { - return new OperatorExecutions(DSL.name(alias), this); - } - - @Override - public OperatorExecutions as(Name alias) { - return new OperatorExecutions(alias, this); - } - - /** - * Rename this table - */ - @Override - public OperatorExecutions rename(String name) { - return new OperatorExecutions(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public OperatorExecutions rename(Name name) { - return new OperatorExecutions(name, null); - } - - // ------------------------------------------------------------------------- - // Row4 type methods - // ------------------------------------------------------------------------- - - @Override - public Row4 fieldsRow() { - return (Row4) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/OperatorPortExecutions.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/OperatorPortExecutions.java deleted file mode 100644 index 6f77777926d..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/OperatorPortExecutions.java +++ /dev/null @@ -1,186 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.OperatorPortExecutionsRecord; - -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row4; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class OperatorPortExecutions extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of texera_db.operator_port_executions - */ - public static final OperatorPortExecutions OPERATOR_PORT_EXECUTIONS = new OperatorPortExecutions(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return OperatorPortExecutionsRecord.class; - } - - /** - * The column - * texera_db.operator_port_executions.workflow_execution_id. - */ - public final TableField WORKFLOW_EXECUTION_ID = createField(DSL.name("workflow_execution_id"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column - * texera_db.operator_port_executions.global_port_id. - */ - public final TableField GLOBAL_PORT_ID = createField(DSL.name("global_port_id"), SQLDataType.VARCHAR(200).nullable(false), this, ""); - - /** - * The column texera_db.operator_port_executions.result_uri. - */ - public final TableField RESULT_URI = createField(DSL.name("result_uri"), SQLDataType.CLOB, this, ""); - - /** - * The column texera_db.operator_port_executions.result_size. - */ - public final TableField RESULT_SIZE = createField(DSL.name("result_size"), SQLDataType.INTEGER.defaultValue(DSL.field("0", SQLDataType.INTEGER)), this, ""); - - private OperatorPortExecutions(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private OperatorPortExecutions(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased texera_db.operator_port_executions table - * reference - */ - public OperatorPortExecutions(String alias) { - this(DSL.name(alias), OPERATOR_PORT_EXECUTIONS); - } - - /** - * Create an aliased texera_db.operator_port_executions table - * reference - */ - public OperatorPortExecutions(Name alias) { - this(alias, OPERATOR_PORT_EXECUTIONS); - } - - /** - * Create a texera_db.operator_port_executions table reference - */ - public OperatorPortExecutions() { - this(DSL.name("operator_port_executions"), null); - } - - public OperatorPortExecutions(Table child, ForeignKey key) { - super(child, key, OPERATOR_PORT_EXECUTIONS); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.OPERATOR_PORT_EXECUTIONS_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.OPERATOR_PORT_EXECUTIONS__OPERATOR_PORT_EXECUTIONS_WORKFLOW_EXECUTION_ID_FKEY); - } - - private transient WorkflowExecutions _workflowExecutions; - - /** - * Get the implicit join path to the - * texera_db.workflow_executions table. - */ - public WorkflowExecutions workflowExecutions() { - if (_workflowExecutions == null) - _workflowExecutions = new WorkflowExecutions(this, Keys.OPERATOR_PORT_EXECUTIONS__OPERATOR_PORT_EXECUTIONS_WORKFLOW_EXECUTION_ID_FKEY); - - return _workflowExecutions; - } - - @Override - public OperatorPortExecutions as(String alias) { - return new OperatorPortExecutions(DSL.name(alias), this); - } - - @Override - public OperatorPortExecutions as(Name alias) { - return new OperatorPortExecutions(alias, this); - } - - /** - * Rename this table - */ - @Override - public OperatorPortExecutions rename(String name) { - return new OperatorPortExecutions(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public OperatorPortExecutions rename(Name name) { - return new OperatorPortExecutions(name, null); - } - - // ------------------------------------------------------------------------- - // Row4 type methods - // ------------------------------------------------------------------------- - - @Override - public Row4 fieldsRow() { - return (Row4) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/Project.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/Project.java deleted file mode 100644 index 661b9411546..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/Project.java +++ /dev/null @@ -1,203 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.ProjectRecord; - -import java.sql.Timestamp; -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Identity; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row6; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class Project extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * 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"), SQLDataType.INTEGER.nullable(false).identity(true), this, ""); - - /** - * The column texera_db.project.name. - */ - public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(128).nullable(false), this, ""); - - /** - * The column texera_db.project.description. - */ - public final TableField DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(10000), this, ""); - - /** - * The column texera_db.project.owner_id. - */ - public final TableField OWNER_ID = createField(DSL.name("owner_id"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.project.creation_time. - */ - public final TableField CREATION_TIME = createField(DSL.name("creation_time"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, ""); - - /** - * The column texera_db.project.color. - */ - public final TableField COLOR = createField(DSL.name("color"), SQLDataType.VARCHAR(6), this, ""); - - 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(""), TableOptions.table()); - } - - /** - * 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); - } - - /** - * Create a texera_db.project table reference - */ - public Project() { - this(DSL.name("project"), null); - } - - public Project(Table child, ForeignKey key) { - super(child, key, PROJECT); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public Identity getIdentity() { - return (Identity) super.getIdentity(); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.PROJECT_PKEY; - } - - @Override - public List> getUniqueKeys() { - return Arrays.asList(Keys.PROJECT_OWNER_ID_NAME_KEY); - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.PROJECT__PROJECT_OWNER_ID_FKEY); - } - - private transient User _user; - - /** - * Get the implicit join path to the texera_db.user table. - */ - public User user() { - if (_user == null) - _user = new User(this, Keys.PROJECT__PROJECT_OWNER_ID_FKEY); - - return _user; - } - - @Override - public Project as(String alias) { - return new Project(DSL.name(alias), this); - } - - @Override - public Project as(Name alias) { - return new Project(alias, this); - } - - /** - * Rename this table - */ - @Override - public Project rename(String name) { - return new Project(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public Project rename(Name name) { - return new Project(name, null); - } - - // ------------------------------------------------------------------------- - // Row6 type methods - // ------------------------------------------------------------------------- - - @Override - public Row6 fieldsRow() { - return (Row6) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/ProjectUserAccess.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/ProjectUserAccess.java deleted file mode 100644 index d219c656373..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/ProjectUserAccess.java +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.ProjectUserAccessRecord; - -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row3; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ProjectUserAccess extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * 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"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.project_user_access.pid. - */ - public final TableField PID = createField(DSL.name("pid"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.project_user_access.privilege. - */ - public final TableField PRIVILEGE = createField(DSL.name("privilege"), SQLDataType.VARCHAR.nullable(false).defaultValue(DSL.field("'NONE'::texera_db.privilege_enum", SQLDataType.VARCHAR)).asEnumDataType(edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum.class), this, ""); - - 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(""), TableOptions.table()); - } - - /** - * 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); - } - - /** - * Create a texera_db.project_user_access table reference - */ - public ProjectUserAccess() { - this(DSL.name("project_user_access"), null); - } - - public ProjectUserAccess(Table child, ForeignKey key) { - super(child, key, PROJECT_USER_ACCESS); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.PROJECT_USER_ACCESS_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.PROJECT_USER_ACCESS__PROJECT_USER_ACCESS_UID_FKEY, Keys.PROJECT_USER_ACCESS__PROJECT_USER_ACCESS_PID_FKEY); - } - - private transient User _user; - private transient Project _project; - - /** - * Get the implicit join path to the texera_db.user table. - */ - public User user() { - if (_user == null) - _user = new User(this, Keys.PROJECT_USER_ACCESS__PROJECT_USER_ACCESS_UID_FKEY); - - return _user; - } - - /** - * Get the implicit join path to the texera_db.project table. - */ - public Project project() { - if (_project == null) - _project = new Project(this, Keys.PROJECT_USER_ACCESS__PROJECT_USER_ACCESS_PID_FKEY); - - return _project; - } - - @Override - public ProjectUserAccess as(String alias) { - return new ProjectUserAccess(DSL.name(alias), this); - } - - @Override - public ProjectUserAccess as(Name alias) { - return new ProjectUserAccess(alias, this); - } - - /** - * Rename this table - */ - @Override - public ProjectUserAccess rename(String name) { - return new ProjectUserAccess(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public ProjectUserAccess rename(Name name) { - return new ProjectUserAccess(name, null); - } - - // ------------------------------------------------------------------------- - // Row3 type methods - // ------------------------------------------------------------------------- - - @Override - public Row3 fieldsRow() { - return (Row3) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/PublicProject.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/PublicProject.java deleted file mode 100644 index a7172a2a2ed..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/PublicProject.java +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.PublicProjectRecord; - -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row2; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class PublicProject extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * 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"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.public_project.uid. - */ - public final TableField UID = createField(DSL.name("uid"), SQLDataType.INTEGER, this, ""); - - 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(""), TableOptions.table()); - } - - /** - * 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); - } - - /** - * Create a texera_db.public_project table reference - */ - public PublicProject() { - this(DSL.name("public_project"), null); - } - - public PublicProject(Table child, ForeignKey key) { - super(child, key, PUBLIC_PROJECT); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.PUBLIC_PROJECT_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.PUBLIC_PROJECT__PUBLIC_PROJECT_PID_FKEY); - } - - private transient Project _project; - - /** - * Get the implicit join path to the texera_db.project table. - */ - public Project project() { - if (_project == null) - _project = new Project(this, Keys.PUBLIC_PROJECT__PUBLIC_PROJECT_PID_FKEY); - - return _project; - } - - @Override - public PublicProject as(String alias) { - return new PublicProject(DSL.name(alias), this); - } - - @Override - public PublicProject as(Name alias) { - return new PublicProject(alias, this); - } - - /** - * Rename this table - */ - @Override - public PublicProject rename(String name) { - return new PublicProject(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public PublicProject rename(Name name) { - return new PublicProject(name, null); - } - - // ------------------------------------------------------------------------- - // Row2 type methods - // ------------------------------------------------------------------------- - - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/SiteSettings.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/SiteSettings.java deleted file mode 100644 index 7c37805c79f..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/SiteSettings.java +++ /dev/null @@ -1,163 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.SiteSettingsRecord; - -import java.sql.Timestamp; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row4; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SiteSettings extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of texera_db.site_settings - */ - public static final SiteSettings SITE_SETTINGS = new SiteSettings(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SiteSettingsRecord.class; - } - - /** - * The column texera_db.site_settings.key. - */ - public final TableField KEY = createField(DSL.name("key"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column texera_db.site_settings.value. - */ - public final TableField VALUE = createField(DSL.name("value"), SQLDataType.CLOB.nullable(false), this, ""); - - /** - * The column texera_db.site_settings.updated_by. - */ - public final TableField UPDATED_BY = createField(DSL.name("updated_by"), SQLDataType.VARCHAR(50), this, ""); - - /** - * The column texera_db.site_settings.updated_at. - */ - public final TableField UPDATED_AT = createField(DSL.name("updated_at"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, ""); - - private SiteSettings(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private SiteSettings(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased texera_db.site_settings table reference - */ - public SiteSettings(String alias) { - this(DSL.name(alias), SITE_SETTINGS); - } - - /** - * Create an aliased texera_db.site_settings table reference - */ - public SiteSettings(Name alias) { - this(alias, SITE_SETTINGS); - } - - /** - * Create a texera_db.site_settings table reference - */ - public SiteSettings() { - this(DSL.name("site_settings"), null); - } - - public SiteSettings(Table child, ForeignKey key) { - super(child, key, SITE_SETTINGS); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.SITE_SETTINGS_PKEY; - } - - @Override - public SiteSettings as(String alias) { - return new SiteSettings(DSL.name(alias), this); - } - - @Override - public SiteSettings as(Name alias) { - return new SiteSettings(alias, this); - } - - /** - * Rename this table - */ - @Override - public SiteSettings rename(String name) { - return new SiteSettings(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SiteSettings rename(Name name) { - return new SiteSettings(name, null); - } - - // ------------------------------------------------------------------------- - // Row4 type methods - // ------------------------------------------------------------------------- - - @Override - public Row4 fieldsRow() { - return (Row4) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/TimeLog.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/TimeLog.java deleted file mode 100644 index bc6d48e7ddc..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/TimeLog.java +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.TimeLogRecord; - -import java.time.OffsetDateTime; -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row2; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class TimeLog extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of texera_db.time_log - */ - public static final TimeLog TIME_LOG = new TimeLog(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return TimeLogRecord.class; - } - - /** - * The column texera_db.time_log.uid. - */ - public final TableField UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.time_log.last_login. - */ - public final TableField LAST_LOGIN = createField(DSL.name("last_login"), SQLDataType.TIMESTAMPWITHTIMEZONE(6), this, ""); - - private TimeLog(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private TimeLog(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased texera_db.time_log table reference - */ - public TimeLog(String alias) { - this(DSL.name(alias), TIME_LOG); - } - - /** - * Create an aliased texera_db.time_log table reference - */ - public TimeLog(Name alias) { - this(alias, TIME_LOG); - } - - /** - * Create a texera_db.time_log table reference - */ - public TimeLog() { - this(DSL.name("time_log"), null); - } - - public TimeLog(Table child, ForeignKey key) { - super(child, key, TIME_LOG); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.TIME_LOG_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.TIME_LOG__TIME_LOG_UID_FKEY); - } - - private transient User _user; - - /** - * Get the implicit join path to the texera_db.user table. - */ - public User user() { - if (_user == null) - _user = new User(this, Keys.TIME_LOG__TIME_LOG_UID_FKEY); - - return _user; - } - - @Override - public TimeLog as(String alias) { - return new TimeLog(DSL.name(alias), this); - } - - @Override - public TimeLog as(Name alias) { - return new TimeLog(alias, this); - } - - /** - * Rename this table - */ - @Override - public TimeLog rename(String name) { - return new TimeLog(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public TimeLog rename(Name name) { - return new TimeLog(name, null); - } - - // ------------------------------------------------------------------------- - // Row2 type methods - // ------------------------------------------------------------------------- - - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/User.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/User.java deleted file mode 100644 index af46ca69301..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/User.java +++ /dev/null @@ -1,205 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.enums.UserRoleEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.UserRecord; - -import java.util.Arrays; -import java.util.List; - -import org.jooq.Check; -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Identity; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row8; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.Internal; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class User extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * 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"), SQLDataType.INTEGER.nullable(false).identity(true), this, ""); - - /** - * The column texera_db.user.name. - */ - public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(256).nullable(false), this, ""); - - /** - * The column texera_db.user.email. - */ - public final TableField EMAIL = createField(DSL.name("email"), SQLDataType.VARCHAR(256), this, ""); - - /** - * The column texera_db.user.password. - */ - public final TableField PASSWORD = createField(DSL.name("password"), SQLDataType.VARCHAR(256), this, ""); - - /** - * The column texera_db.user.google_id. - */ - public final TableField GOOGLE_ID = createField(DSL.name("google_id"), SQLDataType.VARCHAR(256), this, ""); - - /** - * The column texera_db.user.google_avatar. - */ - public final TableField GOOGLE_AVATAR = createField(DSL.name("google_avatar"), SQLDataType.VARCHAR(100), this, ""); - - /** - * The column texera_db.user.role. - */ - public final TableField ROLE = createField(DSL.name("role"), SQLDataType.VARCHAR.nullable(false).defaultValue(DSL.field("'INACTIVE'::texera_db.user_role_enum", SQLDataType.VARCHAR)).asEnumDataType(edu.uci.ics.texera.dao.jooq.generated.enums.UserRoleEnum.class), this, ""); - - /** - * The column texera_db.user.comment. - */ - public final TableField COMMENT = createField(DSL.name("comment"), SQLDataType.CLOB, this, ""); - - 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(""), TableOptions.table()); - } - - /** - * 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); - } - - /** - * Create a texera_db.user table reference - */ - public User() { - this(DSL.name("user"), null); - } - - public User(Table child, ForeignKey key) { - super(child, key, USER); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public Identity getIdentity() { - return (Identity) super.getIdentity(); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.USER_PKEY; - } - - @Override - public List> getUniqueKeys() { - return Arrays.asList(Keys.USER_EMAIL_KEY, Keys.USER_GOOGLE_ID_KEY); - } - - @Override - public List> getChecks() { - return Arrays.asList( - Internal.createCheck(this, DSL.name("ck_nulltest"), "(((password IS NOT NULL) OR (google_id IS NOT NULL)))", true) - ); - } - - @Override - public User as(String alias) { - return new User(DSL.name(alias), this); - } - - @Override - public User as(Name alias) { - return new User(alias, this); - } - - /** - * Rename this table - */ - @Override - public User rename(String name) { - return new User(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public User rename(Name name) { - return new User(name, null); - } - - // ------------------------------------------------------------------------- - // Row8 type methods - // ------------------------------------------------------------------------- - - @Override - public Row8 fieldsRow() { - return (Row8) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/UserActivity.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/UserActivity.java deleted file mode 100644 index d4fca79d12d..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/UserActivity.java +++ /dev/null @@ -1,166 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.UserActivityRecord; - -import java.sql.Timestamp; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row6; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class UserActivity extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of texera_db.user_activity - */ - public static final UserActivity USER_ACTIVITY = new UserActivity(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return UserActivityRecord.class; - } - - /** - * The column texera_db.user_activity.uid. - */ - public final TableField UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field("0", SQLDataType.INTEGER)), this, ""); - - /** - * The column texera_db.user_activity.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.user_activity.type. - */ - public final TableField TYPE = createField(DSL.name("type"), SQLDataType.VARCHAR(15).nullable(false), this, ""); - - /** - * The column texera_db.user_activity.ip. - */ - public final TableField IP = createField(DSL.name("ip"), SQLDataType.VARCHAR(15).defaultValue(DSL.field("NULL::character varying", SQLDataType.VARCHAR)), this, ""); - - /** - * The column texera_db.user_activity.activate. - */ - public final TableField ACTIVATE = createField(DSL.name("activate"), SQLDataType.VARCHAR(10).nullable(false), this, ""); - - /** - * The column texera_db.user_activity.activity_time. - */ - public final TableField ACTIVITY_TIME = createField(DSL.name("activity_time"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, ""); - - private UserActivity(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private UserActivity(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased texera_db.user_activity table reference - */ - public UserActivity(String alias) { - this(DSL.name(alias), USER_ACTIVITY); - } - - /** - * Create an aliased texera_db.user_activity table reference - */ - public UserActivity(Name alias) { - this(alias, USER_ACTIVITY); - } - - /** - * Create a texera_db.user_activity table reference - */ - public UserActivity() { - this(DSL.name("user_activity"), null); - } - - public UserActivity(Table child, ForeignKey key) { - super(child, key, USER_ACTIVITY); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public UserActivity as(String alias) { - return new UserActivity(DSL.name(alias), this); - } - - @Override - public UserActivity as(Name alias) { - return new UserActivity(alias, this); - } - - /** - * Rename this table - */ - @Override - public UserActivity rename(String name) { - return new UserActivity(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public UserActivity rename(Name name) { - return new UserActivity(name, null); - } - - // ------------------------------------------------------------------------- - // Row6 type methods - // ------------------------------------------------------------------------- - - @Override - public Row6 fieldsRow() { - return (Row6) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/UserConfig.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/UserConfig.java deleted file mode 100644 index 2c6281c0846..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/UserConfig.java +++ /dev/null @@ -1,176 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.UserConfigRecord; - -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row3; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class UserConfig extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * 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"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.user_config.key. - */ - public final TableField KEY = createField(DSL.name("key"), SQLDataType.VARCHAR(256).nullable(false), this, ""); - - /** - * The column texera_db.user_config.value. - */ - public final TableField VALUE = createField(DSL.name("value"), SQLDataType.CLOB.nullable(false), this, ""); - - 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(""), TableOptions.table()); - } - - /** - * 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); - } - - /** - * Create a texera_db.user_config table reference - */ - public UserConfig() { - this(DSL.name("user_config"), null); - } - - public UserConfig(Table child, ForeignKey key) { - super(child, key, USER_CONFIG); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.USER_CONFIG_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.USER_CONFIG__USER_CONFIG_UID_FKEY); - } - - private transient User _user; - - /** - * Get the implicit join path to the texera_db.user table. - */ - public User user() { - if (_user == null) - _user = new User(this, Keys.USER_CONFIG__USER_CONFIG_UID_FKEY); - - return _user; - } - - @Override - public UserConfig as(String alias) { - return new UserConfig(DSL.name(alias), this); - } - - @Override - public UserConfig as(Name alias) { - return new UserConfig(alias, this); - } - - /** - * Rename this table - */ - @Override - public UserConfig rename(String name) { - return new UserConfig(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public UserConfig rename(Name name) { - return new UserConfig(name, null); - } - - // ------------------------------------------------------------------------- - // Row3 type methods - // ------------------------------------------------------------------------- - - @Override - public Row3 fieldsRow() { - return (Row3) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/Workflow.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/Workflow.java deleted file mode 100644 index e259a7f217c..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/Workflow.java +++ /dev/null @@ -1,184 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowRecord; - -import java.sql.Timestamp; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Identity; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row7; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class Workflow extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * 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.wid. - */ - public final TableField WID = createField(DSL.name("wid"), SQLDataType.INTEGER.nullable(false).identity(true), this, ""); - - /** - * The column texera_db.workflow.name. - */ - public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(128).nullable(false), this, ""); - - /** - * The column texera_db.workflow.description. - */ - public final TableField DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(500), this, ""); - - /** - * The column texera_db.workflow.content. - */ - public final TableField CONTENT = createField(DSL.name("content"), SQLDataType.CLOB.nullable(false), this, ""); - - /** - * The column texera_db.workflow.creation_time. - */ - public final TableField CREATION_TIME = createField(DSL.name("creation_time"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, ""); - - /** - * The column texera_db.workflow.last_modified_time. - */ - public final TableField LAST_MODIFIED_TIME = createField(DSL.name("last_modified_time"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, ""); - - /** - * The column texera_db.workflow.is_public. - */ - public final TableField IS_PUBLIC = createField(DSL.name("is_public"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field("false", SQLDataType.BOOLEAN)), this, ""); - - 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(""), TableOptions.table()); - } - - /** - * 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); - } - - /** - * Create a texera_db.workflow table reference - */ - public Workflow() { - this(DSL.name("workflow"), null); - } - - public Workflow(Table child, ForeignKey key) { - super(child, key, WORKFLOW); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public Identity getIdentity() { - return (Identity) super.getIdentity(); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.WORKFLOW_PKEY; - } - - @Override - public Workflow as(String alias) { - return new Workflow(DSL.name(alias), this); - } - - @Override - public Workflow as(Name alias) { - return new Workflow(alias, this); - } - - /** - * Rename this table - */ - @Override - public Workflow rename(String name) { - return new Workflow(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public Workflow rename(Name name) { - return new Workflow(name, null); - } - - // ------------------------------------------------------------------------- - // Row7 type methods - // ------------------------------------------------------------------------- - - @Override - public Row7 fieldsRow() { - return (Row7) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowComputingUnit.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowComputingUnit.java deleted file mode 100644 index de75bf4502c..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowComputingUnit.java +++ /dev/null @@ -1,211 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.enums.WorkflowComputingUnitTypeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowComputingUnitRecord; - -import java.sql.Timestamp; -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Identity; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row8; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowComputingUnit extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of texera_db.workflow_computing_unit - */ - public static final WorkflowComputingUnit WORKFLOW_COMPUTING_UNIT = new WorkflowComputingUnit(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return WorkflowComputingUnitRecord.class; - } - - /** - * The column texera_db.workflow_computing_unit.uid. - */ - public final TableField UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.workflow_computing_unit.name. - */ - public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(128).nullable(false), this, ""); - - /** - * The column texera_db.workflow_computing_unit.cuid. - */ - public final TableField CUID = createField(DSL.name("cuid"), SQLDataType.INTEGER.nullable(false).identity(true), this, ""); - - /** - * The column texera_db.workflow_computing_unit.creation_time. - */ - public final TableField CREATION_TIME = createField(DSL.name("creation_time"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, ""); - - /** - * The column texera_db.workflow_computing_unit.terminate_time. - */ - public final TableField TERMINATE_TIME = createField(DSL.name("terminate_time"), SQLDataType.TIMESTAMP(0), this, ""); - - /** - * The column texera_db.workflow_computing_unit.type. - */ - public final TableField TYPE = createField(DSL.name("type"), SQLDataType.VARCHAR.asEnumDataType(edu.uci.ics.texera.dao.jooq.generated.enums.WorkflowComputingUnitTypeEnum.class), this, ""); - - /** - * The column texera_db.workflow_computing_unit.uri. - */ - public final TableField URI = createField(DSL.name("uri"), SQLDataType.CLOB.nullable(false).defaultValue(DSL.field("''::text", SQLDataType.CLOB)), this, ""); - - /** - * The column texera_db.workflow_computing_unit.resource. - */ - public final TableField RESOURCE = createField(DSL.name("resource"), SQLDataType.CLOB.defaultValue(DSL.field("''::text", SQLDataType.CLOB)), this, ""); - - private WorkflowComputingUnit(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private WorkflowComputingUnit(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * Create an aliased texera_db.workflow_computing_unit table - * reference - */ - public WorkflowComputingUnit(String alias) { - this(DSL.name(alias), WORKFLOW_COMPUTING_UNIT); - } - - /** - * Create an aliased texera_db.workflow_computing_unit table - * reference - */ - public WorkflowComputingUnit(Name alias) { - this(alias, WORKFLOW_COMPUTING_UNIT); - } - - /** - * Create a texera_db.workflow_computing_unit table reference - */ - public WorkflowComputingUnit() { - this(DSL.name("workflow_computing_unit"), null); - } - - public WorkflowComputingUnit(Table child, ForeignKey key) { - super(child, key, WORKFLOW_COMPUTING_UNIT); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public Identity getIdentity() { - return (Identity) super.getIdentity(); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.WORKFLOW_COMPUTING_UNIT_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.WORKFLOW_COMPUTING_UNIT__WORKFLOW_COMPUTING_UNIT_UID_FKEY); - } - - private transient User _user; - - /** - * Get the implicit join path to the texera_db.user table. - */ - public User user() { - if (_user == null) - _user = new User(this, Keys.WORKFLOW_COMPUTING_UNIT__WORKFLOW_COMPUTING_UNIT_UID_FKEY); - - return _user; - } - - @Override - public WorkflowComputingUnit as(String alias) { - return new WorkflowComputingUnit(DSL.name(alias), this); - } - - @Override - public WorkflowComputingUnit as(Name alias) { - return new WorkflowComputingUnit(alias, this); - } - - /** - * Rename this table - */ - @Override - public WorkflowComputingUnit rename(String name) { - return new WorkflowComputingUnit(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public WorkflowComputingUnit rename(Name name) { - return new WorkflowComputingUnit(name, null); - } - - // ------------------------------------------------------------------------- - // Row8 type methods - // ------------------------------------------------------------------------- - - @Override - public Row8 fieldsRow() { - return (Row8) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowExecutions.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowExecutions.java deleted file mode 100644 index e5c0ee67156..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowExecutions.java +++ /dev/null @@ -1,265 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowExecutionsRecord; - -import java.sql.Timestamp; -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Identity; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row14; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowExecutions extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * 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"), SQLDataType.INTEGER.nullable(false).identity(true), this, ""); - - /** - * The column texera_db.workflow_executions.vid. - */ - public final TableField VID = createField(DSL.name("vid"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.workflow_executions.uid. - */ - public final TableField UID = createField(DSL.name("uid"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.workflow_executions.cuid. - */ - public final TableField CUID = createField(DSL.name("cuid"), SQLDataType.INTEGER, this, ""); - - /** - * The column texera_db.workflow_executions.status. - */ - public final TableField STATUS = createField(DSL.name("status"), SQLDataType.SMALLINT.nullable(false).defaultValue(DSL.field("1", SQLDataType.SMALLINT)), this, ""); - - /** - * The column texera_db.workflow_executions.result. - */ - public final TableField RESULT = createField(DSL.name("result"), SQLDataType.CLOB, this, ""); - - /** - * The column texera_db.workflow_executions.starting_time. - */ - public final TableField STARTING_TIME = createField(DSL.name("starting_time"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, ""); - - /** - * The column texera_db.workflow_executions.last_update_time. - */ - public final TableField LAST_UPDATE_TIME = createField(DSL.name("last_update_time"), SQLDataType.TIMESTAMP(0), this, ""); - - /** - * The column texera_db.workflow_executions.bookmarked. - */ - public final TableField BOOKMARKED = createField(DSL.name("bookmarked"), SQLDataType.BOOLEAN.defaultValue(DSL.field("false", SQLDataType.BOOLEAN)), this, ""); - - /** - * The column texera_db.workflow_executions.name. - */ - public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(128).nullable(false).defaultValue(DSL.field("'Untitled Execution'::character varying", SQLDataType.VARCHAR)), this, ""); - - /** - * The column - * texera_db.workflow_executions.environment_version. - */ - public final TableField ENVIRONMENT_VERSION = createField(DSL.name("environment_version"), SQLDataType.VARCHAR(128).nullable(false), this, ""); - - /** - * The column texera_db.workflow_executions.log_location. - */ - public final TableField LOG_LOCATION = createField(DSL.name("log_location"), SQLDataType.CLOB, this, ""); - - /** - * The column texera_db.workflow_executions.runtime_stats_uri. - */ - public final TableField RUNTIME_STATS_URI = createField(DSL.name("runtime_stats_uri"), SQLDataType.CLOB, this, ""); - - /** - * The column texera_db.workflow_executions.runtime_stats_size. - */ - public final TableField RUNTIME_STATS_SIZE = createField(DSL.name("runtime_stats_size"), SQLDataType.INTEGER.defaultValue(DSL.field("0", SQLDataType.INTEGER)), this, ""); - - 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(""), TableOptions.table()); - } - - /** - * 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); - } - - /** - * Create a texera_db.workflow_executions table reference - */ - public WorkflowExecutions() { - this(DSL.name("workflow_executions"), null); - } - - public WorkflowExecutions(Table child, ForeignKey key) { - super(child, key, WORKFLOW_EXECUTIONS); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public Identity getIdentity() { - return (Identity) super.getIdentity(); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.WORKFLOW_EXECUTIONS_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.WORKFLOW_EXECUTIONS__WORKFLOW_EXECUTIONS_VID_FKEY, Keys.WORKFLOW_EXECUTIONS__WORKFLOW_EXECUTIONS_UID_FKEY, Keys.WORKFLOW_EXECUTIONS__WORKFLOW_EXECUTIONS_CUID_FKEY); - } - - private transient WorkflowVersion _workflowVersion; - private transient User _user; - private transient WorkflowComputingUnit _workflowComputingUnit; - - /** - * Get the implicit join path to the texera_db.workflow_version - * table. - */ - public WorkflowVersion workflowVersion() { - if (_workflowVersion == null) - _workflowVersion = new WorkflowVersion(this, Keys.WORKFLOW_EXECUTIONS__WORKFLOW_EXECUTIONS_VID_FKEY); - - return _workflowVersion; - } - - /** - * Get the implicit join path to the texera_db.user table. - */ - public User user() { - if (_user == null) - _user = new User(this, Keys.WORKFLOW_EXECUTIONS__WORKFLOW_EXECUTIONS_UID_FKEY); - - return _user; - } - - /** - * Get the implicit join path to the - * texera_db.workflow_computing_unit table. - */ - public WorkflowComputingUnit workflowComputingUnit() { - if (_workflowComputingUnit == null) - _workflowComputingUnit = new WorkflowComputingUnit(this, Keys.WORKFLOW_EXECUTIONS__WORKFLOW_EXECUTIONS_CUID_FKEY); - - return _workflowComputingUnit; - } - - @Override - public WorkflowExecutions as(String alias) { - return new WorkflowExecutions(DSL.name(alias), this); - } - - @Override - public WorkflowExecutions as(Name alias) { - return new WorkflowExecutions(alias, this); - } - - /** - * Rename this table - */ - @Override - public WorkflowExecutions rename(String name) { - return new WorkflowExecutions(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public WorkflowExecutions rename(Name name) { - return new WorkflowExecutions(name, null); - } - - // ------------------------------------------------------------------------- - // Row14 type methods - // ------------------------------------------------------------------------- - - @Override - public Row14 fieldsRow() { - return (Row14) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowOfProject.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowOfProject.java deleted file mode 100644 index 8637a63a4b0..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowOfProject.java +++ /dev/null @@ -1,184 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowOfProjectRecord; - -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row2; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowOfProject extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * 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"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.workflow_of_project.pid. - */ - public final TableField PID = createField(DSL.name("pid"), SQLDataType.INTEGER.nullable(false), this, ""); - - 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(""), TableOptions.table()); - } - - /** - * 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); - } - - /** - * Create a texera_db.workflow_of_project table reference - */ - public WorkflowOfProject() { - this(DSL.name("workflow_of_project"), null); - } - - public WorkflowOfProject(Table child, ForeignKey key) { - super(child, key, WORKFLOW_OF_PROJECT); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.WORKFLOW_OF_PROJECT_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.WORKFLOW_OF_PROJECT__WORKFLOW_OF_PROJECT_WID_FKEY, Keys.WORKFLOW_OF_PROJECT__WORKFLOW_OF_PROJECT_PID_FKEY); - } - - private transient Workflow _workflow; - private transient Project _project; - - /** - * Get the implicit join path to the texera_db.workflow table. - */ - public Workflow workflow() { - if (_workflow == null) - _workflow = new Workflow(this, Keys.WORKFLOW_OF_PROJECT__WORKFLOW_OF_PROJECT_WID_FKEY); - - return _workflow; - } - - /** - * Get the implicit join path to the texera_db.project table. - */ - public Project project() { - if (_project == null) - _project = new Project(this, Keys.WORKFLOW_OF_PROJECT__WORKFLOW_OF_PROJECT_PID_FKEY); - - return _project; - } - - @Override - public WorkflowOfProject as(String alias) { - return new WorkflowOfProject(DSL.name(alias), this); - } - - @Override - public WorkflowOfProject as(Name alias) { - return new WorkflowOfProject(alias, this); - } - - /** - * Rename this table - */ - @Override - public WorkflowOfProject rename(String name) { - return new WorkflowOfProject(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public WorkflowOfProject rename(Name name) { - return new WorkflowOfProject(name, null); - } - - // ------------------------------------------------------------------------- - // Row2 type methods - // ------------------------------------------------------------------------- - - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowOfUser.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowOfUser.java deleted file mode 100644 index 1f47d3b8b74..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowOfUser.java +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowOfUserRecord; - -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row2; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowOfUser extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * 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"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.workflow_of_user.wid. - */ - public final TableField WID = createField(DSL.name("wid"), SQLDataType.INTEGER.nullable(false), this, ""); - - 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(""), TableOptions.table()); - } - - /** - * 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); - } - - /** - * Create a texera_db.workflow_of_user table reference - */ - public WorkflowOfUser() { - this(DSL.name("workflow_of_user"), null); - } - - public WorkflowOfUser(Table child, ForeignKey key) { - super(child, key, WORKFLOW_OF_USER); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.WORKFLOW_OF_USER_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.WORKFLOW_OF_USER__WORKFLOW_OF_USER_UID_FKEY, Keys.WORKFLOW_OF_USER__WORKFLOW_OF_USER_WID_FKEY); - } - - private transient User _user; - private transient Workflow _workflow; - - /** - * Get the implicit join path to the texera_db.user table. - */ - public User user() { - if (_user == null) - _user = new User(this, Keys.WORKFLOW_OF_USER__WORKFLOW_OF_USER_UID_FKEY); - - return _user; - } - - /** - * Get the implicit join path to the texera_db.workflow table. - */ - public Workflow workflow() { - if (_workflow == null) - _workflow = new Workflow(this, Keys.WORKFLOW_OF_USER__WORKFLOW_OF_USER_WID_FKEY); - - return _workflow; - } - - @Override - public WorkflowOfUser as(String alias) { - return new WorkflowOfUser(DSL.name(alias), this); - } - - @Override - public WorkflowOfUser as(Name alias) { - return new WorkflowOfUser(alias, this); - } - - /** - * Rename this table - */ - @Override - public WorkflowOfUser rename(String name) { - return new WorkflowOfUser(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public WorkflowOfUser rename(Name name) { - return new WorkflowOfUser(name, null); - } - - // ------------------------------------------------------------------------- - // Row2 type methods - // ------------------------------------------------------------------------- - - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowUserAccess.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowUserAccess.java deleted file mode 100644 index eaaa68479d6..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowUserAccess.java +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowUserAccessRecord; - -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row3; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowUserAccess extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * 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"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.workflow_user_access.wid. - */ - public final TableField WID = createField(DSL.name("wid"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.workflow_user_access.privilege. - */ - public final TableField PRIVILEGE = createField(DSL.name("privilege"), SQLDataType.VARCHAR.nullable(false).defaultValue(DSL.field("'NONE'::texera_db.privilege_enum", SQLDataType.VARCHAR)).asEnumDataType(edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum.class), this, ""); - - 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(""), TableOptions.table()); - } - - /** - * 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); - } - - /** - * Create a texera_db.workflow_user_access table reference - */ - public WorkflowUserAccess() { - this(DSL.name("workflow_user_access"), null); - } - - public WorkflowUserAccess(Table child, ForeignKey key) { - super(child, key, WORKFLOW_USER_ACCESS); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.WORKFLOW_USER_ACCESS_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.WORKFLOW_USER_ACCESS__WORKFLOW_USER_ACCESS_UID_FKEY, Keys.WORKFLOW_USER_ACCESS__WORKFLOW_USER_ACCESS_WID_FKEY); - } - - private transient User _user; - private transient Workflow _workflow; - - /** - * Get the implicit join path to the texera_db.user table. - */ - public User user() { - if (_user == null) - _user = new User(this, Keys.WORKFLOW_USER_ACCESS__WORKFLOW_USER_ACCESS_UID_FKEY); - - return _user; - } - - /** - * Get the implicit join path to the texera_db.workflow table. - */ - public Workflow workflow() { - if (_workflow == null) - _workflow = new Workflow(this, Keys.WORKFLOW_USER_ACCESS__WORKFLOW_USER_ACCESS_WID_FKEY); - - return _workflow; - } - - @Override - public WorkflowUserAccess as(String alias) { - return new WorkflowUserAccess(DSL.name(alias), this); - } - - @Override - public WorkflowUserAccess as(Name alias) { - return new WorkflowUserAccess(alias, this); - } - - /** - * Rename this table - */ - @Override - public WorkflowUserAccess rename(String name) { - return new WorkflowUserAccess(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public WorkflowUserAccess rename(Name name) { - return new WorkflowUserAccess(name, null); - } - - // ------------------------------------------------------------------------- - // Row3 type methods - // ------------------------------------------------------------------------- - - @Override - public Row3 fieldsRow() { - return (Row3) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowUserClones.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowUserClones.java deleted file mode 100644 index 281090f43bf..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowUserClones.java +++ /dev/null @@ -1,184 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowUserClonesRecord; - -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row2; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowUserClones extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * 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"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.workflow_user_clones.wid. - */ - public final TableField WID = createField(DSL.name("wid"), SQLDataType.INTEGER.nullable(false), this, ""); - - 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(""), TableOptions.table()); - } - - /** - * 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); - } - - /** - * Create a texera_db.workflow_user_clones table reference - */ - public WorkflowUserClones() { - this(DSL.name("workflow_user_clones"), null); - } - - public WorkflowUserClones(Table child, ForeignKey key) { - super(child, key, WORKFLOW_USER_CLONES); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.WORKFLOW_USER_CLONES_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.WORKFLOW_USER_CLONES__WORKFLOW_USER_CLONES_UID_FKEY, Keys.WORKFLOW_USER_CLONES__WORKFLOW_USER_CLONES_WID_FKEY); - } - - private transient User _user; - private transient Workflow _workflow; - - /** - * Get the implicit join path to the texera_db.user table. - */ - public User user() { - if (_user == null) - _user = new User(this, Keys.WORKFLOW_USER_CLONES__WORKFLOW_USER_CLONES_UID_FKEY); - - return _user; - } - - /** - * Get the implicit join path to the texera_db.workflow table. - */ - public Workflow workflow() { - if (_workflow == null) - _workflow = new Workflow(this, Keys.WORKFLOW_USER_CLONES__WORKFLOW_USER_CLONES_WID_FKEY); - - return _workflow; - } - - @Override - public WorkflowUserClones as(String alias) { - return new WorkflowUserClones(DSL.name(alias), this); - } - - @Override - public WorkflowUserClones as(Name alias) { - return new WorkflowUserClones(alias, this); - } - - /** - * Rename this table - */ - @Override - public WorkflowUserClones rename(String name) { - return new WorkflowUserClones(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public WorkflowUserClones rename(Name name) { - return new WorkflowUserClones(name, null); - } - - // ------------------------------------------------------------------------- - // Row2 type methods - // ------------------------------------------------------------------------- - - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowUserLikes.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowUserLikes.java deleted file mode 100644 index ded70aafbf9..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowUserLikes.java +++ /dev/null @@ -1,184 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowUserLikesRecord; - -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row2; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowUserLikes extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * 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"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.workflow_user_likes.wid. - */ - public final TableField WID = createField(DSL.name("wid"), SQLDataType.INTEGER.nullable(false), this, ""); - - 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(""), TableOptions.table()); - } - - /** - * 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); - } - - /** - * Create a texera_db.workflow_user_likes table reference - */ - public WorkflowUserLikes() { - this(DSL.name("workflow_user_likes"), null); - } - - public WorkflowUserLikes(Table child, ForeignKey key) { - super(child, key, WORKFLOW_USER_LIKES); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.WORKFLOW_USER_LIKES_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.WORKFLOW_USER_LIKES__WORKFLOW_USER_LIKES_UID_FKEY, Keys.WORKFLOW_USER_LIKES__WORKFLOW_USER_LIKES_WID_FKEY); - } - - private transient User _user; - private transient Workflow _workflow; - - /** - * Get the implicit join path to the texera_db.user table. - */ - public User user() { - if (_user == null) - _user = new User(this, Keys.WORKFLOW_USER_LIKES__WORKFLOW_USER_LIKES_UID_FKEY); - - return _user; - } - - /** - * Get the implicit join path to the texera_db.workflow table. - */ - public Workflow workflow() { - if (_workflow == null) - _workflow = new Workflow(this, Keys.WORKFLOW_USER_LIKES__WORKFLOW_USER_LIKES_WID_FKEY); - - return _workflow; - } - - @Override - public WorkflowUserLikes as(String alias) { - return new WorkflowUserLikes(DSL.name(alias), this); - } - - @Override - public WorkflowUserLikes as(Name alias) { - return new WorkflowUserLikes(alias, this); - } - - /** - * Rename this table - */ - @Override - public WorkflowUserLikes rename(String name) { - return new WorkflowUserLikes(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public WorkflowUserLikes rename(Name name) { - return new WorkflowUserLikes(name, null); - } - - // ------------------------------------------------------------------------- - // Row2 type methods - // ------------------------------------------------------------------------- - - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowVersion.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowVersion.java deleted file mode 100644 index 0ee46a50bdb..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowVersion.java +++ /dev/null @@ -1,188 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowVersionRecord; - -import java.sql.Timestamp; -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Identity; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row4; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowVersion extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * 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"), SQLDataType.INTEGER.nullable(false).identity(true), this, ""); - - /** - * The column texera_db.workflow_version.wid. - */ - public final TableField WID = createField(DSL.name("wid"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.workflow_version.content. - */ - public final TableField CONTENT = createField(DSL.name("content"), SQLDataType.CLOB.nullable(false), this, ""); - - /** - * The column texera_db.workflow_version.creation_time. - */ - public final TableField CREATION_TIME = createField(DSL.name("creation_time"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.TIMESTAMP)), this, ""); - - private WorkflowVersion(Name alias, Table aliased) { - this(alias, aliased, null); - } - - private WorkflowVersion(Name alias, Table aliased, Field[] parameters) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); - } - - /** - * 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); - } - - /** - * Create a texera_db.workflow_version table reference - */ - public WorkflowVersion() { - this(DSL.name("workflow_version"), null); - } - - public WorkflowVersion(Table child, ForeignKey key) { - super(child, key, WORKFLOW_VERSION); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public Identity getIdentity() { - return (Identity) super.getIdentity(); - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.WORKFLOW_VERSION_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.WORKFLOW_VERSION__WORKFLOW_VERSION_WID_FKEY); - } - - private transient Workflow _workflow; - - /** - * Get the implicit join path to the texera_db.workflow table. - */ - public Workflow workflow() { - if (_workflow == null) - _workflow = new Workflow(this, Keys.WORKFLOW_VERSION__WORKFLOW_VERSION_WID_FKEY); - - return _workflow; - } - - @Override - public WorkflowVersion as(String alias) { - return new WorkflowVersion(DSL.name(alias), this); - } - - @Override - public WorkflowVersion as(Name alias) { - return new WorkflowVersion(alias, this); - } - - /** - * Rename this table - */ - @Override - public WorkflowVersion rename(String name) { - return new WorkflowVersion(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public WorkflowVersion rename(Name name) { - return new WorkflowVersion(name, null); - } - - // ------------------------------------------------------------------------- - // Row4 type methods - // ------------------------------------------------------------------------- - - @Override - public Row4 fieldsRow() { - return (Row4) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowViewCount.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowViewCount.java deleted file mode 100644 index b4414d504b3..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/WorkflowViewCount.java +++ /dev/null @@ -1,173 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables; - - -import edu.uci.ics.texera.dao.jooq.generated.Keys; -import edu.uci.ics.texera.dao.jooq.generated.TexeraDb; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowViewCountRecord; - -import java.util.Arrays; -import java.util.List; - -import org.jooq.Field; -import org.jooq.ForeignKey; -import org.jooq.Name; -import org.jooq.Record; -import org.jooq.Row2; -import org.jooq.Schema; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowViewCount extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * 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"), SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column texera_db.workflow_view_count.view_count. - */ - public final TableField VIEW_COUNT = createField(DSL.name("view_count"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field("0", SQLDataType.INTEGER)), this, ""); - - 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(""), TableOptions.table()); - } - - /** - * 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); - } - - /** - * Create a texera_db.workflow_view_count table reference - */ - public WorkflowViewCount() { - this(DSL.name("workflow_view_count"), null); - } - - public WorkflowViewCount(Table child, ForeignKey key) { - super(child, key, WORKFLOW_VIEW_COUNT); - } - - @Override - public Schema getSchema() { - return aliased() ? null : TexeraDb.TEXERA_DB; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.WORKFLOW_VIEW_COUNT_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.WORKFLOW_VIEW_COUNT__WORKFLOW_VIEW_COUNT_WID_FKEY); - } - - private transient Workflow _workflow; - - /** - * Get the implicit join path to the texera_db.workflow table. - */ - public Workflow workflow() { - if (_workflow == null) - _workflow = new Workflow(this, Keys.WORKFLOW_VIEW_COUNT__WORKFLOW_VIEW_COUNT_WID_FKEY); - - return _workflow; - } - - @Override - public WorkflowViewCount as(String alias) { - return new WorkflowViewCount(DSL.name(alias), this); - } - - @Override - public WorkflowViewCount as(Name alias) { - return new WorkflowViewCount(alias, this); - } - - /** - * Rename this table - */ - @Override - public WorkflowViewCount rename(String name) { - return new WorkflowViewCount(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public WorkflowViewCount rename(Name name) { - return new WorkflowViewCount(name, null); - } - - // ------------------------------------------------------------------------- - // Row2 type methods - // ------------------------------------------------------------------------- - - @Override - public Row2 fieldsRow() { - return (Row2) super.fieldsRow(); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/ComputingUnitUserAccessDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/ComputingUnitUserAccessDao.java deleted file mode 100644 index 881411957ac..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/ComputingUnitUserAccessDao.java +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.ComputingUnitUserAccess; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.ComputingUnitUserAccessRecord; - -import java.util.List; - -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ComputingUnitUserAccessDao extends DAOImpl> { - - /** - * Create a new ComputingUnitUserAccessDao without any configuration - */ - public ComputingUnitUserAccessDao() { - super(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.ComputingUnitUserAccess.class); - } - - /** - * Create a new ComputingUnitUserAccessDao with an attached configuration - */ - public ComputingUnitUserAccessDao(Configuration configuration) { - super(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.ComputingUnitUserAccess.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.ComputingUnitUserAccess object) { - return compositeKeyRecord(object.getCuid(), object.getUid()); - } - - /** - * Fetch records that have cuid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCuid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.CUID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have cuid IN (values) - */ - public List fetchByCuid(Integer... values) { - return fetch(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.CUID, values); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(Integer... values) { - return fetch(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.UID, values); - } - - /** - * Fetch records that have privilege BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfPrivilege(PrivilegeEnum lowerInclusive, PrivilegeEnum upperInclusive) { - return fetchRange(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.PRIVILEGE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have privilege IN (values) - */ - public List fetchByPrivilege(PrivilegeEnum... values) { - return fetch(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.PRIVILEGE, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetDao.java deleted file mode 100644 index 2a03a244154..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetDao.java +++ /dev/null @@ -1,178 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.Dataset; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.DatasetRecord; - -import java.sql.Timestamp; -import java.util.List; -import java.util.Optional; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; - - -/** - * 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.dao.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.dao.jooq.generated.tables.pojos.Dataset.class, configuration); - } - - @Override - public Integer getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.Dataset object) { - return object.getDid(); - } - - /** - * Fetch records that have did BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfDid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(Dataset.DATASET.DID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have did IN (values) - */ - public List fetchByDid(Integer... values) { - return fetch(Dataset.DATASET.DID, values); - } - - /** - * Fetch a unique record that has did = value - */ - public edu.uci.ics.texera.dao.jooq.generated.tables.pojos.Dataset fetchOneByDid(Integer value) { - return fetchOne(Dataset.DATASET.DID, value); - } - - /** - * Fetch a unique record that has did = value - */ - public Optional fetchOptionalByDid(Integer value) { - return fetchOptional(Dataset.DATASET.DID, value); - } - - /** - * Fetch records that have owner_uid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfOwnerUid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(Dataset.DATASET.OWNER_UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have owner_uid IN (values) - */ - public List fetchByOwnerUid(Integer... 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(Boolean lowerInclusive, Boolean upperInclusive) { - return fetchRange(Dataset.DATASET.IS_PUBLIC, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have is_public IN (values) - */ - public List fetchByIsPublic(Boolean... 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); - } - - /** - * Fetch records that have is_downloadable BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIsDownloadable(Boolean lowerInclusive, Boolean upperInclusive) { - return fetchRange(Dataset.DATASET.IS_DOWNLOADABLE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have is_downloadable IN (values) - */ - public List fetchByIsDownloadable(Boolean... values) { - return fetch(Dataset.DATASET.IS_DOWNLOADABLE, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetUserAccessDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetUserAccessDao.java deleted file mode 100644 index 74df1ac04a4..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetUserAccessDao.java +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetUserAccess; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.DatasetUserAccessRecord; - -import java.util.List; - -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DatasetUserAccessDao extends DAOImpl> { - - /** - * Create a new DatasetUserAccessDao without any configuration - */ - public DatasetUserAccessDao() { - super(DatasetUserAccess.DATASET_USER_ACCESS, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.DatasetUserAccess.class); - } - - /** - * Create a new DatasetUserAccessDao with an attached configuration - */ - public DatasetUserAccessDao(Configuration configuration) { - super(DatasetUserAccess.DATASET_USER_ACCESS, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.DatasetUserAccess.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.DatasetUserAccess object) { - return compositeKeyRecord(object.getDid(), object.getUid()); - } - - /** - * Fetch records that have did BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfDid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(DatasetUserAccess.DATASET_USER_ACCESS.DID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have did IN (values) - */ - public List fetchByDid(Integer... values) { - return fetch(DatasetUserAccess.DATASET_USER_ACCESS.DID, values); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(DatasetUserAccess.DATASET_USER_ACCESS.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(Integer... values) { - return fetch(DatasetUserAccess.DATASET_USER_ACCESS.UID, values); - } - - /** - * Fetch records that have privilege BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfPrivilege(PrivilegeEnum lowerInclusive, PrivilegeEnum upperInclusive) { - return fetchRange(DatasetUserAccess.DATASET_USER_ACCESS.PRIVILEGE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have privilege IN (values) - */ - public List fetchByPrivilege(PrivilegeEnum... values) { - return fetch(DatasetUserAccess.DATASET_USER_ACCESS.PRIVILEGE, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetUserLikesDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetUserLikesDao.java deleted file mode 100644 index ca29cb3b21f..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetUserLikesDao.java +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetUserLikes; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.DatasetUserLikesRecord; - -import java.util.List; - -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DatasetUserLikesDao extends DAOImpl> { - - /** - * Create a new DatasetUserLikesDao without any configuration - */ - public DatasetUserLikesDao() { - super(DatasetUserLikes.DATASET_USER_LIKES, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.DatasetUserLikes.class); - } - - /** - * Create a new DatasetUserLikesDao with an attached configuration - */ - public DatasetUserLikesDao(Configuration configuration) { - super(DatasetUserLikes.DATASET_USER_LIKES, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.DatasetUserLikes.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.DatasetUserLikes object) { - return compositeKeyRecord(object.getUid(), object.getDid()); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(DatasetUserLikes.DATASET_USER_LIKES.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(Integer... values) { - return fetch(DatasetUserLikes.DATASET_USER_LIKES.UID, values); - } - - /** - * Fetch records that have did BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfDid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(DatasetUserLikes.DATASET_USER_LIKES.DID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have did IN (values) - */ - public List fetchByDid(Integer... values) { - return fetch(DatasetUserLikes.DATASET_USER_LIKES.DID, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetVersionDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetVersionDao.java deleted file mode 100644 index 65b809b19e5..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetVersionDao.java +++ /dev/null @@ -1,163 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetVersion; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.DatasetVersionRecord; - -import java.sql.Timestamp; -import java.util.List; -import java.util.Optional; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; - - -/** - * 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.dao.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.dao.jooq.generated.tables.pojos.DatasetVersion.class, configuration); - } - - @Override - public Integer getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.DatasetVersion object) { - return object.getDvid(); - } - - /** - * Fetch records that have dvid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfDvid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(DatasetVersion.DATASET_VERSION.DVID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have dvid IN (values) - */ - public List fetchByDvid(Integer... values) { - return fetch(DatasetVersion.DATASET_VERSION.DVID, values); - } - - /** - * Fetch a unique record that has dvid = value - */ - public edu.uci.ics.texera.dao.jooq.generated.tables.pojos.DatasetVersion fetchOneByDvid(Integer value) { - return fetchOne(DatasetVersion.DATASET_VERSION.DVID, value); - } - - /** - * Fetch a unique record that has dvid = value - */ - public Optional fetchOptionalByDvid(Integer value) { - return fetchOptional(DatasetVersion.DATASET_VERSION.DVID, value); - } - - /** - * Fetch records that have did BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfDid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(DatasetVersion.DATASET_VERSION.DID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have did IN (values) - */ - public List fetchByDid(Integer... values) { - return fetch(DatasetVersion.DATASET_VERSION.DID, values); - } - - /** - * Fetch records that have creator_uid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCreatorUid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(DatasetVersion.DATASET_VERSION.CREATOR_UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have creator_uid IN (values) - */ - public List fetchByCreatorUid(Integer... 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/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetViewCountDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetViewCountDao.java deleted file mode 100644 index f4a10a88f06..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/DatasetViewCountDao.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetViewCount; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.DatasetViewCountRecord; - -import java.util.List; -import java.util.Optional; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DatasetViewCountDao extends DAOImpl { - - /** - * Create a new DatasetViewCountDao without any configuration - */ - public DatasetViewCountDao() { - super(DatasetViewCount.DATASET_VIEW_COUNT, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.DatasetViewCount.class); - } - - /** - * Create a new DatasetViewCountDao with an attached configuration - */ - public DatasetViewCountDao(Configuration configuration) { - super(DatasetViewCount.DATASET_VIEW_COUNT, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.DatasetViewCount.class, configuration); - } - - @Override - public Integer getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.DatasetViewCount object) { - return object.getDid(); - } - - /** - * Fetch records that have did BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfDid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(DatasetViewCount.DATASET_VIEW_COUNT.DID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have did IN (values) - */ - public List fetchByDid(Integer... values) { - return fetch(DatasetViewCount.DATASET_VIEW_COUNT.DID, values); - } - - /** - * Fetch a unique record that has did = value - */ - public edu.uci.ics.texera.dao.jooq.generated.tables.pojos.DatasetViewCount fetchOneByDid(Integer value) { - return fetchOne(DatasetViewCount.DATASET_VIEW_COUNT.DID, value); - } - - /** - * Fetch a unique record that has did = value - */ - public Optional fetchOptionalByDid(Integer value) { - return fetchOptional(DatasetViewCount.DATASET_VIEW_COUNT.DID, value); - } - - /** - * Fetch records that have view_count BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfViewCount(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(DatasetViewCount.DATASET_VIEW_COUNT.VIEW_COUNT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have view_count IN (values) - */ - public List fetchByViewCount(Integer... values) { - return fetch(DatasetViewCount.DATASET_VIEW_COUNT.VIEW_COUNT, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/OperatorExecutionsDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/OperatorExecutionsDao.java deleted file mode 100644 index 9a1acf08e4a..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/OperatorExecutionsDao.java +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.OperatorExecutions; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.OperatorExecutionsRecord; - -import java.util.List; - -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class OperatorExecutionsDao extends DAOImpl> { - - /** - * Create a new OperatorExecutionsDao without any configuration - */ - public OperatorExecutionsDao() { - super(OperatorExecutions.OPERATOR_EXECUTIONS, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.OperatorExecutions.class); - } - - /** - * Create a new OperatorExecutionsDao with an attached configuration - */ - public OperatorExecutionsDao(Configuration configuration) { - super(OperatorExecutions.OPERATOR_EXECUTIONS, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.OperatorExecutions.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.OperatorExecutions object) { - return compositeKeyRecord(object.getWorkflowExecutionId(), object.getOperatorId()); - } - - /** - * Fetch records that have workflow_execution_id BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfWorkflowExecutionId(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(OperatorExecutions.OPERATOR_EXECUTIONS.WORKFLOW_EXECUTION_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have workflow_execution_id IN (values) - */ - public List fetchByWorkflowExecutionId(Integer... values) { - return fetch(OperatorExecutions.OPERATOR_EXECUTIONS.WORKFLOW_EXECUTION_ID, values); - } - - /** - * Fetch records that have operator_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfOperatorId(String lowerInclusive, String upperInclusive) { - return fetchRange(OperatorExecutions.OPERATOR_EXECUTIONS.OPERATOR_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have operator_id IN (values) - */ - public List fetchByOperatorId(String... values) { - return fetch(OperatorExecutions.OPERATOR_EXECUTIONS.OPERATOR_ID, values); - } - - /** - * Fetch records that have console_messages_uri BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfConsoleMessagesUri(String lowerInclusive, String upperInclusive) { - return fetchRange(OperatorExecutions.OPERATOR_EXECUTIONS.CONSOLE_MESSAGES_URI, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have console_messages_uri IN (values) - */ - public List fetchByConsoleMessagesUri(String... values) { - return fetch(OperatorExecutions.OPERATOR_EXECUTIONS.CONSOLE_MESSAGES_URI, values); - } - - /** - * Fetch records that have console_messages_size BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfConsoleMessagesSize(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(OperatorExecutions.OPERATOR_EXECUTIONS.CONSOLE_MESSAGES_SIZE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have console_messages_size IN (values) - */ - public List fetchByConsoleMessagesSize(Integer... values) { - return fetch(OperatorExecutions.OPERATOR_EXECUTIONS.CONSOLE_MESSAGES_SIZE, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/OperatorPortExecutionsDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/OperatorPortExecutionsDao.java deleted file mode 100644 index cd5c1365111..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/OperatorPortExecutionsDao.java +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.OperatorPortExecutions; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.OperatorPortExecutionsRecord; - -import java.util.List; - -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class OperatorPortExecutionsDao extends DAOImpl> { - - /** - * Create a new OperatorPortExecutionsDao without any configuration - */ - public OperatorPortExecutionsDao() { - super(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.OperatorPortExecutions.class); - } - - /** - * Create a new OperatorPortExecutionsDao with an attached configuration - */ - public OperatorPortExecutionsDao(Configuration configuration) { - super(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.OperatorPortExecutions.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.OperatorPortExecutions object) { - return compositeKeyRecord(object.getWorkflowExecutionId(), object.getGlobalPortId()); - } - - /** - * Fetch records that have workflow_execution_id BETWEEN - * lowerInclusive AND upperInclusive - */ - public List fetchRangeOfWorkflowExecutionId(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.WORKFLOW_EXECUTION_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have workflow_execution_id IN (values) - */ - public List fetchByWorkflowExecutionId(Integer... values) { - return fetch(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.WORKFLOW_EXECUTION_ID, values); - } - - /** - * Fetch records that have global_port_id BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfGlobalPortId(String lowerInclusive, String upperInclusive) { - return fetchRange(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.GLOBAL_PORT_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have global_port_id IN (values) - */ - public List fetchByGlobalPortId(String... values) { - return fetch(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.GLOBAL_PORT_ID, values); - } - - /** - * Fetch records that have result_uri BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfResultUri(String lowerInclusive, String upperInclusive) { - return fetchRange(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.RESULT_URI, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have result_uri IN (values) - */ - public List fetchByResultUri(String... values) { - return fetch(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.RESULT_URI, values); - } - - /** - * Fetch records that have result_size BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfResultSize(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.RESULT_SIZE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have result_size IN (values) - */ - public List fetchByResultSize(Integer... values) { - return fetch(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.RESULT_SIZE, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/ProjectDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/ProjectDao.java deleted file mode 100644 index 5c35da3315a..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/ProjectDao.java +++ /dev/null @@ -1,163 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.Project; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.ProjectRecord; - -import java.sql.Timestamp; -import java.util.List; -import java.util.Optional; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; - - -/** - * 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.dao.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.dao.jooq.generated.tables.pojos.Project.class, configuration); - } - - @Override - public Integer getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.Project object) { - return object.getPid(); - } - - /** - * Fetch records that have pid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfPid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(Project.PROJECT.PID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have pid IN (values) - */ - public List fetchByPid(Integer... values) { - return fetch(Project.PROJECT.PID, values); - } - - /** - * Fetch a unique record that has pid = value - */ - public edu.uci.ics.texera.dao.jooq.generated.tables.pojos.Project fetchOneByPid(Integer value) { - return fetchOne(Project.PROJECT.PID, value); - } - - /** - * Fetch a unique record that has pid = value - */ - public Optional fetchOptionalByPid(Integer value) { - return fetchOptional(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(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(Project.PROJECT.OWNER_ID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have owner_id IN (values) - */ - public List fetchByOwnerId(Integer... 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/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/ProjectUserAccessDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/ProjectUserAccessDao.java deleted file mode 100644 index 0a24e4d38bf..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/ProjectUserAccessDao.java +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.ProjectUserAccess; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.ProjectUserAccessRecord; - -import java.util.List; - -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ProjectUserAccessDao extends DAOImpl> { - - /** - * Create a new ProjectUserAccessDao without any configuration - */ - public ProjectUserAccessDao() { - super(ProjectUserAccess.PROJECT_USER_ACCESS, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.ProjectUserAccess.class); - } - - /** - * Create a new ProjectUserAccessDao with an attached configuration - */ - public ProjectUserAccessDao(Configuration configuration) { - super(ProjectUserAccess.PROJECT_USER_ACCESS, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.ProjectUserAccess.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.ProjectUserAccess object) { - return compositeKeyRecord(object.getUid(), object.getPid()); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(ProjectUserAccess.PROJECT_USER_ACCESS.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(Integer... values) { - return fetch(ProjectUserAccess.PROJECT_USER_ACCESS.UID, values); - } - - /** - * Fetch records that have pid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfPid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(ProjectUserAccess.PROJECT_USER_ACCESS.PID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have pid IN (values) - */ - public List fetchByPid(Integer... values) { - return fetch(ProjectUserAccess.PROJECT_USER_ACCESS.PID, values); - } - - /** - * Fetch records that have privilege BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfPrivilege(PrivilegeEnum lowerInclusive, PrivilegeEnum upperInclusive) { - return fetchRange(ProjectUserAccess.PROJECT_USER_ACCESS.PRIVILEGE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have privilege IN (values) - */ - public List fetchByPrivilege(PrivilegeEnum... values) { - return fetch(ProjectUserAccess.PROJECT_USER_ACCESS.PRIVILEGE, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/PublicProjectDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/PublicProjectDao.java deleted file mode 100644 index b9584f2ccb7..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/PublicProjectDao.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.PublicProject; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.PublicProjectRecord; - -import java.util.List; -import java.util.Optional; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; - - -/** - * 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.dao.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.dao.jooq.generated.tables.pojos.PublicProject.class, configuration); - } - - @Override - public Integer getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.PublicProject object) { - return object.getPid(); - } - - /** - * Fetch records that have pid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfPid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(PublicProject.PUBLIC_PROJECT.PID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have pid IN (values) - */ - public List fetchByPid(Integer... values) { - return fetch(PublicProject.PUBLIC_PROJECT.PID, values); - } - - /** - * Fetch a unique record that has pid = value - */ - public edu.uci.ics.texera.dao.jooq.generated.tables.pojos.PublicProject fetchOneByPid(Integer value) { - return fetchOne(PublicProject.PUBLIC_PROJECT.PID, value); - } - - /** - * Fetch a unique record that has pid = value - */ - public Optional fetchOptionalByPid(Integer value) { - return fetchOptional(PublicProject.PUBLIC_PROJECT.PID, value); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(PublicProject.PUBLIC_PROJECT.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(Integer... values) { - return fetch(PublicProject.PUBLIC_PROJECT.UID, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/SiteSettingsDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/SiteSettingsDao.java deleted file mode 100644 index 1648f6ebb50..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/SiteSettingsDao.java +++ /dev/null @@ -1,133 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.SiteSettings; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.SiteSettingsRecord; - -import java.sql.Timestamp; -import java.util.List; -import java.util.Optional; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SiteSettingsDao extends DAOImpl { - - /** - * Create a new SiteSettingsDao without any configuration - */ - public SiteSettingsDao() { - super(SiteSettings.SITE_SETTINGS, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.SiteSettings.class); - } - - /** - * Create a new SiteSettingsDao with an attached configuration - */ - public SiteSettingsDao(Configuration configuration) { - super(SiteSettings.SITE_SETTINGS, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.SiteSettings.class, configuration); - } - - @Override - public String getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.SiteSettings object) { - return object.getKey(); - } - - /** - * Fetch records that have key BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfKey(String lowerInclusive, String upperInclusive) { - return fetchRange(SiteSettings.SITE_SETTINGS.KEY, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have key IN (values) - */ - public List fetchByKey(String... values) { - return fetch(SiteSettings.SITE_SETTINGS.KEY, values); - } - - /** - * Fetch a unique record that has key = value - */ - public edu.uci.ics.texera.dao.jooq.generated.tables.pojos.SiteSettings fetchOneByKey(String value) { - return fetchOne(SiteSettings.SITE_SETTINGS.KEY, value); - } - - /** - * Fetch a unique record that has key = value - */ - public Optional fetchOptionalByKey(String value) { - return fetchOptional(SiteSettings.SITE_SETTINGS.KEY, value); - } - - /** - * Fetch records that have value BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfValue(String lowerInclusive, String upperInclusive) { - return fetchRange(SiteSettings.SITE_SETTINGS.VALUE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have value IN (values) - */ - public List fetchByValue(String... values) { - return fetch(SiteSettings.SITE_SETTINGS.VALUE, values); - } - - /** - * Fetch records that have updated_by BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUpdatedBy(String lowerInclusive, String upperInclusive) { - return fetchRange(SiteSettings.SITE_SETTINGS.UPDATED_BY, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have updated_by IN (values) - */ - public List fetchByUpdatedBy(String... values) { - return fetch(SiteSettings.SITE_SETTINGS.UPDATED_BY, values); - } - - /** - * Fetch records that have updated_at BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUpdatedAt(Timestamp lowerInclusive, Timestamp upperInclusive) { - return fetchRange(SiteSettings.SITE_SETTINGS.UPDATED_AT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have updated_at IN (values) - */ - public List fetchByUpdatedAt(Timestamp... values) { - return fetch(SiteSettings.SITE_SETTINGS.UPDATED_AT, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/TimeLogDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/TimeLogDao.java deleted file mode 100644 index 48e90b8a359..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/TimeLogDao.java +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.TimeLog; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.TimeLogRecord; - -import java.time.OffsetDateTime; -import java.util.List; -import java.util.Optional; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class TimeLogDao extends DAOImpl { - - /** - * Create a new TimeLogDao without any configuration - */ - public TimeLogDao() { - super(TimeLog.TIME_LOG, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.TimeLog.class); - } - - /** - * Create a new TimeLogDao with an attached configuration - */ - public TimeLogDao(Configuration configuration) { - super(TimeLog.TIME_LOG, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.TimeLog.class, configuration); - } - - @Override - public Integer getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.TimeLog object) { - return object.getUid(); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(TimeLog.TIME_LOG.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(Integer... values) { - return fetch(TimeLog.TIME_LOG.UID, values); - } - - /** - * Fetch a unique record that has uid = value - */ - public edu.uci.ics.texera.dao.jooq.generated.tables.pojos.TimeLog fetchOneByUid(Integer value) { - return fetchOne(TimeLog.TIME_LOG.UID, value); - } - - /** - * Fetch a unique record that has uid = value - */ - public Optional fetchOptionalByUid(Integer value) { - return fetchOptional(TimeLog.TIME_LOG.UID, value); - } - - /** - * Fetch records that have last_login BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfLastLogin(OffsetDateTime lowerInclusive, OffsetDateTime upperInclusive) { - return fetchRange(TimeLog.TIME_LOG.LAST_LOGIN, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have last_login IN (values) - */ - public List fetchByLastLogin(OffsetDateTime... values) { - return fetch(TimeLog.TIME_LOG.LAST_LOGIN, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/UserConfigDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/UserConfigDao.java deleted file mode 100644 index 77ab654f2ac..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/UserConfigDao.java +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.UserConfig; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.UserConfigRecord; - -import java.util.List; - -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class UserConfigDao extends DAOImpl> { - - /** - * Create a new UserConfigDao without any configuration - */ - public UserConfigDao() { - super(UserConfig.USER_CONFIG, edu.uci.ics.texera.dao.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.dao.jooq.generated.tables.pojos.UserConfig.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.UserConfig object) { - return compositeKeyRecord(object.getUid(), object.getKey()); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(UserConfig.USER_CONFIG.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(Integer... 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/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/UserDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/UserDao.java deleted file mode 100644 index 12d54aeb835..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/UserDao.java +++ /dev/null @@ -1,221 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.UserRoleEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.User; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.UserRecord; - -import java.util.List; -import java.util.Optional; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; - - -/** - * 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.dao.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.dao.jooq.generated.tables.pojos.User.class, configuration); - } - - @Override - public Integer getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User object) { - return object.getUid(); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(User.USER.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(Integer... values) { - return fetch(User.USER.UID, values); - } - - /** - * Fetch a unique record that has uid = value - */ - public edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User fetchOneByUid(Integer value) { - return fetchOne(User.USER.UID, value); - } - - /** - * Fetch a unique record that has uid = value - */ - public Optional fetchOptionalByUid(Integer value) { - return fetchOptional(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.dao.jooq.generated.tables.pojos.User fetchOneByEmail(String value) { - return fetchOne(User.USER.EMAIL, value); - } - - /** - * Fetch a unique record that has email = value - */ - public Optional fetchOptionalByEmail(String value) { - return fetchOptional(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.dao.jooq.generated.tables.pojos.User fetchOneByGoogleId(String value) { - return fetchOne(User.USER.GOOGLE_ID, value); - } - - /** - * Fetch a unique record that has google_id = value - */ - public Optional fetchOptionalByGoogleId(String value) { - return fetchOptional(User.USER.GOOGLE_ID, value); - } - - /** - * 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); - } - - /** - * Fetch records that have role BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfRole(UserRoleEnum lowerInclusive, UserRoleEnum upperInclusive) { - return fetchRange(User.USER.ROLE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have role IN (values) - */ - public List fetchByRole(UserRoleEnum... values) { - return fetch(User.USER.ROLE, values); - } - - /** - * Fetch records that have comment BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfComment(String lowerInclusive, String upperInclusive) { - return fetchRange(User.USER.COMMENT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have comment IN (values) - */ - public List fetchByComment(String... values) { - return fetch(User.USER.COMMENT, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowComputingUnitDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowComputingUnitDao.java deleted file mode 100644 index b044806fc75..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowComputingUnitDao.java +++ /dev/null @@ -1,194 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.WorkflowComputingUnitTypeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowComputingUnit; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowComputingUnitRecord; - -import java.sql.Timestamp; -import java.util.List; -import java.util.Optional; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowComputingUnitDao extends DAOImpl { - - /** - * Create a new WorkflowComputingUnitDao without any configuration - */ - public WorkflowComputingUnitDao() { - super(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit.class); - } - - /** - * Create a new WorkflowComputingUnitDao with an attached configuration - */ - public WorkflowComputingUnitDao(Configuration configuration) { - super(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit.class, configuration); - } - - @Override - public Integer getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit object) { - return object.getCuid(); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(Integer... values) { - return fetch(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.UID, values); - } - - /** - * Fetch records that have name BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfName(String lowerInclusive, String upperInclusive) { - return fetchRange(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.NAME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have name IN (values) - */ - public List fetchByName(String... values) { - return fetch(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.NAME, values); - } - - /** - * Fetch records that have cuid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCuid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CUID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have cuid IN (values) - */ - public List fetchByCuid(Integer... values) { - return fetch(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CUID, values); - } - - /** - * Fetch a unique record that has cuid = value - */ - public edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit fetchOneByCuid(Integer value) { - return fetchOne(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CUID, value); - } - - /** - * Fetch a unique record that has cuid = value - */ - public Optional fetchOptionalByCuid(Integer value) { - return fetchOptional(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CUID, value); - } - - /** - * Fetch records that have creation_time BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCreationTime(Timestamp lowerInclusive, Timestamp upperInclusive) { - return fetchRange(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CREATION_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have creation_time IN (values) - */ - public List fetchByCreationTime(Timestamp... values) { - return fetch(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CREATION_TIME, values); - } - - /** - * Fetch records that have terminate_time BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfTerminateTime(Timestamp lowerInclusive, Timestamp upperInclusive) { - return fetchRange(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.TERMINATE_TIME, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have terminate_time IN (values) - */ - public List fetchByTerminateTime(Timestamp... values) { - return fetch(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.TERMINATE_TIME, values); - } - - /** - * Fetch records that have type BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfType(WorkflowComputingUnitTypeEnum lowerInclusive, WorkflowComputingUnitTypeEnum upperInclusive) { - return fetchRange(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.TYPE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have type IN (values) - */ - public List fetchByType(WorkflowComputingUnitTypeEnum... values) { - return fetch(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.TYPE, values); - } - - /** - * Fetch records that have uri BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUri(String lowerInclusive, String upperInclusive) { - return fetchRange(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.URI, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uri IN (values) - */ - public List fetchByUri(String... values) { - return fetch(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.URI, values); - } - - /** - * Fetch records that have resource BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfResource(String lowerInclusive, String upperInclusive) { - return fetchRange(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.RESOURCE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have resource IN (values) - */ - public List fetchByResource(String... values) { - return fetch(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.RESOURCE, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowDao.java deleted file mode 100644 index 60c93d7ccac..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowDao.java +++ /dev/null @@ -1,178 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.Workflow; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowRecord; - -import java.sql.Timestamp; -import java.util.List; -import java.util.Optional; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; - - -/** - * 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.dao.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.dao.jooq.generated.tables.pojos.Workflow.class, configuration); - } - - @Override - public Integer getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.Workflow object) { - return object.getWid(); - } - - /** - * Fetch records that have wid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfWid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(Workflow.WORKFLOW.WID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wid IN (values) - */ - public List fetchByWid(Integer... values) { - return fetch(Workflow.WORKFLOW.WID, values); - } - - /** - * Fetch a unique record that has wid = value - */ - public edu.uci.ics.texera.dao.jooq.generated.tables.pojos.Workflow fetchOneByWid(Integer value) { - return fetchOne(Workflow.WORKFLOW.WID, value); - } - - /** - * Fetch a unique record that has wid = value - */ - public Optional fetchOptionalByWid(Integer value) { - return fetchOptional(Workflow.WORKFLOW.WID, value); - } - - /** - * 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 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_public BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfIsPublic(Boolean lowerInclusive, Boolean upperInclusive) { - return fetchRange(Workflow.WORKFLOW.IS_PUBLIC, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have is_public IN (values) - */ - public List fetchByIsPublic(Boolean... values) { - return fetch(Workflow.WORKFLOW.IS_PUBLIC, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowExecutionsDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowExecutionsDao.java deleted file mode 100644 index 076c9c076a1..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowExecutionsDao.java +++ /dev/null @@ -1,283 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowExecutions; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowExecutionsRecord; - -import java.sql.Timestamp; -import java.util.List; -import java.util.Optional; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; - - -/** - * 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.dao.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.dao.jooq.generated.tables.pojos.WorkflowExecutions.class, configuration); - } - - @Override - public Integer getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions object) { - return object.getEid(); - } - - /** - * Fetch records that have eid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfEid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.EID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have eid IN (values) - */ - public List fetchByEid(Integer... values) { - return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.EID, values); - } - - /** - * Fetch a unique record that has eid = value - */ - public edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions fetchOneByEid(Integer value) { - return fetchOne(WorkflowExecutions.WORKFLOW_EXECUTIONS.EID, value); - } - - /** - * Fetch a unique record that has eid = value - */ - public Optional fetchOptionalByEid(Integer value) { - return fetchOptional(WorkflowExecutions.WORKFLOW_EXECUTIONS.EID, value); - } - - /** - * Fetch records that have vid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfVid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.VID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have vid IN (values) - */ - public List fetchByVid(Integer... values) { - return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.VID, values); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(Integer... values) { - return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.UID, values); - } - - /** - * Fetch records that have cuid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfCuid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.CUID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have cuid IN (values) - */ - public List fetchByCuid(Integer... values) { - return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.CUID, values); - } - - /** - * Fetch records that have status BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfStatus(Short lowerInclusive, Short upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.STATUS, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have status IN (values) - */ - public List fetchByStatus(Short... 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(Boolean lowerInclusive, Boolean upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.BOOKMARKED, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have bookmarked IN (values) - */ - public List fetchByBookmarked(Boolean... 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); - } - - /** - * Fetch records that have runtime_stats_uri BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfRuntimeStatsUri(String lowerInclusive, String upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.RUNTIME_STATS_URI, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have runtime_stats_uri IN (values) - */ - public List fetchByRuntimeStatsUri(String... values) { - return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.RUNTIME_STATS_URI, values); - } - - /** - * Fetch records that have runtime_stats_size BETWEEN lowerInclusive - * AND upperInclusive - */ - public List fetchRangeOfRuntimeStatsSize(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowExecutions.WORKFLOW_EXECUTIONS.RUNTIME_STATS_SIZE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have runtime_stats_size IN (values) - */ - public List fetchByRuntimeStatsSize(Integer... values) { - return fetch(WorkflowExecutions.WORKFLOW_EXECUTIONS.RUNTIME_STATS_SIZE, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowOfProjectDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowOfProjectDao.java deleted file mode 100644 index a462faaa783..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowOfProjectDao.java +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowOfProject; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowOfProjectRecord; - -import java.util.List; - -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowOfProjectDao extends DAOImpl> { - - /** - * Create a new WorkflowOfProjectDao without any configuration - */ - public WorkflowOfProjectDao() { - super(WorkflowOfProject.WORKFLOW_OF_PROJECT, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowOfProject.class); - } - - /** - * Create a new WorkflowOfProjectDao with an attached configuration - */ - public WorkflowOfProjectDao(Configuration configuration) { - super(WorkflowOfProject.WORKFLOW_OF_PROJECT, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowOfProject.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowOfProject object) { - return compositeKeyRecord(object.getWid(), object.getPid()); - } - - /** - * Fetch records that have wid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfWid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowOfProject.WORKFLOW_OF_PROJECT.WID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wid IN (values) - */ - public List fetchByWid(Integer... values) { - return fetch(WorkflowOfProject.WORKFLOW_OF_PROJECT.WID, values); - } - - /** - * Fetch records that have pid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfPid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowOfProject.WORKFLOW_OF_PROJECT.PID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have pid IN (values) - */ - public List fetchByPid(Integer... values) { - return fetch(WorkflowOfProject.WORKFLOW_OF_PROJECT.PID, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowOfUserDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowOfUserDao.java deleted file mode 100644 index ee797d8844b..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowOfUserDao.java +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowOfUser; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowOfUserRecord; - -import java.util.List; - -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowOfUserDao extends DAOImpl> { - - /** - * Create a new WorkflowOfUserDao without any configuration - */ - public WorkflowOfUserDao() { - super(WorkflowOfUser.WORKFLOW_OF_USER, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowOfUser.class); - } - - /** - * Create a new WorkflowOfUserDao with an attached configuration - */ - public WorkflowOfUserDao(Configuration configuration) { - super(WorkflowOfUser.WORKFLOW_OF_USER, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowOfUser.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowOfUser object) { - return compositeKeyRecord(object.getUid(), object.getWid()); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowOfUser.WORKFLOW_OF_USER.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(Integer... values) { - return fetch(WorkflowOfUser.WORKFLOW_OF_USER.UID, values); - } - - /** - * Fetch records that have wid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfWid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowOfUser.WORKFLOW_OF_USER.WID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wid IN (values) - */ - public List fetchByWid(Integer... values) { - return fetch(WorkflowOfUser.WORKFLOW_OF_USER.WID, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowUserAccessDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowUserAccessDao.java deleted file mode 100644 index 4454271c1d9..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowUserAccessDao.java +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowUserAccess; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowUserAccessRecord; - -import java.util.List; - -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowUserAccessDao extends DAOImpl> { - - /** - * Create a new WorkflowUserAccessDao without any configuration - */ - public WorkflowUserAccessDao() { - super(WorkflowUserAccess.WORKFLOW_USER_ACCESS, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowUserAccess.class); - } - - /** - * Create a new WorkflowUserAccessDao with an attached configuration - */ - public WorkflowUserAccessDao(Configuration configuration) { - super(WorkflowUserAccess.WORKFLOW_USER_ACCESS, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowUserAccess.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowUserAccess object) { - return compositeKeyRecord(object.getUid(), object.getWid()); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowUserAccess.WORKFLOW_USER_ACCESS.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(Integer... values) { - return fetch(WorkflowUserAccess.WORKFLOW_USER_ACCESS.UID, values); - } - - /** - * Fetch records that have wid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfWid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wid IN (values) - */ - public List fetchByWid(Integer... values) { - return fetch(WorkflowUserAccess.WORKFLOW_USER_ACCESS.WID, values); - } - - /** - * Fetch records that have privilege BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfPrivilege(PrivilegeEnum lowerInclusive, PrivilegeEnum upperInclusive) { - return fetchRange(WorkflowUserAccess.WORKFLOW_USER_ACCESS.PRIVILEGE, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have privilege IN (values) - */ - public List fetchByPrivilege(PrivilegeEnum... values) { - return fetch(WorkflowUserAccess.WORKFLOW_USER_ACCESS.PRIVILEGE, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowUserClonesDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowUserClonesDao.java deleted file mode 100644 index 9935d11d19a..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowUserClonesDao.java +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowUserClones; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowUserClonesRecord; - -import java.util.List; - -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowUserClonesDao extends DAOImpl> { - - /** - * Create a new WorkflowUserClonesDao without any configuration - */ - public WorkflowUserClonesDao() { - super(WorkflowUserClones.WORKFLOW_USER_CLONES, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowUserClones.class); - } - - /** - * Create a new WorkflowUserClonesDao with an attached configuration - */ - public WorkflowUserClonesDao(Configuration configuration) { - super(WorkflowUserClones.WORKFLOW_USER_CLONES, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowUserClones.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowUserClones object) { - return compositeKeyRecord(object.getUid(), object.getWid()); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowUserClones.WORKFLOW_USER_CLONES.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(Integer... values) { - return fetch(WorkflowUserClones.WORKFLOW_USER_CLONES.UID, values); - } - - /** - * Fetch records that have wid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfWid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowUserClones.WORKFLOW_USER_CLONES.WID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wid IN (values) - */ - public List fetchByWid(Integer... values) { - return fetch(WorkflowUserClones.WORKFLOW_USER_CLONES.WID, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowUserLikesDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowUserLikesDao.java deleted file mode 100644 index 5324b86b3d7..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowUserLikesDao.java +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowUserLikes; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowUserLikesRecord; - -import java.util.List; - -import org.jooq.Configuration; -import org.jooq.Record2; -import org.jooq.impl.DAOImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowUserLikesDao extends DAOImpl> { - - /** - * Create a new WorkflowUserLikesDao without any configuration - */ - public WorkflowUserLikesDao() { - super(WorkflowUserLikes.WORKFLOW_USER_LIKES, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowUserLikes.class); - } - - /** - * Create a new WorkflowUserLikesDao with an attached configuration - */ - public WorkflowUserLikesDao(Configuration configuration) { - super(WorkflowUserLikes.WORKFLOW_USER_LIKES, edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowUserLikes.class, configuration); - } - - @Override - public Record2 getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowUserLikes object) { - return compositeKeyRecord(object.getUid(), object.getWid()); - } - - /** - * Fetch records that have uid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfUid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowUserLikes.WORKFLOW_USER_LIKES.UID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have uid IN (values) - */ - public List fetchByUid(Integer... values) { - return fetch(WorkflowUserLikes.WORKFLOW_USER_LIKES.UID, values); - } - - /** - * Fetch records that have wid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfWid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowUserLikes.WORKFLOW_USER_LIKES.WID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wid IN (values) - */ - public List fetchByWid(Integer... values) { - return fetch(WorkflowUserLikes.WORKFLOW_USER_LIKES.WID, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowVersionDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowVersionDao.java deleted file mode 100644 index d8dc91296f1..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowVersionDao.java +++ /dev/null @@ -1,133 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowVersion; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowVersionRecord; - -import java.sql.Timestamp; -import java.util.List; -import java.util.Optional; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; - - -/** - * 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.dao.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.dao.jooq.generated.tables.pojos.WorkflowVersion.class, configuration); - } - - @Override - public Integer getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowVersion object) { - return object.getVid(); - } - - /** - * Fetch records that have vid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfVid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowVersion.WORKFLOW_VERSION.VID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have vid IN (values) - */ - public List fetchByVid(Integer... values) { - return fetch(WorkflowVersion.WORKFLOW_VERSION.VID, values); - } - - /** - * Fetch a unique record that has vid = value - */ - public edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowVersion fetchOneByVid(Integer value) { - return fetchOne(WorkflowVersion.WORKFLOW_VERSION.VID, value); - } - - /** - * Fetch a unique record that has vid = value - */ - public Optional fetchOptionalByVid(Integer value) { - return fetchOptional(WorkflowVersion.WORKFLOW_VERSION.VID, value); - } - - /** - * Fetch records that have wid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfWid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowVersion.WORKFLOW_VERSION.WID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wid IN (values) - */ - public List fetchByWid(Integer... 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/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowViewCountDao.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowViewCountDao.java deleted file mode 100644 index 86c5e408a02..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/daos/WorkflowViewCountDao.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.daos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowViewCount; -import edu.uci.ics.texera.dao.jooq.generated.tables.records.WorkflowViewCountRecord; - -import java.util.List; -import java.util.Optional; - -import org.jooq.Configuration; -import org.jooq.impl.DAOImpl; - - -/** - * 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.dao.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.dao.jooq.generated.tables.pojos.WorkflowViewCount.class, configuration); - } - - @Override - public Integer getId(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowViewCount object) { - return object.getWid(); - } - - /** - * Fetch records that have wid BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfWid(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have wid IN (values) - */ - public List fetchByWid(Integer... values) { - return fetch(WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID, values); - } - - /** - * Fetch a unique record that has wid = value - */ - public edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowViewCount fetchOneByWid(Integer value) { - return fetchOne(WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID, value); - } - - /** - * Fetch a unique record that has wid = value - */ - public Optional fetchOptionalByWid(Integer value) { - return fetchOptional(WorkflowViewCount.WORKFLOW_VIEW_COUNT.WID, value); - } - - /** - * Fetch records that have view_count BETWEEN lowerInclusive AND - * upperInclusive - */ - public List fetchRangeOfViewCount(Integer lowerInclusive, Integer upperInclusive) { - return fetchRange(WorkflowViewCount.WORKFLOW_VIEW_COUNT.VIEW_COUNT, lowerInclusive, upperInclusive); - } - - /** - * Fetch records that have view_count IN (values) - */ - public List fetchByViewCount(Integer... values) { - return fetch(WorkflowViewCount.WORKFLOW_VIEW_COUNT.VIEW_COUNT, values); - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IComputingUnitUserAccess.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IComputingUnitUserAccess.java deleted file mode 100644 index 1d410eb4ba9..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IComputingUnitUserAccess.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public interface IComputingUnitUserAccess extends Serializable { - - /** - * Setter for texera_db.computing_unit_user_access.cuid. - */ - public void setCuid(Integer value); - - /** - * Getter for texera_db.computing_unit_user_access.cuid. - */ - public Integer getCuid(); - - /** - * Setter for texera_db.computing_unit_user_access.uid. - */ - public void setUid(Integer value); - - /** - * Getter for texera_db.computing_unit_user_access.uid. - */ - public Integer getUid(); - - /** - * Setter for texera_db.computing_unit_user_access.privilege. - */ - public void setPrivilege(PrivilegeEnum value); - - /** - * Getter for texera_db.computing_unit_user_access.privilege. - */ - public PrivilegeEnum getPrivilege(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IComputingUnitUserAccess - */ - public void from(IComputingUnitUserAccess from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IComputingUnitUserAccess - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDataset.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDataset.java deleted file mode 100644 index cf07efa0948..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDataset.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import java.io.Serializable; -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public interface IDataset extends Serializable { - - /** - * Setter for texera_db.dataset.did. - */ - public void setDid(Integer value); - - /** - * Getter for texera_db.dataset.did. - */ - public Integer getDid(); - - /** - * Setter for texera_db.dataset.owner_uid. - */ - public void setOwnerUid(Integer value); - - /** - * Getter for texera_db.dataset.owner_uid. - */ - public Integer 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(Boolean value); - - /** - * Getter for texera_db.dataset.is_public. - */ - public Boolean 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(); - - /** - * Setter for texera_db.dataset.is_downloadable. - */ - public void setIsDownloadable(Boolean value); - - /** - * Getter for texera_db.dataset.is_downloadable. - */ - public Boolean getIsDownloadable(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IDataset - */ - public void from(IDataset from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IDataset - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDatasetUserAccess.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDatasetUserAccess.java deleted file mode 100644 index 57c7605a4df..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDatasetUserAccess.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; - -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(Integer value); - - /** - * Getter for texera_db.dataset_user_access.did. - */ - public Integer getDid(); - - /** - * Setter for texera_db.dataset_user_access.uid. - */ - public void setUid(Integer value); - - /** - * Getter for texera_db.dataset_user_access.uid. - */ - public Integer getUid(); - - /** - * Setter for texera_db.dataset_user_access.privilege. - */ - public void setPrivilege(PrivilegeEnum value); - - /** - * Getter for texera_db.dataset_user_access.privilege. - */ - public PrivilegeEnum getPrivilege(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IDatasetUserAccess - */ - public void from(IDatasetUserAccess from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IDatasetUserAccess - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDatasetUserLikes.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDatasetUserLikes.java deleted file mode 100644 index 4fbae3c545f..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDatasetUserLikes.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public interface IDatasetUserLikes extends Serializable { - - /** - * Setter for texera_db.dataset_user_likes.uid. - */ - public void setUid(Integer value); - - /** - * Getter for texera_db.dataset_user_likes.uid. - */ - public Integer getUid(); - - /** - * Setter for texera_db.dataset_user_likes.did. - */ - public void setDid(Integer value); - - /** - * Getter for texera_db.dataset_user_likes.did. - */ - public Integer getDid(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IDatasetUserLikes - */ - public void from(IDatasetUserLikes from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IDatasetUserLikes - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDatasetVersion.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDatasetVersion.java deleted file mode 100644 index fe03eca8410..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDatasetVersion.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import java.io.Serializable; -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public interface IDatasetVersion extends Serializable { - - /** - * Setter for texera_db.dataset_version.dvid. - */ - public void setDvid(Integer value); - - /** - * Getter for texera_db.dataset_version.dvid. - */ - public Integer getDvid(); - - /** - * Setter for texera_db.dataset_version.did. - */ - public void setDid(Integer value); - - /** - * Getter for texera_db.dataset_version.did. - */ - public Integer getDid(); - - /** - * Setter for texera_db.dataset_version.creator_uid. - */ - public void setCreatorUid(Integer value); - - /** - * Getter for texera_db.dataset_version.creator_uid. - */ - public Integer 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(IDatasetVersion from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IDatasetVersion - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDatasetViewCount.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDatasetViewCount.java deleted file mode 100644 index a7e91aea12d..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IDatasetViewCount.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public interface IDatasetViewCount extends Serializable { - - /** - * Setter for texera_db.dataset_view_count.did. - */ - public void setDid(Integer value); - - /** - * Getter for texera_db.dataset_view_count.did. - */ - public Integer getDid(); - - /** - * Setter for texera_db.dataset_view_count.view_count. - */ - public void setViewCount(Integer value); - - /** - * Getter for texera_db.dataset_view_count.view_count. - */ - public Integer getViewCount(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IDatasetViewCount - */ - public void from(IDatasetViewCount from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IDatasetViewCount - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IOperatorExecutions.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IOperatorExecutions.java deleted file mode 100644 index 1658361f4c4..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IOperatorExecutions.java +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public interface IOperatorExecutions extends Serializable { - - /** - * Setter for - * texera_db.operator_executions.workflow_execution_id. - */ - public void setWorkflowExecutionId(Integer value); - - /** - * Getter for - * texera_db.operator_executions.workflow_execution_id. - */ - public Integer getWorkflowExecutionId(); - - /** - * Setter for texera_db.operator_executions.operator_id. - */ - public void setOperatorId(String value); - - /** - * Getter for texera_db.operator_executions.operator_id. - */ - public String getOperatorId(); - - /** - * Setter for - * texera_db.operator_executions.console_messages_uri. - */ - public void setConsoleMessagesUri(String value); - - /** - * Getter for - * texera_db.operator_executions.console_messages_uri. - */ - public String getConsoleMessagesUri(); - - /** - * Setter for - * texera_db.operator_executions.console_messages_size. - */ - public void setConsoleMessagesSize(Integer value); - - /** - * Getter for - * texera_db.operator_executions.console_messages_size. - */ - public Integer getConsoleMessagesSize(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IOperatorExecutions - */ - public void from(IOperatorExecutions from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IOperatorExecutions - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IOperatorPortExecutions.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IOperatorPortExecutions.java deleted file mode 100644 index 0f3dfc73128..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IOperatorPortExecutions.java +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public interface IOperatorPortExecutions extends Serializable { - - /** - * Setter for - * texera_db.operator_port_executions.workflow_execution_id. - */ - public void setWorkflowExecutionId(Integer value); - - /** - * Getter for - * texera_db.operator_port_executions.workflow_execution_id. - */ - public Integer getWorkflowExecutionId(); - - /** - * Setter for - * texera_db.operator_port_executions.global_port_id. - */ - public void setGlobalPortId(String value); - - /** - * Getter for - * texera_db.operator_port_executions.global_port_id. - */ - public String getGlobalPortId(); - - /** - * Setter for texera_db.operator_port_executions.result_uri. - */ - public void setResultUri(String value); - - /** - * Getter for texera_db.operator_port_executions.result_uri. - */ - public String getResultUri(); - - /** - * Setter for texera_db.operator_port_executions.result_size. - */ - public void setResultSize(Integer value); - - /** - * Getter for texera_db.operator_port_executions.result_size. - */ - public Integer getResultSize(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IOperatorPortExecutions - */ - public void from(IOperatorPortExecutions from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IOperatorPortExecutions - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IProject.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IProject.java deleted file mode 100644 index 6c1ea15e143..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IProject.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import java.io.Serializable; -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public interface IProject extends Serializable { - - /** - * Setter for texera_db.project.pid. - */ - public void setPid(Integer value); - - /** - * Getter for texera_db.project.pid. - */ - public Integer 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(Integer value); - - /** - * Getter for texera_db.project.owner_id. - */ - public Integer 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(IProject from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IProject - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IProjectUserAccess.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IProjectUserAccess.java deleted file mode 100644 index 98c830dabda..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IProjectUserAccess.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; - -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(Integer value); - - /** - * Getter for texera_db.project_user_access.uid. - */ - public Integer getUid(); - - /** - * Setter for texera_db.project_user_access.pid. - */ - public void setPid(Integer value); - - /** - * Getter for texera_db.project_user_access.pid. - */ - public Integer getPid(); - - /** - * Setter for texera_db.project_user_access.privilege. - */ - public void setPrivilege(PrivilegeEnum value); - - /** - * Getter for texera_db.project_user_access.privilege. - */ - public PrivilegeEnum getPrivilege(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IProjectUserAccess - */ - public void from(IProjectUserAccess from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IProjectUserAccess - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IPublicProject.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IPublicProject.java deleted file mode 100644 index 9960fb4e9b0..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IPublicProject.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import java.io.Serializable; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public interface IPublicProject extends Serializable { - - /** - * Setter for texera_db.public_project.pid. - */ - public void setPid(Integer value); - - /** - * Getter for texera_db.public_project.pid. - */ - public Integer getPid(); - - /** - * Setter for texera_db.public_project.uid. - */ - public void setUid(Integer value); - - /** - * Getter for texera_db.public_project.uid. - */ - public Integer getUid(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IPublicProject - */ - public void from(IPublicProject from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IPublicProject - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/ISiteSettings.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/ISiteSettings.java deleted file mode 100644 index 7e37208a2e1..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/ISiteSettings.java +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import java.io.Serializable; -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public interface ISiteSettings extends Serializable { - - /** - * Setter for texera_db.site_settings.key. - */ - public void setKey(String value); - - /** - * Getter for texera_db.site_settings.key. - */ - public String getKey(); - - /** - * Setter for texera_db.site_settings.value. - */ - public void setValue(String value); - - /** - * Getter for texera_db.site_settings.value. - */ - public String getValue(); - - /** - * Setter for texera_db.site_settings.updated_by. - */ - public void setUpdatedBy(String value); - - /** - * Getter for texera_db.site_settings.updated_by. - */ - public String getUpdatedBy(); - - /** - * Setter for texera_db.site_settings.updated_at. - */ - public void setUpdatedAt(Timestamp value); - - /** - * Getter for texera_db.site_settings.updated_at. - */ - public Timestamp getUpdatedAt(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface ISiteSettings - */ - public void from(ISiteSettings from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface ISiteSettings - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/ITimeLog.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/ITimeLog.java deleted file mode 100644 index 1fef635ac86..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/ITimeLog.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import java.io.Serializable; -import java.time.OffsetDateTime; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public interface ITimeLog extends Serializable { - - /** - * Setter for texera_db.time_log.uid. - */ - public void setUid(Integer value); - - /** - * Getter for texera_db.time_log.uid. - */ - public Integer getUid(); - - /** - * Setter for texera_db.time_log.last_login. - */ - public void setLastLogin(OffsetDateTime value); - - /** - * Getter for texera_db.time_log.last_login. - */ - public OffsetDateTime getLastLogin(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface ITimeLog - */ - public void from(ITimeLog from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface ITimeLog - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IUser.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IUser.java deleted file mode 100644 index 530d42ccf28..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IUser.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.UserRoleEnum; - -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(Integer value); - - /** - * Getter for texera_db.user.uid. - */ - public Integer 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.google_avatar. - */ - public void setGoogleAvatar(String value); - - /** - * Getter for texera_db.user.google_avatar. - */ - public String getGoogleAvatar(); - - /** - * Setter for texera_db.user.role. - */ - public void setRole(UserRoleEnum value); - - /** - * Getter for texera_db.user.role. - */ - public UserRoleEnum getRole(); - - /** - * Setter for texera_db.user.comment. - */ - public void setComment(String value); - - /** - * Getter for texera_db.user.comment. - */ - public String getComment(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IUser - */ - public void from(IUser from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IUser - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IUserActivity.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IUserActivity.java deleted file mode 100644 index b240bfb5809..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IUserActivity.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import java.io.Serializable; -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public interface IUserActivity extends Serializable { - - /** - * Setter for texera_db.user_activity.uid. - */ - public void setUid(Integer value); - - /** - * Getter for texera_db.user_activity.uid. - */ - public Integer getUid(); - - /** - * Setter for texera_db.user_activity.id. - */ - public void setId(Integer value); - - /** - * Getter for texera_db.user_activity.id. - */ - public Integer getId(); - - /** - * Setter for texera_db.user_activity.type. - */ - public void setType(String value); - - /** - * Getter for texera_db.user_activity.type. - */ - public String getType(); - - /** - * Setter for texera_db.user_activity.ip. - */ - public void setIp(String value); - - /** - * Getter for texera_db.user_activity.ip. - */ - public String getIp(); - - /** - * Setter for texera_db.user_activity.activate. - */ - public void setActivate(String value); - - /** - * Getter for texera_db.user_activity.activate. - */ - public String getActivate(); - - /** - * Setter for texera_db.user_activity.activity_time. - */ - public void setActivityTime(Timestamp value); - - /** - * Getter for texera_db.user_activity.activity_time. - */ - public Timestamp getActivityTime(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IUserActivity - */ - public void from(IUserActivity from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IUserActivity - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IUserConfig.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IUserConfig.java deleted file mode 100644 index a26c63840a1..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IUserConfig.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -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(Integer value); - - /** - * Getter for texera_db.user_config.uid. - */ - public Integer 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(IUserConfig from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IUserConfig - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflow.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflow.java deleted file mode 100644 index a8fb86da161..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflow.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import java.io.Serializable; -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public interface IWorkflow extends Serializable { - - /** - * Setter for texera_db.workflow.wid. - */ - public void setWid(Integer value); - - /** - * Getter for texera_db.workflow.wid. - */ - public Integer getWid(); - - /** - * 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.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_public. - */ - public void setIsPublic(Boolean value); - - /** - * Getter for texera_db.workflow.is_public. - */ - public Boolean getIsPublic(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IWorkflow - */ - public void from(IWorkflow from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IWorkflow - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowComputingUnit.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowComputingUnit.java deleted file mode 100644 index 53cb2694452..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowComputingUnit.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.WorkflowComputingUnitTypeEnum; - -import java.io.Serializable; -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public interface IWorkflowComputingUnit extends Serializable { - - /** - * Setter for texera_db.workflow_computing_unit.uid. - */ - public void setUid(Integer value); - - /** - * Getter for texera_db.workflow_computing_unit.uid. - */ - public Integer getUid(); - - /** - * Setter for texera_db.workflow_computing_unit.name. - */ - public void setName(String value); - - /** - * Getter for texera_db.workflow_computing_unit.name. - */ - public String getName(); - - /** - * Setter for texera_db.workflow_computing_unit.cuid. - */ - public void setCuid(Integer value); - - /** - * Getter for texera_db.workflow_computing_unit.cuid. - */ - public Integer getCuid(); - - /** - * Setter for texera_db.workflow_computing_unit.creation_time. - */ - public void setCreationTime(Timestamp value); - - /** - * Getter for texera_db.workflow_computing_unit.creation_time. - */ - public Timestamp getCreationTime(); - - /** - * Setter for texera_db.workflow_computing_unit.terminate_time. - */ - public void setTerminateTime(Timestamp value); - - /** - * Getter for texera_db.workflow_computing_unit.terminate_time. - */ - public Timestamp getTerminateTime(); - - /** - * Setter for texera_db.workflow_computing_unit.type. - */ - public void setType(WorkflowComputingUnitTypeEnum value); - - /** - * Getter for texera_db.workflow_computing_unit.type. - */ - public WorkflowComputingUnitTypeEnum getType(); - - /** - * Setter for texera_db.workflow_computing_unit.uri. - */ - public void setUri(String value); - - /** - * Getter for texera_db.workflow_computing_unit.uri. - */ - public String getUri(); - - /** - * Setter for texera_db.workflow_computing_unit.resource. - */ - public void setResource(String value); - - /** - * Getter for texera_db.workflow_computing_unit.resource. - */ - public String getResource(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IWorkflowComputingUnit - */ - public void from(IWorkflowComputingUnit from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IWorkflowComputingUnit - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowExecutions.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowExecutions.java deleted file mode 100644 index 11c3e5a9279..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowExecutions.java +++ /dev/null @@ -1,191 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import java.io.Serializable; -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public interface IWorkflowExecutions extends Serializable { - - /** - * Setter for texera_db.workflow_executions.eid. - */ - public void setEid(Integer value); - - /** - * Getter for texera_db.workflow_executions.eid. - */ - public Integer getEid(); - - /** - * Setter for texera_db.workflow_executions.vid. - */ - public void setVid(Integer value); - - /** - * Getter for texera_db.workflow_executions.vid. - */ - public Integer getVid(); - - /** - * Setter for texera_db.workflow_executions.uid. - */ - public void setUid(Integer value); - - /** - * Getter for texera_db.workflow_executions.uid. - */ - public Integer getUid(); - - /** - * Setter for texera_db.workflow_executions.cuid. - */ - public void setCuid(Integer value); - - /** - * Getter for texera_db.workflow_executions.cuid. - */ - public Integer getCuid(); - - /** - * Setter for texera_db.workflow_executions.status. - */ - public void setStatus(Short value); - - /** - * Getter for texera_db.workflow_executions.status. - */ - public Short 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(Boolean value); - - /** - * Getter for texera_db.workflow_executions.bookmarked. - */ - public Boolean 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(); - - /** - * Setter for texera_db.workflow_executions.runtime_stats_uri. - */ - public void setRuntimeStatsUri(String value); - - /** - * Getter for texera_db.workflow_executions.runtime_stats_uri. - */ - public String getRuntimeStatsUri(); - - /** - * Setter for texera_db.workflow_executions.runtime_stats_size. - */ - public void setRuntimeStatsSize(Integer value); - - /** - * Getter for texera_db.workflow_executions.runtime_stats_size. - */ - public Integer getRuntimeStatsSize(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IWorkflowExecutions - */ - public void from(IWorkflowExecutions from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IWorkflowExecutions - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowOfProject.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowOfProject.java deleted file mode 100644 index 23752a14a5e..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowOfProject.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -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(Integer value); - - /** - * Getter for texera_db.workflow_of_project.wid. - */ - public Integer getWid(); - - /** - * Setter for texera_db.workflow_of_project.pid. - */ - public void setPid(Integer value); - - /** - * Getter for texera_db.workflow_of_project.pid. - */ - public Integer getPid(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IWorkflowOfProject - */ - public void from(IWorkflowOfProject from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IWorkflowOfProject - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowOfUser.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowOfUser.java deleted file mode 100644 index 1160763516e..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowOfUser.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -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(Integer value); - - /** - * Getter for texera_db.workflow_of_user.uid. - */ - public Integer getUid(); - - /** - * Setter for texera_db.workflow_of_user.wid. - */ - public void setWid(Integer value); - - /** - * Getter for texera_db.workflow_of_user.wid. - */ - public Integer getWid(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IWorkflowOfUser - */ - public void from(IWorkflowOfUser from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IWorkflowOfUser - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowUserAccess.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowUserAccess.java deleted file mode 100644 index 3c1448384ef..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowUserAccess.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; - -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(Integer value); - - /** - * Getter for texera_db.workflow_user_access.uid. - */ - public Integer getUid(); - - /** - * Setter for texera_db.workflow_user_access.wid. - */ - public void setWid(Integer value); - - /** - * Getter for texera_db.workflow_user_access.wid. - */ - public Integer getWid(); - - /** - * Setter for texera_db.workflow_user_access.privilege. - */ - public void setPrivilege(PrivilegeEnum value); - - /** - * Getter for texera_db.workflow_user_access.privilege. - */ - public PrivilegeEnum getPrivilege(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IWorkflowUserAccess - */ - public void from(IWorkflowUserAccess from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IWorkflowUserAccess - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowUserClones.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowUserClones.java deleted file mode 100644 index 0484f909b7c..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowUserClones.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -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(Integer value); - - /** - * Getter for texera_db.workflow_user_clones.uid. - */ - public Integer getUid(); - - /** - * Setter for texera_db.workflow_user_clones.wid. - */ - public void setWid(Integer value); - - /** - * Getter for texera_db.workflow_user_clones.wid. - */ - public Integer getWid(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IWorkflowUserClones - */ - public void from(IWorkflowUserClones from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IWorkflowUserClones - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowUserLikes.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowUserLikes.java deleted file mode 100644 index f4ec9102117..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowUserLikes.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -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(Integer value); - - /** - * Getter for texera_db.workflow_user_likes.uid. - */ - public Integer getUid(); - - /** - * Setter for texera_db.workflow_user_likes.wid. - */ - public void setWid(Integer value); - - /** - * Getter for texera_db.workflow_user_likes.wid. - */ - public Integer getWid(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IWorkflowUserLikes - */ - public void from(IWorkflowUserLikes from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IWorkflowUserLikes - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowVersion.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowVersion.java deleted file mode 100644 index 5c6df85481b..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowVersion.java +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -import java.io.Serializable; -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public interface IWorkflowVersion extends Serializable { - - /** - * Setter for texera_db.workflow_version.vid. - */ - public void setVid(Integer value); - - /** - * Getter for texera_db.workflow_version.vid. - */ - public Integer getVid(); - - /** - * Setter for texera_db.workflow_version.wid. - */ - public void setWid(Integer value); - - /** - * Getter for texera_db.workflow_version.wid. - */ - public Integer 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(IWorkflowVersion from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IWorkflowVersion - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowViewCount.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowViewCount.java deleted file mode 100644 index d5c4a44bfb1..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/interfaces/IWorkflowViewCount.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.interfaces; - - -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(Integer value); - - /** - * Getter for texera_db.workflow_view_count.wid. - */ - public Integer getWid(); - - /** - * Setter for texera_db.workflow_view_count.view_count. - */ - public void setViewCount(Integer value); - - /** - * Getter for texera_db.workflow_view_count.view_count. - */ - public Integer getViewCount(); - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - /** - * Load data from another generated Record/POJO implementing the common - * interface IWorkflowViewCount - */ - public void from(IWorkflowViewCount from); - - /** - * Copy data into another generated Record/POJO implementing the common - * interface IWorkflowViewCount - */ - public E into(E into); -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/ComputingUnitUserAccess.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/ComputingUnitUserAccess.java deleted file mode 100644 index 8ad6916e2c7..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/ComputingUnitUserAccess.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IComputingUnitUserAccess; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ComputingUnitUserAccess implements IComputingUnitUserAccess { - - private static final long serialVersionUID = 1L; - - private Integer cuid; - private Integer uid; - private PrivilegeEnum privilege; - - public ComputingUnitUserAccess() {} - - public ComputingUnitUserAccess(IComputingUnitUserAccess value) { - this.cuid = value.getCuid(); - this.uid = value.getUid(); - this.privilege = value.getPrivilege(); - } - - public ComputingUnitUserAccess( - Integer cuid, - Integer uid, - PrivilegeEnum privilege - ) { - this.cuid = cuid; - this.uid = uid; - this.privilege = privilege; - } - - /** - * Getter for texera_db.computing_unit_user_access.cuid. - */ - @Override - public Integer getCuid() { - return this.cuid; - } - - /** - * Setter for texera_db.computing_unit_user_access.cuid. - */ - @Override - public void setCuid(Integer cuid) { - this.cuid = cuid; - } - - /** - * Getter for texera_db.computing_unit_user_access.uid. - */ - @Override - public Integer getUid() { - return this.uid; - } - - /** - * Setter for texera_db.computing_unit_user_access.uid. - */ - @Override - public void setUid(Integer uid) { - this.uid = uid; - } - - /** - * Getter for texera_db.computing_unit_user_access.privilege. - */ - @Override - public PrivilegeEnum getPrivilege() { - return this.privilege; - } - - /** - * Setter for texera_db.computing_unit_user_access.privilege. - */ - @Override - public void setPrivilege(PrivilegeEnum privilege) { - this.privilege = privilege; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("ComputingUnitUserAccess ("); - - sb.append(cuid); - sb.append(", ").append(uid); - sb.append(", ").append(privilege); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IComputingUnitUserAccess from) { - setCuid(from.getCuid()); - setUid(from.getUid()); - setPrivilege(from.getPrivilege()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/Dataset.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/Dataset.java deleted file mode 100644 index 15be7dace4d..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/Dataset.java +++ /dev/null @@ -1,223 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IDataset; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class Dataset implements IDataset { - - private static final long serialVersionUID = 1L; - - private Integer did; - private Integer ownerUid; - private String name; - private Boolean isPublic; - private String description; - private Timestamp creationTime; - private Boolean isDownloadable; - - 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(); - this.isDownloadable = value.getIsDownloadable(); - } - - public Dataset( - Integer did, - Integer ownerUid, - String name, - Boolean isPublic, - String description, - Timestamp creationTime, - Boolean isDownloadable - ) { - this.did = did; - this.ownerUid = ownerUid; - this.name = name; - this.isPublic = isPublic; - this.description = description; - this.creationTime = creationTime; - this.isDownloadable = isDownloadable; - } - - /** - * Getter for texera_db.dataset.did. - */ - @Override - public Integer getDid() { - return this.did; - } - - /** - * Setter for texera_db.dataset.did. - */ - @Override - public void setDid(Integer did) { - this.did = did; - } - - /** - * Getter for texera_db.dataset.owner_uid. - */ - @Override - public Integer getOwnerUid() { - return this.ownerUid; - } - - /** - * Setter for texera_db.dataset.owner_uid. - */ - @Override - public void setOwnerUid(Integer ownerUid) { - this.ownerUid = ownerUid; - } - - /** - * Getter for texera_db.dataset.name. - */ - @Override - public String getName() { - return this.name; - } - - /** - * Setter for texera_db.dataset.name. - */ - @Override - public void setName(String name) { - this.name = name; - } - - /** - * Getter for texera_db.dataset.is_public. - */ - @Override - public Boolean getIsPublic() { - return this.isPublic; - } - - /** - * Setter for texera_db.dataset.is_public. - */ - @Override - public void setIsPublic(Boolean isPublic) { - this.isPublic = isPublic; - } - - /** - * Getter for texera_db.dataset.description. - */ - @Override - public String getDescription() { - return this.description; - } - - /** - * Setter for texera_db.dataset.description. - */ - @Override - public void setDescription(String description) { - this.description = description; - } - - /** - * Getter for texera_db.dataset.creation_time. - */ - @Override - public Timestamp getCreationTime() { - return this.creationTime; - } - - /** - * Setter for texera_db.dataset.creation_time. - */ - @Override - public void setCreationTime(Timestamp creationTime) { - this.creationTime = creationTime; - } - - /** - * Getter for texera_db.dataset.is_downloadable. - */ - @Override - public Boolean getIsDownloadable() { - return this.isDownloadable; - } - - /** - * Setter for texera_db.dataset.is_downloadable. - */ - @Override - public void setIsDownloadable(Boolean isDownloadable) { - this.isDownloadable = isDownloadable; - } - - @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(", ").append(isDownloadable); - - 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()); - setIsDownloadable(from.getIsDownloadable()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/DatasetUserAccess.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/DatasetUserAccess.java deleted file mode 100644 index 05ca861de33..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/DatasetUserAccess.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IDatasetUserAccess; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DatasetUserAccess implements IDatasetUserAccess { - - private static final long serialVersionUID = 1L; - - private Integer did; - private Integer uid; - private PrivilegeEnum privilege; - - public DatasetUserAccess() {} - - public DatasetUserAccess(IDatasetUserAccess value) { - this.did = value.getDid(); - this.uid = value.getUid(); - this.privilege = value.getPrivilege(); - } - - public DatasetUserAccess( - Integer did, - Integer uid, - PrivilegeEnum privilege - ) { - this.did = did; - this.uid = uid; - this.privilege = privilege; - } - - /** - * Getter for texera_db.dataset_user_access.did. - */ - @Override - public Integer getDid() { - return this.did; - } - - /** - * Setter for texera_db.dataset_user_access.did. - */ - @Override - public void setDid(Integer did) { - this.did = did; - } - - /** - * Getter for texera_db.dataset_user_access.uid. - */ - @Override - public Integer getUid() { - return this.uid; - } - - /** - * Setter for texera_db.dataset_user_access.uid. - */ - @Override - public void setUid(Integer uid) { - this.uid = uid; - } - - /** - * Getter for texera_db.dataset_user_access.privilege. - */ - @Override - public PrivilegeEnum getPrivilege() { - return this.privilege; - } - - /** - * Setter for texera_db.dataset_user_access.privilege. - */ - @Override - public void setPrivilege(PrivilegeEnum 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/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/DatasetUserLikes.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/DatasetUserLikes.java deleted file mode 100644 index 8490c6b0640..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/DatasetUserLikes.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IDatasetUserLikes; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DatasetUserLikes implements IDatasetUserLikes { - - private static final long serialVersionUID = 1L; - - private Integer uid; - private Integer did; - - public DatasetUserLikes() {} - - public DatasetUserLikes(IDatasetUserLikes value) { - this.uid = value.getUid(); - this.did = value.getDid(); - } - - public DatasetUserLikes( - Integer uid, - Integer did - ) { - this.uid = uid; - this.did = did; - } - - /** - * Getter for texera_db.dataset_user_likes.uid. - */ - @Override - public Integer getUid() { - return this.uid; - } - - /** - * Setter for texera_db.dataset_user_likes.uid. - */ - @Override - public void setUid(Integer uid) { - this.uid = uid; - } - - /** - * Getter for texera_db.dataset_user_likes.did. - */ - @Override - public Integer getDid() { - return this.did; - } - - /** - * Setter for texera_db.dataset_user_likes.did. - */ - @Override - public void setDid(Integer did) { - this.did = did; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("DatasetUserLikes ("); - - sb.append(uid); - sb.append(", ").append(did); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IDatasetUserLikes from) { - setUid(from.getUid()); - setDid(from.getDid()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/DatasetVersion.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/DatasetVersion.java deleted file mode 100644 index ff5a39c60c3..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/DatasetVersion.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IDatasetVersion; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DatasetVersion implements IDatasetVersion { - - private static final long serialVersionUID = 1L; - - private Integer dvid; - private Integer did; - private Integer 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( - Integer dvid, - Integer did, - Integer 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; - } - - /** - * Getter for texera_db.dataset_version.dvid. - */ - @Override - public Integer getDvid() { - return this.dvid; - } - - /** - * Setter for texera_db.dataset_version.dvid. - */ - @Override - public void setDvid(Integer dvid) { - this.dvid = dvid; - } - - /** - * Getter for texera_db.dataset_version.did. - */ - @Override - public Integer getDid() { - return this.did; - } - - /** - * Setter for texera_db.dataset_version.did. - */ - @Override - public void setDid(Integer did) { - this.did = did; - } - - /** - * Getter for texera_db.dataset_version.creator_uid. - */ - @Override - public Integer getCreatorUid() { - return this.creatorUid; - } - - /** - * Setter for texera_db.dataset_version.creator_uid. - */ - @Override - public void setCreatorUid(Integer creatorUid) { - this.creatorUid = creatorUid; - } - - /** - * Getter for texera_db.dataset_version.name. - */ - @Override - public String getName() { - return this.name; - } - - /** - * Setter for texera_db.dataset_version.name. - */ - @Override - public void setName(String name) { - this.name = name; - } - - /** - * Getter for texera_db.dataset_version.version_hash. - */ - @Override - public String getVersionHash() { - return this.versionHash; - } - - /** - * Setter for texera_db.dataset_version.version_hash. - */ - @Override - public void setVersionHash(String versionHash) { - this.versionHash = versionHash; - } - - /** - * Getter for texera_db.dataset_version.creation_time. - */ - @Override - public Timestamp getCreationTime() { - return this.creationTime; - } - - /** - * Setter for texera_db.dataset_version.creation_time. - */ - @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/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/DatasetViewCount.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/DatasetViewCount.java deleted file mode 100644 index aaefdd00935..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/DatasetViewCount.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IDatasetViewCount; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DatasetViewCount implements IDatasetViewCount { - - private static final long serialVersionUID = 1L; - - private Integer did; - private Integer viewCount; - - public DatasetViewCount() {} - - public DatasetViewCount(IDatasetViewCount value) { - this.did = value.getDid(); - this.viewCount = value.getViewCount(); - } - - public DatasetViewCount( - Integer did, - Integer viewCount - ) { - this.did = did; - this.viewCount = viewCount; - } - - /** - * Getter for texera_db.dataset_view_count.did. - */ - @Override - public Integer getDid() { - return this.did; - } - - /** - * Setter for texera_db.dataset_view_count.did. - */ - @Override - public void setDid(Integer did) { - this.did = did; - } - - /** - * Getter for texera_db.dataset_view_count.view_count. - */ - @Override - public Integer getViewCount() { - return this.viewCount; - } - - /** - * Setter for texera_db.dataset_view_count.view_count. - */ - @Override - public void setViewCount(Integer viewCount) { - this.viewCount = viewCount; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("DatasetViewCount ("); - - sb.append(did); - sb.append(", ").append(viewCount); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IDatasetViewCount from) { - setDid(from.getDid()); - setViewCount(from.getViewCount()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/OperatorExecutions.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/OperatorExecutions.java deleted file mode 100644 index f50be6edc3c..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/OperatorExecutions.java +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IOperatorExecutions; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class OperatorExecutions implements IOperatorExecutions { - - private static final long serialVersionUID = 1L; - - private Integer workflowExecutionId; - private String operatorId; - private String consoleMessagesUri; - private Integer consoleMessagesSize; - - public OperatorExecutions() {} - - public OperatorExecutions(IOperatorExecutions value) { - this.workflowExecutionId = value.getWorkflowExecutionId(); - this.operatorId = value.getOperatorId(); - this.consoleMessagesUri = value.getConsoleMessagesUri(); - this.consoleMessagesSize = value.getConsoleMessagesSize(); - } - - public OperatorExecutions( - Integer workflowExecutionId, - String operatorId, - String consoleMessagesUri, - Integer consoleMessagesSize - ) { - this.workflowExecutionId = workflowExecutionId; - this.operatorId = operatorId; - this.consoleMessagesUri = consoleMessagesUri; - this.consoleMessagesSize = consoleMessagesSize; - } - - /** - * Getter for - * texera_db.operator_executions.workflow_execution_id. - */ - @Override - public Integer getWorkflowExecutionId() { - return this.workflowExecutionId; - } - - /** - * Setter for - * texera_db.operator_executions.workflow_execution_id. - */ - @Override - public void setWorkflowExecutionId(Integer workflowExecutionId) { - this.workflowExecutionId = workflowExecutionId; - } - - /** - * Getter for texera_db.operator_executions.operator_id. - */ - @Override - public String getOperatorId() { - return this.operatorId; - } - - /** - * Setter for texera_db.operator_executions.operator_id. - */ - @Override - public void setOperatorId(String operatorId) { - this.operatorId = operatorId; - } - - /** - * Getter for - * texera_db.operator_executions.console_messages_uri. - */ - @Override - public String getConsoleMessagesUri() { - return this.consoleMessagesUri; - } - - /** - * Setter for - * texera_db.operator_executions.console_messages_uri. - */ - @Override - public void setConsoleMessagesUri(String consoleMessagesUri) { - this.consoleMessagesUri = consoleMessagesUri; - } - - /** - * Getter for - * texera_db.operator_executions.console_messages_size. - */ - @Override - public Integer getConsoleMessagesSize() { - return this.consoleMessagesSize; - } - - /** - * Setter for - * texera_db.operator_executions.console_messages_size. - */ - @Override - public void setConsoleMessagesSize(Integer consoleMessagesSize) { - this.consoleMessagesSize = consoleMessagesSize; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("OperatorExecutions ("); - - sb.append(workflowExecutionId); - sb.append(", ").append(operatorId); - sb.append(", ").append(consoleMessagesUri); - sb.append(", ").append(consoleMessagesSize); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IOperatorExecutions from) { - setWorkflowExecutionId(from.getWorkflowExecutionId()); - setOperatorId(from.getOperatorId()); - setConsoleMessagesUri(from.getConsoleMessagesUri()); - setConsoleMessagesSize(from.getConsoleMessagesSize()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/OperatorPortExecutions.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/OperatorPortExecutions.java deleted file mode 100644 index d3aad3a3134..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/OperatorPortExecutions.java +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IOperatorPortExecutions; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class OperatorPortExecutions implements IOperatorPortExecutions { - - private static final long serialVersionUID = 1L; - - private Integer workflowExecutionId; - private String globalPortId; - private String resultUri; - private Integer resultSize; - - public OperatorPortExecutions() {} - - public OperatorPortExecutions(IOperatorPortExecutions value) { - this.workflowExecutionId = value.getWorkflowExecutionId(); - this.globalPortId = value.getGlobalPortId(); - this.resultUri = value.getResultUri(); - this.resultSize = value.getResultSize(); - } - - public OperatorPortExecutions( - Integer workflowExecutionId, - String globalPortId, - String resultUri, - Integer resultSize - ) { - this.workflowExecutionId = workflowExecutionId; - this.globalPortId = globalPortId; - this.resultUri = resultUri; - this.resultSize = resultSize; - } - - /** - * Getter for - * texera_db.operator_port_executions.workflow_execution_id. - */ - @Override - public Integer getWorkflowExecutionId() { - return this.workflowExecutionId; - } - - /** - * Setter for - * texera_db.operator_port_executions.workflow_execution_id. - */ - @Override - public void setWorkflowExecutionId(Integer workflowExecutionId) { - this.workflowExecutionId = workflowExecutionId; - } - - /** - * Getter for - * texera_db.operator_port_executions.global_port_id. - */ - @Override - public String getGlobalPortId() { - return this.globalPortId; - } - - /** - * Setter for - * texera_db.operator_port_executions.global_port_id. - */ - @Override - public void setGlobalPortId(String globalPortId) { - this.globalPortId = globalPortId; - } - - /** - * Getter for texera_db.operator_port_executions.result_uri. - */ - @Override - public String getResultUri() { - return this.resultUri; - } - - /** - * Setter for texera_db.operator_port_executions.result_uri. - */ - @Override - public void setResultUri(String resultUri) { - this.resultUri = resultUri; - } - - /** - * Getter for texera_db.operator_port_executions.result_size. - */ - @Override - public Integer getResultSize() { - return this.resultSize; - } - - /** - * Setter for texera_db.operator_port_executions.result_size. - */ - @Override - public void setResultSize(Integer resultSize) { - this.resultSize = resultSize; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("OperatorPortExecutions ("); - - sb.append(workflowExecutionId); - sb.append(", ").append(globalPortId); - sb.append(", ").append(resultUri); - sb.append(", ").append(resultSize); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IOperatorPortExecutions from) { - setWorkflowExecutionId(from.getWorkflowExecutionId()); - setGlobalPortId(from.getGlobalPortId()); - setResultUri(from.getResultUri()); - setResultSize(from.getResultSize()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/Project.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/Project.java deleted file mode 100644 index 14dd7b3d502..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/Project.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IProject; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class Project implements IProject { - - private static final long serialVersionUID = 1L; - - private Integer pid; - private String name; - private String description; - private Integer 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( - Integer pid, - String name, - String description, - Integer ownerId, - Timestamp creationTime, - String color - ) { - this.pid = pid; - this.name = name; - this.description = description; - this.ownerId = ownerId; - this.creationTime = creationTime; - this.color = color; - } - - /** - * Getter for texera_db.project.pid. - */ - @Override - public Integer getPid() { - return this.pid; - } - - /** - * Setter for texera_db.project.pid. - */ - @Override - public void setPid(Integer pid) { - this.pid = pid; - } - - /** - * Getter for texera_db.project.name. - */ - @Override - public String getName() { - return this.name; - } - - /** - * Setter for texera_db.project.name. - */ - @Override - public void setName(String name) { - this.name = name; - } - - /** - * Getter for texera_db.project.description. - */ - @Override - public String getDescription() { - return this.description; - } - - /** - * Setter for texera_db.project.description. - */ - @Override - public void setDescription(String description) { - this.description = description; - } - - /** - * Getter for texera_db.project.owner_id. - */ - @Override - public Integer getOwnerId() { - return this.ownerId; - } - - /** - * Setter for texera_db.project.owner_id. - */ - @Override - public void setOwnerId(Integer ownerId) { - this.ownerId = ownerId; - } - - /** - * Getter for texera_db.project.creation_time. - */ - @Override - public Timestamp getCreationTime() { - return this.creationTime; - } - - /** - * Setter for texera_db.project.creation_time. - */ - @Override - public void setCreationTime(Timestamp creationTime) { - this.creationTime = creationTime; - } - - /** - * Getter for texera_db.project.color. - */ - @Override - public String getColor() { - return this.color; - } - - /** - * Setter for texera_db.project.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/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/ProjectUserAccess.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/ProjectUserAccess.java deleted file mode 100644 index 6996ca854eb..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/ProjectUserAccess.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IProjectUserAccess; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ProjectUserAccess implements IProjectUserAccess { - - private static final long serialVersionUID = 1L; - - private Integer uid; - private Integer pid; - private PrivilegeEnum privilege; - - public ProjectUserAccess() {} - - public ProjectUserAccess(IProjectUserAccess value) { - this.uid = value.getUid(); - this.pid = value.getPid(); - this.privilege = value.getPrivilege(); - } - - public ProjectUserAccess( - Integer uid, - Integer pid, - PrivilegeEnum privilege - ) { - this.uid = uid; - this.pid = pid; - this.privilege = privilege; - } - - /** - * Getter for texera_db.project_user_access.uid. - */ - @Override - public Integer getUid() { - return this.uid; - } - - /** - * Setter for texera_db.project_user_access.uid. - */ - @Override - public void setUid(Integer uid) { - this.uid = uid; - } - - /** - * Getter for texera_db.project_user_access.pid. - */ - @Override - public Integer getPid() { - return this.pid; - } - - /** - * Setter for texera_db.project_user_access.pid. - */ - @Override - public void setPid(Integer pid) { - this.pid = pid; - } - - /** - * Getter for texera_db.project_user_access.privilege. - */ - @Override - public PrivilegeEnum getPrivilege() { - return this.privilege; - } - - /** - * Setter for texera_db.project_user_access.privilege. - */ - @Override - public void setPrivilege(PrivilegeEnum 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/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/PublicProject.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/PublicProject.java deleted file mode 100644 index 08c52891917..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/PublicProject.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IPublicProject; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class PublicProject implements IPublicProject { - - private static final long serialVersionUID = 1L; - - private Integer pid; - private Integer uid; - - public PublicProject() {} - - public PublicProject(IPublicProject value) { - this.pid = value.getPid(); - this.uid = value.getUid(); - } - - public PublicProject( - Integer pid, - Integer uid - ) { - this.pid = pid; - this.uid = uid; - } - - /** - * Getter for texera_db.public_project.pid. - */ - @Override - public Integer getPid() { - return this.pid; - } - - /** - * Setter for texera_db.public_project.pid. - */ - @Override - public void setPid(Integer pid) { - this.pid = pid; - } - - /** - * Getter for texera_db.public_project.uid. - */ - @Override - public Integer getUid() { - return this.uid; - } - - /** - * Setter for texera_db.public_project.uid. - */ - @Override - public void setUid(Integer 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/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/SiteSettings.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/SiteSettings.java deleted file mode 100644 index 8cd646f4046..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/SiteSettings.java +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.ISiteSettings; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SiteSettings implements ISiteSettings { - - private static final long serialVersionUID = 1L; - - private String key; - private String value; - private String updatedBy; - private Timestamp updatedAt; - - public SiteSettings() {} - - public SiteSettings(ISiteSettings value) { - this.key = value.getKey(); - this.value = value.getValue(); - this.updatedBy = value.getUpdatedBy(); - this.updatedAt = value.getUpdatedAt(); - } - - public SiteSettings( - String key, - String value, - String updatedBy, - Timestamp updatedAt - ) { - this.key = key; - this.value = value; - this.updatedBy = updatedBy; - this.updatedAt = updatedAt; - } - - /** - * Getter for texera_db.site_settings.key. - */ - @Override - public String getKey() { - return this.key; - } - - /** - * Setter for texera_db.site_settings.key. - */ - @Override - public void setKey(String key) { - this.key = key; - } - - /** - * Getter for texera_db.site_settings.value. - */ - @Override - public String getValue() { - return this.value; - } - - /** - * Setter for texera_db.site_settings.value. - */ - @Override - public void setValue(String value) { - this.value = value; - } - - /** - * Getter for texera_db.site_settings.updated_by. - */ - @Override - public String getUpdatedBy() { - return this.updatedBy; - } - - /** - * Setter for texera_db.site_settings.updated_by. - */ - @Override - public void setUpdatedBy(String updatedBy) { - this.updatedBy = updatedBy; - } - - /** - * Getter for texera_db.site_settings.updated_at. - */ - @Override - public Timestamp getUpdatedAt() { - return this.updatedAt; - } - - /** - * Setter for texera_db.site_settings.updated_at. - */ - @Override - public void setUpdatedAt(Timestamp updatedAt) { - this.updatedAt = updatedAt; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("SiteSettings ("); - - sb.append(key); - sb.append(", ").append(value); - sb.append(", ").append(updatedBy); - sb.append(", ").append(updatedAt); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(ISiteSettings from) { - setKey(from.getKey()); - setValue(from.getValue()); - setUpdatedBy(from.getUpdatedBy()); - setUpdatedAt(from.getUpdatedAt()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/TimeLog.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/TimeLog.java deleted file mode 100644 index 85c57c243e0..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/TimeLog.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.ITimeLog; - -import java.time.OffsetDateTime; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class TimeLog implements ITimeLog { - - private static final long serialVersionUID = 1L; - - private Integer uid; - private OffsetDateTime lastLogin; - - public TimeLog() {} - - public TimeLog(ITimeLog value) { - this.uid = value.getUid(); - this.lastLogin = value.getLastLogin(); - } - - public TimeLog( - Integer uid, - OffsetDateTime lastLogin - ) { - this.uid = uid; - this.lastLogin = lastLogin; - } - - /** - * Getter for texera_db.time_log.uid. - */ - @Override - public Integer getUid() { - return this.uid; - } - - /** - * Setter for texera_db.time_log.uid. - */ - @Override - public void setUid(Integer uid) { - this.uid = uid; - } - - /** - * Getter for texera_db.time_log.last_login. - */ - @Override - public OffsetDateTime getLastLogin() { - return this.lastLogin; - } - - /** - * Setter for texera_db.time_log.last_login. - */ - @Override - public void setLastLogin(OffsetDateTime lastLogin) { - this.lastLogin = lastLogin; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("TimeLog ("); - - sb.append(uid); - sb.append(", ").append(lastLogin); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(ITimeLog from) { - setUid(from.getUid()); - setLastLogin(from.getLastLogin()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/User.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/User.java deleted file mode 100644 index 1c4a46682c7..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/User.java +++ /dev/null @@ -1,244 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.UserRoleEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IUser; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class User implements IUser { - - private static final long serialVersionUID = 1L; - - private Integer uid; - private String name; - private String email; - private String password; - private String googleId; - private String googleAvatar; - private UserRoleEnum role; - private String comment; - - 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.googleAvatar = value.getGoogleAvatar(); - this.role = value.getRole(); - this.comment = value.getComment(); - } - - public User( - Integer uid, - String name, - String email, - String password, - String googleId, - String googleAvatar, - UserRoleEnum role, - String comment - ) { - this.uid = uid; - this.name = name; - this.email = email; - this.password = password; - this.googleId = googleId; - this.googleAvatar = googleAvatar; - this.role = role; - this.comment = comment; - } - - /** - * Getter for texera_db.user.uid. - */ - @Override - public Integer getUid() { - return this.uid; - } - - /** - * Setter for texera_db.user.uid. - */ - @Override - public void setUid(Integer uid) { - this.uid = uid; - } - - /** - * Getter for texera_db.user.name. - */ - @Override - public String getName() { - return this.name; - } - - /** - * Setter for texera_db.user.name. - */ - @Override - public void setName(String name) { - this.name = name; - } - - /** - * Getter for texera_db.user.email. - */ - @Override - public String getEmail() { - return this.email; - } - - /** - * Setter for texera_db.user.email. - */ - @Override - public void setEmail(String email) { - this.email = email; - } - - /** - * Getter for texera_db.user.password. - */ - @Override - public String getPassword() { - return this.password; - } - - /** - * Setter for texera_db.user.password. - */ - @Override - public void setPassword(String password) { - this.password = password; - } - - /** - * Getter for texera_db.user.google_id. - */ - @Override - public String getGoogleId() { - return this.googleId; - } - - /** - * Setter for texera_db.user.google_id. - */ - @Override - public void setGoogleId(String googleId) { - this.googleId = googleId; - } - - /** - * Getter for texera_db.user.google_avatar. - */ - @Override - public String getGoogleAvatar() { - return this.googleAvatar; - } - - /** - * Setter for texera_db.user.google_avatar. - */ - @Override - public void setGoogleAvatar(String googleAvatar) { - this.googleAvatar = googleAvatar; - } - - /** - * Getter for texera_db.user.role. - */ - @Override - public UserRoleEnum getRole() { - return this.role; - } - - /** - * Setter for texera_db.user.role. - */ - @Override - public void setRole(UserRoleEnum role) { - this.role = role; - } - - /** - * Getter for texera_db.user.comment. - */ - @Override - public String getComment() { - return this.comment; - } - - /** - * Setter for texera_db.user.comment. - */ - @Override - public void setComment(String comment) { - this.comment = comment; - } - - @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(googleAvatar); - sb.append(", ").append(role); - sb.append(", ").append(comment); - - 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()); - setGoogleAvatar(from.getGoogleAvatar()); - setRole(from.getRole()); - setComment(from.getComment()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/UserActivity.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/UserActivity.java deleted file mode 100644 index 085ca008e50..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/UserActivity.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IUserActivity; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class UserActivity implements IUserActivity { - - private static final long serialVersionUID = 1L; - - private Integer uid; - private Integer id; - private String type; - private String ip; - private String activate; - private Timestamp activityTime; - - public UserActivity() {} - - public UserActivity(IUserActivity value) { - this.uid = value.getUid(); - this.id = value.getId(); - this.type = value.getType(); - this.ip = value.getIp(); - this.activate = value.getActivate(); - this.activityTime = value.getActivityTime(); - } - - public UserActivity( - Integer uid, - Integer id, - String type, - String ip, - String activate, - Timestamp activityTime - ) { - this.uid = uid; - this.id = id; - this.type = type; - this.ip = ip; - this.activate = activate; - this.activityTime = activityTime; - } - - /** - * Getter for texera_db.user_activity.uid. - */ - @Override - public Integer getUid() { - return this.uid; - } - - /** - * Setter for texera_db.user_activity.uid. - */ - @Override - public void setUid(Integer uid) { - this.uid = uid; - } - - /** - * Getter for texera_db.user_activity.id. - */ - @Override - public Integer getId() { - return this.id; - } - - /** - * Setter for texera_db.user_activity.id. - */ - @Override - public void setId(Integer id) { - this.id = id; - } - - /** - * Getter for texera_db.user_activity.type. - */ - @Override - public String getType() { - return this.type; - } - - /** - * Setter for texera_db.user_activity.type. - */ - @Override - public void setType(String type) { - this.type = type; - } - - /** - * Getter for texera_db.user_activity.ip. - */ - @Override - public String getIp() { - return this.ip; - } - - /** - * Setter for texera_db.user_activity.ip. - */ - @Override - public void setIp(String ip) { - this.ip = ip; - } - - /** - * Getter for texera_db.user_activity.activate. - */ - @Override - public String getActivate() { - return this.activate; - } - - /** - * Setter for texera_db.user_activity.activate. - */ - @Override - public void setActivate(String activate) { - this.activate = activate; - } - - /** - * Getter for texera_db.user_activity.activity_time. - */ - @Override - public Timestamp getActivityTime() { - return this.activityTime; - } - - /** - * Setter for texera_db.user_activity.activity_time. - */ - @Override - public void setActivityTime(Timestamp activityTime) { - this.activityTime = activityTime; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("UserActivity ("); - - sb.append(uid); - sb.append(", ").append(id); - sb.append(", ").append(type); - sb.append(", ").append(ip); - sb.append(", ").append(activate); - sb.append(", ").append(activityTime); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IUserActivity from) { - setUid(from.getUid()); - setId(from.getId()); - setType(from.getType()); - setIp(from.getIp()); - setActivate(from.getActivate()); - setActivityTime(from.getActivityTime()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/UserConfig.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/UserConfig.java deleted file mode 100644 index b6707def738..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/UserConfig.java +++ /dev/null @@ -1,133 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IUserConfig; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class UserConfig implements IUserConfig { - - private static final long serialVersionUID = 1L; - - private Integer 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( - Integer uid, - String key, - String value - ) { - this.uid = uid; - this.key = key; - this.value = value; - } - - /** - * Getter for texera_db.user_config.uid. - */ - @Override - public Integer getUid() { - return this.uid; - } - - /** - * Setter for texera_db.user_config.uid. - */ - @Override - public void setUid(Integer uid) { - this.uid = uid; - } - - /** - * Getter for texera_db.user_config.key. - */ - @Override - public String getKey() { - return this.key; - } - - /** - * Setter for texera_db.user_config.key. - */ - @Override - public void setKey(String key) { - this.key = key; - } - - /** - * Getter for texera_db.user_config.value. - */ - @Override - public String getValue() { - return this.value; - } - - /** - * Setter for texera_db.user_config.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/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/Workflow.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/Workflow.java deleted file mode 100644 index f2de9ae547c..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/Workflow.java +++ /dev/null @@ -1,223 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IWorkflow; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class Workflow implements IWorkflow { - - private static final long serialVersionUID = 1L; - - private Integer wid; - private String name; - private String description; - private String content; - private Timestamp creationTime; - private Timestamp lastModifiedTime; - private Boolean isPublic; - - public Workflow() {} - - public Workflow(IWorkflow value) { - this.wid = value.getWid(); - this.name = value.getName(); - this.description = value.getDescription(); - this.content = value.getContent(); - this.creationTime = value.getCreationTime(); - this.lastModifiedTime = value.getLastModifiedTime(); - this.isPublic = value.getIsPublic(); - } - - public Workflow( - Integer wid, - String name, - String description, - String content, - Timestamp creationTime, - Timestamp lastModifiedTime, - Boolean isPublic - ) { - this.wid = wid; - this.name = name; - this.description = description; - this.content = content; - this.creationTime = creationTime; - this.lastModifiedTime = lastModifiedTime; - this.isPublic = isPublic; - } - - /** - * Getter for texera_db.workflow.wid. - */ - @Override - public Integer getWid() { - return this.wid; - } - - /** - * Setter for texera_db.workflow.wid. - */ - @Override - public void setWid(Integer wid) { - this.wid = wid; - } - - /** - * Getter for texera_db.workflow.name. - */ - @Override - public String getName() { - return this.name; - } - - /** - * Setter for texera_db.workflow.name. - */ - @Override - public void setName(String name) { - this.name = name; - } - - /** - * Getter for texera_db.workflow.description. - */ - @Override - public String getDescription() { - return this.description; - } - - /** - * Setter for texera_db.workflow.description. - */ - @Override - public void setDescription(String description) { - this.description = description; - } - - /** - * Getter for texera_db.workflow.content. - */ - @Override - public String getContent() { - return this.content; - } - - /** - * Setter for texera_db.workflow.content. - */ - @Override - public void setContent(String content) { - this.content = content; - } - - /** - * Getter for texera_db.workflow.creation_time. - */ - @Override - public Timestamp getCreationTime() { - return this.creationTime; - } - - /** - * Setter for texera_db.workflow.creation_time. - */ - @Override - public void setCreationTime(Timestamp creationTime) { - this.creationTime = creationTime; - } - - /** - * Getter for texera_db.workflow.last_modified_time. - */ - @Override - public Timestamp getLastModifiedTime() { - return this.lastModifiedTime; - } - - /** - * Setter for texera_db.workflow.last_modified_time. - */ - @Override - public void setLastModifiedTime(Timestamp lastModifiedTime) { - this.lastModifiedTime = lastModifiedTime; - } - - /** - * Getter for texera_db.workflow.is_public. - */ - @Override - public Boolean getIsPublic() { - return this.isPublic; - } - - /** - * Setter for texera_db.workflow.is_public. - */ - @Override - public void setIsPublic(Boolean isPublic) { - this.isPublic = isPublic; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("Workflow ("); - - sb.append(wid); - sb.append(", ").append(name); - sb.append(", ").append(description); - sb.append(", ").append(content); - sb.append(", ").append(creationTime); - sb.append(", ").append(lastModifiedTime); - sb.append(", ").append(isPublic); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflow from) { - setWid(from.getWid()); - setName(from.getName()); - setDescription(from.getDescription()); - setContent(from.getContent()); - setCreationTime(from.getCreationTime()); - setLastModifiedTime(from.getLastModifiedTime()); - setIsPublic(from.getIsPublic()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowComputingUnit.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowComputingUnit.java deleted file mode 100644 index d33d78ff0c4..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowComputingUnit.java +++ /dev/null @@ -1,246 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.WorkflowComputingUnitTypeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IWorkflowComputingUnit; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowComputingUnit implements IWorkflowComputingUnit { - - private static final long serialVersionUID = 1L; - - private Integer uid; - private String name; - private Integer cuid; - private Timestamp creationTime; - private Timestamp terminateTime; - private WorkflowComputingUnitTypeEnum type; - private String uri; - private String resource; - - public WorkflowComputingUnit() {} - - public WorkflowComputingUnit(IWorkflowComputingUnit value) { - this.uid = value.getUid(); - this.name = value.getName(); - this.cuid = value.getCuid(); - this.creationTime = value.getCreationTime(); - this.terminateTime = value.getTerminateTime(); - this.type = value.getType(); - this.uri = value.getUri(); - this.resource = value.getResource(); - } - - public WorkflowComputingUnit( - Integer uid, - String name, - Integer cuid, - Timestamp creationTime, - Timestamp terminateTime, - WorkflowComputingUnitTypeEnum type, - String uri, - String resource - ) { - this.uid = uid; - this.name = name; - this.cuid = cuid; - this.creationTime = creationTime; - this.terminateTime = terminateTime; - this.type = type; - this.uri = uri; - this.resource = resource; - } - - /** - * Getter for texera_db.workflow_computing_unit.uid. - */ - @Override - public Integer getUid() { - return this.uid; - } - - /** - * Setter for texera_db.workflow_computing_unit.uid. - */ - @Override - public void setUid(Integer uid) { - this.uid = uid; - } - - /** - * Getter for texera_db.workflow_computing_unit.name. - */ - @Override - public String getName() { - return this.name; - } - - /** - * Setter for texera_db.workflow_computing_unit.name. - */ - @Override - public void setName(String name) { - this.name = name; - } - - /** - * Getter for texera_db.workflow_computing_unit.cuid. - */ - @Override - public Integer getCuid() { - return this.cuid; - } - - /** - * Setter for texera_db.workflow_computing_unit.cuid. - */ - @Override - public void setCuid(Integer cuid) { - this.cuid = cuid; - } - - /** - * Getter for texera_db.workflow_computing_unit.creation_time. - */ - @Override - public Timestamp getCreationTime() { - return this.creationTime; - } - - /** - * Setter for texera_db.workflow_computing_unit.creation_time. - */ - @Override - public void setCreationTime(Timestamp creationTime) { - this.creationTime = creationTime; - } - - /** - * Getter for texera_db.workflow_computing_unit.terminate_time. - */ - @Override - public Timestamp getTerminateTime() { - return this.terminateTime; - } - - /** - * Setter for texera_db.workflow_computing_unit.terminate_time. - */ - @Override - public void setTerminateTime(Timestamp terminateTime) { - this.terminateTime = terminateTime; - } - - /** - * Getter for texera_db.workflow_computing_unit.type. - */ - @Override - public WorkflowComputingUnitTypeEnum getType() { - return this.type; - } - - /** - * Setter for texera_db.workflow_computing_unit.type. - */ - @Override - public void setType(WorkflowComputingUnitTypeEnum type) { - this.type = type; - } - - /** - * Getter for texera_db.workflow_computing_unit.uri. - */ - @Override - public String getUri() { - return this.uri; - } - - /** - * Setter for texera_db.workflow_computing_unit.uri. - */ - @Override - public void setUri(String uri) { - this.uri = uri; - } - - /** - * Getter for texera_db.workflow_computing_unit.resource. - */ - @Override - public String getResource() { - return this.resource; - } - - /** - * Setter for texera_db.workflow_computing_unit.resource. - */ - @Override - public void setResource(String resource) { - this.resource = resource; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("WorkflowComputingUnit ("); - - sb.append(uid); - sb.append(", ").append(name); - sb.append(", ").append(cuid); - sb.append(", ").append(creationTime); - sb.append(", ").append(terminateTime); - sb.append(", ").append(type); - sb.append(", ").append(uri); - sb.append(", ").append(resource); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowComputingUnit from) { - setUid(from.getUid()); - setName(from.getName()); - setCuid(from.getCuid()); - setCreationTime(from.getCreationTime()); - setTerminateTime(from.getTerminateTime()); - setType(from.getType()); - setUri(from.getUri()); - setResource(from.getResource()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowExecutions.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowExecutions.java deleted file mode 100644 index 63d531abeb4..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowExecutions.java +++ /dev/null @@ -1,379 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IWorkflowExecutions; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowExecutions implements IWorkflowExecutions { - - private static final long serialVersionUID = 1L; - - private Integer eid; - private Integer vid; - private Integer uid; - private Integer cuid; - private Short status; - private String result; - private Timestamp startingTime; - private Timestamp lastUpdateTime; - private Boolean bookmarked; - private String name; - private String environmentVersion; - private String logLocation; - private String runtimeStatsUri; - private Integer runtimeStatsSize; - - public WorkflowExecutions() {} - - public WorkflowExecutions(IWorkflowExecutions value) { - this.eid = value.getEid(); - this.vid = value.getVid(); - this.uid = value.getUid(); - this.cuid = value.getCuid(); - 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(); - this.runtimeStatsUri = value.getRuntimeStatsUri(); - this.runtimeStatsSize = value.getRuntimeStatsSize(); - } - - public WorkflowExecutions( - Integer eid, - Integer vid, - Integer uid, - Integer cuid, - Short status, - String result, - Timestamp startingTime, - Timestamp lastUpdateTime, - Boolean bookmarked, - String name, - String environmentVersion, - String logLocation, - String runtimeStatsUri, - Integer runtimeStatsSize - ) { - this.eid = eid; - this.vid = vid; - this.uid = uid; - this.cuid = cuid; - this.status = status; - this.result = result; - this.startingTime = startingTime; - this.lastUpdateTime = lastUpdateTime; - this.bookmarked = bookmarked; - this.name = name; - this.environmentVersion = environmentVersion; - this.logLocation = logLocation; - this.runtimeStatsUri = runtimeStatsUri; - this.runtimeStatsSize = runtimeStatsSize; - } - - /** - * Getter for texera_db.workflow_executions.eid. - */ - @Override - public Integer getEid() { - return this.eid; - } - - /** - * Setter for texera_db.workflow_executions.eid. - */ - @Override - public void setEid(Integer eid) { - this.eid = eid; - } - - /** - * Getter for texera_db.workflow_executions.vid. - */ - @Override - public Integer getVid() { - return this.vid; - } - - /** - * Setter for texera_db.workflow_executions.vid. - */ - @Override - public void setVid(Integer vid) { - this.vid = vid; - } - - /** - * Getter for texera_db.workflow_executions.uid. - */ - @Override - public Integer getUid() { - return this.uid; - } - - /** - * Setter for texera_db.workflow_executions.uid. - */ - @Override - public void setUid(Integer uid) { - this.uid = uid; - } - - /** - * Getter for texera_db.workflow_executions.cuid. - */ - @Override - public Integer getCuid() { - return this.cuid; - } - - /** - * Setter for texera_db.workflow_executions.cuid. - */ - @Override - public void setCuid(Integer cuid) { - this.cuid = cuid; - } - - /** - * Getter for texera_db.workflow_executions.status. - */ - @Override - public Short getStatus() { - return this.status; - } - - /** - * Setter for texera_db.workflow_executions.status. - */ - @Override - public void setStatus(Short status) { - this.status = status; - } - - /** - * Getter for texera_db.workflow_executions.result. - */ - @Override - public String getResult() { - return this.result; - } - - /** - * Setter for texera_db.workflow_executions.result. - */ - @Override - public void setResult(String result) { - this.result = result; - } - - /** - * Getter for texera_db.workflow_executions.starting_time. - */ - @Override - public Timestamp getStartingTime() { - return this.startingTime; - } - - /** - * Setter for texera_db.workflow_executions.starting_time. - */ - @Override - public void setStartingTime(Timestamp startingTime) { - this.startingTime = startingTime; - } - - /** - * Getter for texera_db.workflow_executions.last_update_time. - */ - @Override - public Timestamp getLastUpdateTime() { - return this.lastUpdateTime; - } - - /** - * Setter for texera_db.workflow_executions.last_update_time. - */ - @Override - public void setLastUpdateTime(Timestamp lastUpdateTime) { - this.lastUpdateTime = lastUpdateTime; - } - - /** - * Getter for texera_db.workflow_executions.bookmarked. - */ - @Override - public Boolean getBookmarked() { - return this.bookmarked; - } - - /** - * Setter for texera_db.workflow_executions.bookmarked. - */ - @Override - public void setBookmarked(Boolean bookmarked) { - this.bookmarked = bookmarked; - } - - /** - * Getter for texera_db.workflow_executions.name. - */ - @Override - public String getName() { - return this.name; - } - - /** - * Setter for texera_db.workflow_executions.name. - */ - @Override - public void setName(String name) { - this.name = name; - } - - /** - * Getter for - * texera_db.workflow_executions.environment_version. - */ - @Override - public String getEnvironmentVersion() { - return this.environmentVersion; - } - - /** - * Setter for - * texera_db.workflow_executions.environment_version. - */ - @Override - public void setEnvironmentVersion(String environmentVersion) { - this.environmentVersion = environmentVersion; - } - - /** - * Getter for texera_db.workflow_executions.log_location. - */ - @Override - public String getLogLocation() { - return this.logLocation; - } - - /** - * Setter for texera_db.workflow_executions.log_location. - */ - @Override - public void setLogLocation(String logLocation) { - this.logLocation = logLocation; - } - - /** - * Getter for texera_db.workflow_executions.runtime_stats_uri. - */ - @Override - public String getRuntimeStatsUri() { - return this.runtimeStatsUri; - } - - /** - * Setter for texera_db.workflow_executions.runtime_stats_uri. - */ - @Override - public void setRuntimeStatsUri(String runtimeStatsUri) { - this.runtimeStatsUri = runtimeStatsUri; - } - - /** - * Getter for texera_db.workflow_executions.runtime_stats_size. - */ - @Override - public Integer getRuntimeStatsSize() { - return this.runtimeStatsSize; - } - - /** - * Setter for texera_db.workflow_executions.runtime_stats_size. - */ - @Override - public void setRuntimeStatsSize(Integer runtimeStatsSize) { - this.runtimeStatsSize = runtimeStatsSize; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("WorkflowExecutions ("); - - sb.append(eid); - sb.append(", ").append(vid); - sb.append(", ").append(uid); - sb.append(", ").append(cuid); - 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(", ").append(runtimeStatsUri); - sb.append(", ").append(runtimeStatsSize); - - sb.append(")"); - return sb.toString(); - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowExecutions from) { - setEid(from.getEid()); - setVid(from.getVid()); - setUid(from.getUid()); - setCuid(from.getCuid()); - setStatus(from.getStatus()); - setResult(from.getResult()); - setStartingTime(from.getStartingTime()); - setLastUpdateTime(from.getLastUpdateTime()); - setBookmarked(from.getBookmarked()); - setName(from.getName()); - setEnvironmentVersion(from.getEnvironmentVersion()); - setLogLocation(from.getLogLocation()); - setRuntimeStatsUri(from.getRuntimeStatsUri()); - setRuntimeStatsSize(from.getRuntimeStatsSize()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowOfProject.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowOfProject.java deleted file mode 100644 index 2207d6c0759..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowOfProject.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IWorkflowOfProject; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowOfProject implements IWorkflowOfProject { - - private static final long serialVersionUID = 1L; - - private Integer wid; - private Integer pid; - - public WorkflowOfProject() {} - - public WorkflowOfProject(IWorkflowOfProject value) { - this.wid = value.getWid(); - this.pid = value.getPid(); - } - - public WorkflowOfProject( - Integer wid, - Integer pid - ) { - this.wid = wid; - this.pid = pid; - } - - /** - * Getter for texera_db.workflow_of_project.wid. - */ - @Override - public Integer getWid() { - return this.wid; - } - - /** - * Setter for texera_db.workflow_of_project.wid. - */ - @Override - public void setWid(Integer wid) { - this.wid = wid; - } - - /** - * Getter for texera_db.workflow_of_project.pid. - */ - @Override - public Integer getPid() { - return this.pid; - } - - /** - * Setter for texera_db.workflow_of_project.pid. - */ - @Override - public void setPid(Integer 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/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowOfUser.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowOfUser.java deleted file mode 100644 index b4d4a08cb75..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowOfUser.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IWorkflowOfUser; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowOfUser implements IWorkflowOfUser { - - private static final long serialVersionUID = 1L; - - private Integer uid; - private Integer wid; - - public WorkflowOfUser() {} - - public WorkflowOfUser(IWorkflowOfUser value) { - this.uid = value.getUid(); - this.wid = value.getWid(); - } - - public WorkflowOfUser( - Integer uid, - Integer wid - ) { - this.uid = uid; - this.wid = wid; - } - - /** - * Getter for texera_db.workflow_of_user.uid. - */ - @Override - public Integer getUid() { - return this.uid; - } - - /** - * Setter for texera_db.workflow_of_user.uid. - */ - @Override - public void setUid(Integer uid) { - this.uid = uid; - } - - /** - * Getter for texera_db.workflow_of_user.wid. - */ - @Override - public Integer getWid() { - return this.wid; - } - - /** - * Setter for texera_db.workflow_of_user.wid. - */ - @Override - public void setWid(Integer 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/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowUserAccess.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowUserAccess.java deleted file mode 100644 index 54b2e35e84d..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowUserAccess.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IWorkflowUserAccess; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowUserAccess implements IWorkflowUserAccess { - - private static final long serialVersionUID = 1L; - - private Integer uid; - private Integer wid; - private PrivilegeEnum privilege; - - public WorkflowUserAccess() {} - - public WorkflowUserAccess(IWorkflowUserAccess value) { - this.uid = value.getUid(); - this.wid = value.getWid(); - this.privilege = value.getPrivilege(); - } - - public WorkflowUserAccess( - Integer uid, - Integer wid, - PrivilegeEnum privilege - ) { - this.uid = uid; - this.wid = wid; - this.privilege = privilege; - } - - /** - * Getter for texera_db.workflow_user_access.uid. - */ - @Override - public Integer getUid() { - return this.uid; - } - - /** - * Setter for texera_db.workflow_user_access.uid. - */ - @Override - public void setUid(Integer uid) { - this.uid = uid; - } - - /** - * Getter for texera_db.workflow_user_access.wid. - */ - @Override - public Integer getWid() { - return this.wid; - } - - /** - * Setter for texera_db.workflow_user_access.wid. - */ - @Override - public void setWid(Integer wid) { - this.wid = wid; - } - - /** - * Getter for texera_db.workflow_user_access.privilege. - */ - @Override - public PrivilegeEnum getPrivilege() { - return this.privilege; - } - - /** - * Setter for texera_db.workflow_user_access.privilege. - */ - @Override - public void setPrivilege(PrivilegeEnum 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/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowUserClones.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowUserClones.java deleted file mode 100644 index 84b47828a7a..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowUserClones.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IWorkflowUserClones; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowUserClones implements IWorkflowUserClones { - - private static final long serialVersionUID = 1L; - - private Integer uid; - private Integer wid; - - public WorkflowUserClones() {} - - public WorkflowUserClones(IWorkflowUserClones value) { - this.uid = value.getUid(); - this.wid = value.getWid(); - } - - public WorkflowUserClones( - Integer uid, - Integer wid - ) { - this.uid = uid; - this.wid = wid; - } - - /** - * Getter for texera_db.workflow_user_clones.uid. - */ - @Override - public Integer getUid() { - return this.uid; - } - - /** - * Setter for texera_db.workflow_user_clones.uid. - */ - @Override - public void setUid(Integer uid) { - this.uid = uid; - } - - /** - * Getter for texera_db.workflow_user_clones.wid. - */ - @Override - public Integer getWid() { - return this.wid; - } - - /** - * Setter for texera_db.workflow_user_clones.wid. - */ - @Override - public void setWid(Integer 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/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowUserLikes.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowUserLikes.java deleted file mode 100644 index a33c23f2663..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowUserLikes.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IWorkflowUserLikes; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowUserLikes implements IWorkflowUserLikes { - - private static final long serialVersionUID = 1L; - - private Integer uid; - private Integer wid; - - public WorkflowUserLikes() {} - - public WorkflowUserLikes(IWorkflowUserLikes value) { - this.uid = value.getUid(); - this.wid = value.getWid(); - } - - public WorkflowUserLikes( - Integer uid, - Integer wid - ) { - this.uid = uid; - this.wid = wid; - } - - /** - * Getter for texera_db.workflow_user_likes.uid. - */ - @Override - public Integer getUid() { - return this.uid; - } - - /** - * Setter for texera_db.workflow_user_likes.uid. - */ - @Override - public void setUid(Integer uid) { - this.uid = uid; - } - - /** - * Getter for texera_db.workflow_user_likes.wid. - */ - @Override - public Integer getWid() { - return this.wid; - } - - /** - * Setter for texera_db.workflow_user_likes.wid. - */ - @Override - public void setWid(Integer 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/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowVersion.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowVersion.java deleted file mode 100644 index 6fb067a5b58..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowVersion.java +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IWorkflowVersion; - -import java.sql.Timestamp; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowVersion implements IWorkflowVersion { - - private static final long serialVersionUID = 1L; - - private Integer vid; - private Integer 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( - Integer vid, - Integer wid, - String content, - Timestamp creationTime - ) { - this.vid = vid; - this.wid = wid; - this.content = content; - this.creationTime = creationTime; - } - - /** - * Getter for texera_db.workflow_version.vid. - */ - @Override - public Integer getVid() { - return this.vid; - } - - /** - * Setter for texera_db.workflow_version.vid. - */ - @Override - public void setVid(Integer vid) { - this.vid = vid; - } - - /** - * Getter for texera_db.workflow_version.wid. - */ - @Override - public Integer getWid() { - return this.wid; - } - - /** - * Setter for texera_db.workflow_version.wid. - */ - @Override - public void setWid(Integer wid) { - this.wid = wid; - } - - /** - * Getter for texera_db.workflow_version.content. - */ - @Override - public String getContent() { - return this.content; - } - - /** - * Setter for texera_db.workflow_version.content. - */ - @Override - public void setContent(String content) { - this.content = content; - } - - /** - * Getter for texera_db.workflow_version.creation_time. - */ - @Override - public Timestamp getCreationTime() { - return this.creationTime; - } - - /** - * Setter for texera_db.workflow_version.creation_time. - */ - @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/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowViewCount.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowViewCount.java deleted file mode 100644 index edfc006fa4d..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/pojos/WorkflowViewCount.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.pojos; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IWorkflowViewCount; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowViewCount implements IWorkflowViewCount { - - private static final long serialVersionUID = 1L; - - private Integer wid; - private Integer viewCount; - - public WorkflowViewCount() {} - - public WorkflowViewCount(IWorkflowViewCount value) { - this.wid = value.getWid(); - this.viewCount = value.getViewCount(); - } - - public WorkflowViewCount( - Integer wid, - Integer viewCount - ) { - this.wid = wid; - this.viewCount = viewCount; - } - - /** - * Getter for texera_db.workflow_view_count.wid. - */ - @Override - public Integer getWid() { - return this.wid; - } - - /** - * Setter for texera_db.workflow_view_count.wid. - */ - @Override - public void setWid(Integer wid) { - this.wid = wid; - } - - /** - * Getter for texera_db.workflow_view_count.view_count. - */ - @Override - public Integer getViewCount() { - return this.viewCount; - } - - /** - * Setter for texera_db.workflow_view_count.view_count. - */ - @Override - public void setViewCount(Integer 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/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/ComputingUnitUserAccessRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/ComputingUnitUserAccessRecord.java deleted file mode 100644 index 14b62ac1d24..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/ComputingUnitUserAccessRecord.java +++ /dev/null @@ -1,236 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.ComputingUnitUserAccess; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IComputingUnitUserAccess; - -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Record3; -import org.jooq.Row3; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ComputingUnitUserAccessRecord extends UpdatableRecordImpl implements Record3, IComputingUnitUserAccess { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.computing_unit_user_access.cuid. - */ - @Override - public void setCuid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.computing_unit_user_access.cuid. - */ - @Override - public Integer getCuid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.computing_unit_user_access.uid. - */ - @Override - public void setUid(Integer value) { - set(1, value); - } - - /** - * Getter for texera_db.computing_unit_user_access.uid. - */ - @Override - public Integer getUid() { - return (Integer) get(1); - } - - /** - * Setter for texera_db.computing_unit_user_access.privilege. - */ - @Override - public void setPrivilege(PrivilegeEnum value) { - set(2, value); - } - - /** - * Getter for texera_db.computing_unit_user_access.privilege. - */ - @Override - public PrivilegeEnum getPrivilege() { - return (PrivilegeEnum) 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 ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.CUID; - } - - @Override - public Field field2() { - return ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.UID; - } - - @Override - public Field field3() { - return ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS.PRIVILEGE; - } - - @Override - public Integer component1() { - return getCuid(); - } - - @Override - public Integer component2() { - return getUid(); - } - - @Override - public PrivilegeEnum component3() { - return getPrivilege(); - } - - @Override - public Integer value1() { - return getCuid(); - } - - @Override - public Integer value2() { - return getUid(); - } - - @Override - public PrivilegeEnum value3() { - return getPrivilege(); - } - - @Override - public ComputingUnitUserAccessRecord value1(Integer value) { - setCuid(value); - return this; - } - - @Override - public ComputingUnitUserAccessRecord value2(Integer value) { - setUid(value); - return this; - } - - @Override - public ComputingUnitUserAccessRecord value3(PrivilegeEnum value) { - setPrivilege(value); - return this; - } - - @Override - public ComputingUnitUserAccessRecord values(Integer value1, Integer value2, PrivilegeEnum value3) { - value1(value1); - value2(value2); - value3(value3); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IComputingUnitUserAccess from) { - setCuid(from.getCuid()); - setUid(from.getUid()); - setPrivilege(from.getPrivilege()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached ComputingUnitUserAccessRecord - */ - public ComputingUnitUserAccessRecord() { - super(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS); - } - - /** - * Create a detached, initialised ComputingUnitUserAccessRecord - */ - public ComputingUnitUserAccessRecord(Integer cuid, Integer uid, PrivilegeEnum privilege) { - super(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS); - - setCuid(cuid); - setUid(uid); - setPrivilege(privilege); - } - - /** - * Create a detached, initialised ComputingUnitUserAccessRecord - */ - public ComputingUnitUserAccessRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.ComputingUnitUserAccess value) { - super(ComputingUnitUserAccess.COMPUTING_UNIT_USER_ACCESS); - - if (value != null) { - setCuid(value.getCuid()); - setUid(value.getUid()); - setPrivilege(value.getPrivilege()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetRecord.java deleted file mode 100644 index 7070836def8..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetRecord.java +++ /dev/null @@ -1,401 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.Dataset; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IDataset; - -import java.sql.Timestamp; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record7; -import org.jooq.Row7; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DatasetRecord extends UpdatableRecordImpl implements Record7, IDataset { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.dataset.did. - */ - @Override - public void setDid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.dataset.did. - */ - @Override - public Integer getDid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.dataset.owner_uid. - */ - @Override - public void setOwnerUid(Integer value) { - set(1, value); - } - - /** - * Getter for texera_db.dataset.owner_uid. - */ - @Override - public Integer getOwnerUid() { - return (Integer) 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(Boolean value) { - set(3, value); - } - - /** - * Getter for texera_db.dataset.is_public. - */ - @Override - public Boolean getIsPublic() { - return (Boolean) 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); - } - - /** - * Setter for texera_db.dataset.is_downloadable. - */ - @Override - public void setIsDownloadable(Boolean value) { - set(6, value); - } - - /** - * Getter for texera_db.dataset.is_downloadable. - */ - @Override - public Boolean getIsDownloadable() { - return (Boolean) 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 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 Field field7() { - return Dataset.DATASET.IS_DOWNLOADABLE; - } - - @Override - public Integer component1() { - return getDid(); - } - - @Override - public Integer component2() { - return getOwnerUid(); - } - - @Override - public String component3() { - return getName(); - } - - @Override - public Boolean component4() { - return getIsPublic(); - } - - @Override - public String component5() { - return getDescription(); - } - - @Override - public Timestamp component6() { - return getCreationTime(); - } - - @Override - public Boolean component7() { - return getIsDownloadable(); - } - - @Override - public Integer value1() { - return getDid(); - } - - @Override - public Integer value2() { - return getOwnerUid(); - } - - @Override - public String value3() { - return getName(); - } - - @Override - public Boolean value4() { - return getIsPublic(); - } - - @Override - public String value5() { - return getDescription(); - } - - @Override - public Timestamp value6() { - return getCreationTime(); - } - - @Override - public Boolean value7() { - return getIsDownloadable(); - } - - @Override - public DatasetRecord value1(Integer value) { - setDid(value); - return this; - } - - @Override - public DatasetRecord value2(Integer value) { - setOwnerUid(value); - return this; - } - - @Override - public DatasetRecord value3(String value) { - setName(value); - return this; - } - - @Override - public DatasetRecord value4(Boolean 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 value7(Boolean value) { - setIsDownloadable(value); - return this; - } - - @Override - public DatasetRecord values(Integer value1, Integer value2, String value3, Boolean value4, String value5, Timestamp value6, Boolean value7) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - 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()); - setIsDownloadable(from.getIsDownloadable()); - } - - @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(Integer did, Integer ownerUid, String name, Boolean isPublic, String description, Timestamp creationTime, Boolean isDownloadable) { - super(Dataset.DATASET); - - setDid(did); - setOwnerUid(ownerUid); - setName(name); - setIsPublic(isPublic); - setDescription(description); - setCreationTime(creationTime); - setIsDownloadable(isDownloadable); - } - - /** - * Create a detached, initialised DatasetRecord - */ - public DatasetRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.Dataset value) { - super(Dataset.DATASET); - - if (value != null) { - setDid(value.getDid()); - setOwnerUid(value.getOwnerUid()); - setName(value.getName()); - setIsPublic(value.getIsPublic()); - setDescription(value.getDescription()); - setCreationTime(value.getCreationTime()); - setIsDownloadable(value.getIsDownloadable()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetUserAccessRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetUserAccessRecord.java deleted file mode 100644 index 25fc2a006d5..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetUserAccessRecord.java +++ /dev/null @@ -1,236 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetUserAccess; -import edu.uci.ics.texera.dao.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; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DatasetUserAccessRecord extends UpdatableRecordImpl implements Record3, IDatasetUserAccess { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.dataset_user_access.did. - */ - @Override - public void setDid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.dataset_user_access.did. - */ - @Override - public Integer getDid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.dataset_user_access.uid. - */ - @Override - public void setUid(Integer value) { - set(1, value); - } - - /** - * Getter for texera_db.dataset_user_access.uid. - */ - @Override - public Integer getUid() { - return (Integer) get(1); - } - - /** - * Setter for texera_db.dataset_user_access.privilege. - */ - @Override - public void setPrivilege(PrivilegeEnum value) { - set(2, value); - } - - /** - * Getter for texera_db.dataset_user_access.privilege. - */ - @Override - public PrivilegeEnum getPrivilege() { - return (PrivilegeEnum) 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 Integer component1() { - return getDid(); - } - - @Override - public Integer component2() { - return getUid(); - } - - @Override - public PrivilegeEnum component3() { - return getPrivilege(); - } - - @Override - public Integer value1() { - return getDid(); - } - - @Override - public Integer value2() { - return getUid(); - } - - @Override - public PrivilegeEnum value3() { - return getPrivilege(); - } - - @Override - public DatasetUserAccessRecord value1(Integer value) { - setDid(value); - return this; - } - - @Override - public DatasetUserAccessRecord value2(Integer value) { - setUid(value); - return this; - } - - @Override - public DatasetUserAccessRecord value3(PrivilegeEnum value) { - setPrivilege(value); - return this; - } - - @Override - public DatasetUserAccessRecord values(Integer value1, Integer value2, PrivilegeEnum 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(Integer did, Integer uid, PrivilegeEnum privilege) { - super(DatasetUserAccess.DATASET_USER_ACCESS); - - setDid(did); - setUid(uid); - setPrivilege(privilege); - } - - /** - * Create a detached, initialised DatasetUserAccessRecord - */ - public DatasetUserAccessRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.DatasetUserAccess value) { - super(DatasetUserAccess.DATASET_USER_ACCESS); - - if (value != null) { - setDid(value.getDid()); - setUid(value.getUid()); - setPrivilege(value.getPrivilege()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetUserLikesRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetUserLikesRecord.java deleted file mode 100644 index 58924b52742..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetUserLikesRecord.java +++ /dev/null @@ -1,193 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetUserLikes; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IDatasetUserLikes; - -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DatasetUserLikesRecord extends UpdatableRecordImpl implements Record2, IDatasetUserLikes { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.dataset_user_likes.uid. - */ - @Override - public void setUid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.dataset_user_likes.uid. - */ - @Override - public Integer getUid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.dataset_user_likes.did. - */ - @Override - public void setDid(Integer value) { - set(1, value); - } - - /** - * Getter for texera_db.dataset_user_likes.did. - */ - @Override - public Integer getDid() { - return (Integer) 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 DatasetUserLikes.DATASET_USER_LIKES.UID; - } - - @Override - public Field field2() { - return DatasetUserLikes.DATASET_USER_LIKES.DID; - } - - @Override - public Integer component1() { - return getUid(); - } - - @Override - public Integer component2() { - return getDid(); - } - - @Override - public Integer value1() { - return getUid(); - } - - @Override - public Integer value2() { - return getDid(); - } - - @Override - public DatasetUserLikesRecord value1(Integer value) { - setUid(value); - return this; - } - - @Override - public DatasetUserLikesRecord value2(Integer value) { - setDid(value); - return this; - } - - @Override - public DatasetUserLikesRecord values(Integer value1, Integer value2) { - value1(value1); - value2(value2); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IDatasetUserLikes from) { - setUid(from.getUid()); - setDid(from.getDid()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached DatasetUserLikesRecord - */ - public DatasetUserLikesRecord() { - super(DatasetUserLikes.DATASET_USER_LIKES); - } - - /** - * Create a detached, initialised DatasetUserLikesRecord - */ - public DatasetUserLikesRecord(Integer uid, Integer did) { - super(DatasetUserLikes.DATASET_USER_LIKES); - - setUid(uid); - setDid(did); - } - - /** - * Create a detached, initialised DatasetUserLikesRecord - */ - public DatasetUserLikesRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.DatasetUserLikes value) { - super(DatasetUserLikes.DATASET_USER_LIKES); - - if (value != null) { - setUid(value.getUid()); - setDid(value.getDid()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetVersionRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetVersionRecord.java deleted file mode 100644 index e8094f79aa3..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetVersionRecord.java +++ /dev/null @@ -1,360 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetVersion; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IDatasetVersion; - -import java.sql.Timestamp; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record6; -import org.jooq.Row6; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DatasetVersionRecord extends UpdatableRecordImpl implements Record6, IDatasetVersion { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.dataset_version.dvid. - */ - @Override - public void setDvid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.dataset_version.dvid. - */ - @Override - public Integer getDvid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.dataset_version.did. - */ - @Override - public void setDid(Integer value) { - set(1, value); - } - - /** - * Getter for texera_db.dataset_version.did. - */ - @Override - public Integer getDid() { - return (Integer) get(1); - } - - /** - * Setter for texera_db.dataset_version.creator_uid. - */ - @Override - public void setCreatorUid(Integer value) { - set(2, value); - } - - /** - * Getter for texera_db.dataset_version.creator_uid. - */ - @Override - public Integer getCreatorUid() { - return (Integer) 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 Integer component1() { - return getDvid(); - } - - @Override - public Integer component2() { - return getDid(); - } - - @Override - public Integer component3() { - return getCreatorUid(); - } - - @Override - public String component4() { - return getName(); - } - - @Override - public String component5() { - return getVersionHash(); - } - - @Override - public Timestamp component6() { - return getCreationTime(); - } - - @Override - public Integer value1() { - return getDvid(); - } - - @Override - public Integer value2() { - return getDid(); - } - - @Override - public Integer 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(Integer value) { - setDvid(value); - return this; - } - - @Override - public DatasetVersionRecord value2(Integer value) { - setDid(value); - return this; - } - - @Override - public DatasetVersionRecord value3(Integer 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(Integer value1, Integer value2, Integer 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(Integer dvid, Integer did, Integer creatorUid, String name, String versionHash, Timestamp creationTime) { - super(DatasetVersion.DATASET_VERSION); - - setDvid(dvid); - setDid(did); - setCreatorUid(creatorUid); - setName(name); - setVersionHash(versionHash); - setCreationTime(creationTime); - } - - /** - * Create a detached, initialised DatasetVersionRecord - */ - public DatasetVersionRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.DatasetVersion value) { - super(DatasetVersion.DATASET_VERSION); - - if (value != null) { - setDvid(value.getDvid()); - setDid(value.getDid()); - setCreatorUid(value.getCreatorUid()); - setName(value.getName()); - setVersionHash(value.getVersionHash()); - setCreationTime(value.getCreationTime()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetViewCountRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetViewCountRecord.java deleted file mode 100644 index 5f5c85c45c9..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/DatasetViewCountRecord.java +++ /dev/null @@ -1,194 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.DatasetViewCount; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IDatasetViewCount; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class DatasetViewCountRecord extends UpdatableRecordImpl implements Record2, IDatasetViewCount { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.dataset_view_count.did. - */ - @Override - public void setDid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.dataset_view_count.did. - */ - @Override - public Integer getDid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.dataset_view_count.view_count. - */ - @Override - public void setViewCount(Integer value) { - set(1, value); - } - - /** - * Getter for texera_db.dataset_view_count.view_count. - */ - @Override - public Integer getViewCount() { - return (Integer) 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 DatasetViewCount.DATASET_VIEW_COUNT.DID; - } - - @Override - public Field field2() { - return DatasetViewCount.DATASET_VIEW_COUNT.VIEW_COUNT; - } - - @Override - public Integer component1() { - return getDid(); - } - - @Override - public Integer component2() { - return getViewCount(); - } - - @Override - public Integer value1() { - return getDid(); - } - - @Override - public Integer value2() { - return getViewCount(); - } - - @Override - public DatasetViewCountRecord value1(Integer value) { - setDid(value); - return this; - } - - @Override - public DatasetViewCountRecord value2(Integer value) { - setViewCount(value); - return this; - } - - @Override - public DatasetViewCountRecord values(Integer value1, Integer value2) { - value1(value1); - value2(value2); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IDatasetViewCount from) { - setDid(from.getDid()); - setViewCount(from.getViewCount()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached DatasetViewCountRecord - */ - public DatasetViewCountRecord() { - super(DatasetViewCount.DATASET_VIEW_COUNT); - } - - /** - * Create a detached, initialised DatasetViewCountRecord - */ - public DatasetViewCountRecord(Integer did, Integer viewCount) { - super(DatasetViewCount.DATASET_VIEW_COUNT); - - setDid(did); - setViewCount(viewCount); - } - - /** - * Create a detached, initialised DatasetViewCountRecord - */ - public DatasetViewCountRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.DatasetViewCount value) { - super(DatasetViewCount.DATASET_VIEW_COUNT); - - if (value != null) { - setDid(value.getDid()); - setViewCount(value.getViewCount()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/OperatorExecutionsRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/OperatorExecutionsRecord.java deleted file mode 100644 index febfa924e3a..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/OperatorExecutionsRecord.java +++ /dev/null @@ -1,282 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.OperatorExecutions; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IOperatorExecutions; - -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Record4; -import org.jooq.Row4; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class OperatorExecutionsRecord extends UpdatableRecordImpl implements Record4, IOperatorExecutions { - - private static final long serialVersionUID = 1L; - - /** - * Setter for - * texera_db.operator_executions.workflow_execution_id. - */ - @Override - public void setWorkflowExecutionId(Integer value) { - set(0, value); - } - - /** - * Getter for - * texera_db.operator_executions.workflow_execution_id. - */ - @Override - public Integer getWorkflowExecutionId() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.operator_executions.operator_id. - */ - @Override - public void setOperatorId(String value) { - set(1, value); - } - - /** - * Getter for texera_db.operator_executions.operator_id. - */ - @Override - public String getOperatorId() { - return (String) get(1); - } - - /** - * Setter for - * texera_db.operator_executions.console_messages_uri. - */ - @Override - public void setConsoleMessagesUri(String value) { - set(2, value); - } - - /** - * Getter for - * texera_db.operator_executions.console_messages_uri. - */ - @Override - public String getConsoleMessagesUri() { - return (String) get(2); - } - - /** - * Setter for - * texera_db.operator_executions.console_messages_size. - */ - @Override - public void setConsoleMessagesSize(Integer value) { - set(3, value); - } - - /** - * Getter for - * texera_db.operator_executions.console_messages_size. - */ - @Override - public Integer getConsoleMessagesSize() { - return (Integer) get(3); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record2 key() { - return (Record2) 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 OperatorExecutions.OPERATOR_EXECUTIONS.WORKFLOW_EXECUTION_ID; - } - - @Override - public Field field2() { - return OperatorExecutions.OPERATOR_EXECUTIONS.OPERATOR_ID; - } - - @Override - public Field field3() { - return OperatorExecutions.OPERATOR_EXECUTIONS.CONSOLE_MESSAGES_URI; - } - - @Override - public Field field4() { - return OperatorExecutions.OPERATOR_EXECUTIONS.CONSOLE_MESSAGES_SIZE; - } - - @Override - public Integer component1() { - return getWorkflowExecutionId(); - } - - @Override - public String component2() { - return getOperatorId(); - } - - @Override - public String component3() { - return getConsoleMessagesUri(); - } - - @Override - public Integer component4() { - return getConsoleMessagesSize(); - } - - @Override - public Integer value1() { - return getWorkflowExecutionId(); - } - - @Override - public String value2() { - return getOperatorId(); - } - - @Override - public String value3() { - return getConsoleMessagesUri(); - } - - @Override - public Integer value4() { - return getConsoleMessagesSize(); - } - - @Override - public OperatorExecutionsRecord value1(Integer value) { - setWorkflowExecutionId(value); - return this; - } - - @Override - public OperatorExecutionsRecord value2(String value) { - setOperatorId(value); - return this; - } - - @Override - public OperatorExecutionsRecord value3(String value) { - setConsoleMessagesUri(value); - return this; - } - - @Override - public OperatorExecutionsRecord value4(Integer value) { - setConsoleMessagesSize(value); - return this; - } - - @Override - public OperatorExecutionsRecord values(Integer value1, String value2, String value3, Integer value4) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IOperatorExecutions from) { - setWorkflowExecutionId(from.getWorkflowExecutionId()); - setOperatorId(from.getOperatorId()); - setConsoleMessagesUri(from.getConsoleMessagesUri()); - setConsoleMessagesSize(from.getConsoleMessagesSize()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached OperatorExecutionsRecord - */ - public OperatorExecutionsRecord() { - super(OperatorExecutions.OPERATOR_EXECUTIONS); - } - - /** - * Create a detached, initialised OperatorExecutionsRecord - */ - public OperatorExecutionsRecord(Integer workflowExecutionId, String operatorId, String consoleMessagesUri, Integer consoleMessagesSize) { - super(OperatorExecutions.OPERATOR_EXECUTIONS); - - setWorkflowExecutionId(workflowExecutionId); - setOperatorId(operatorId); - setConsoleMessagesUri(consoleMessagesUri); - setConsoleMessagesSize(consoleMessagesSize); - } - - /** - * Create a detached, initialised OperatorExecutionsRecord - */ - public OperatorExecutionsRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.OperatorExecutions value) { - super(OperatorExecutions.OPERATOR_EXECUTIONS); - - if (value != null) { - setWorkflowExecutionId(value.getWorkflowExecutionId()); - setOperatorId(value.getOperatorId()); - setConsoleMessagesUri(value.getConsoleMessagesUri()); - setConsoleMessagesSize(value.getConsoleMessagesSize()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/OperatorPortExecutionsRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/OperatorPortExecutionsRecord.java deleted file mode 100644 index 0b375101a6e..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/OperatorPortExecutionsRecord.java +++ /dev/null @@ -1,280 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.OperatorPortExecutions; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IOperatorPortExecutions; - -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Record4; -import org.jooq.Row4; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class OperatorPortExecutionsRecord extends UpdatableRecordImpl implements Record4, IOperatorPortExecutions { - - private static final long serialVersionUID = 1L; - - /** - * Setter for - * texera_db.operator_port_executions.workflow_execution_id. - */ - @Override - public void setWorkflowExecutionId(Integer value) { - set(0, value); - } - - /** - * Getter for - * texera_db.operator_port_executions.workflow_execution_id. - */ - @Override - public Integer getWorkflowExecutionId() { - return (Integer) get(0); - } - - /** - * Setter for - * texera_db.operator_port_executions.global_port_id. - */ - @Override - public void setGlobalPortId(String value) { - set(1, value); - } - - /** - * Getter for - * texera_db.operator_port_executions.global_port_id. - */ - @Override - public String getGlobalPortId() { - return (String) get(1); - } - - /** - * Setter for texera_db.operator_port_executions.result_uri. - */ - @Override - public void setResultUri(String value) { - set(2, value); - } - - /** - * Getter for texera_db.operator_port_executions.result_uri. - */ - @Override - public String getResultUri() { - return (String) get(2); - } - - /** - * Setter for texera_db.operator_port_executions.result_size. - */ - @Override - public void setResultSize(Integer value) { - set(3, value); - } - - /** - * Getter for texera_db.operator_port_executions.result_size. - */ - @Override - public Integer getResultSize() { - return (Integer) get(3); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record2 key() { - return (Record2) 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 OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.WORKFLOW_EXECUTION_ID; - } - - @Override - public Field field2() { - return OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.GLOBAL_PORT_ID; - } - - @Override - public Field field3() { - return OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.RESULT_URI; - } - - @Override - public Field field4() { - return OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS.RESULT_SIZE; - } - - @Override - public Integer component1() { - return getWorkflowExecutionId(); - } - - @Override - public String component2() { - return getGlobalPortId(); - } - - @Override - public String component3() { - return getResultUri(); - } - - @Override - public Integer component4() { - return getResultSize(); - } - - @Override - public Integer value1() { - return getWorkflowExecutionId(); - } - - @Override - public String value2() { - return getGlobalPortId(); - } - - @Override - public String value3() { - return getResultUri(); - } - - @Override - public Integer value4() { - return getResultSize(); - } - - @Override - public OperatorPortExecutionsRecord value1(Integer value) { - setWorkflowExecutionId(value); - return this; - } - - @Override - public OperatorPortExecutionsRecord value2(String value) { - setGlobalPortId(value); - return this; - } - - @Override - public OperatorPortExecutionsRecord value3(String value) { - setResultUri(value); - return this; - } - - @Override - public OperatorPortExecutionsRecord value4(Integer value) { - setResultSize(value); - return this; - } - - @Override - public OperatorPortExecutionsRecord values(Integer value1, String value2, String value3, Integer value4) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IOperatorPortExecutions from) { - setWorkflowExecutionId(from.getWorkflowExecutionId()); - setGlobalPortId(from.getGlobalPortId()); - setResultUri(from.getResultUri()); - setResultSize(from.getResultSize()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached OperatorPortExecutionsRecord - */ - public OperatorPortExecutionsRecord() { - super(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS); - } - - /** - * Create a detached, initialised OperatorPortExecutionsRecord - */ - public OperatorPortExecutionsRecord(Integer workflowExecutionId, String globalPortId, String resultUri, Integer resultSize) { - super(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS); - - setWorkflowExecutionId(workflowExecutionId); - setGlobalPortId(globalPortId); - setResultUri(resultUri); - setResultSize(resultSize); - } - - /** - * Create a detached, initialised OperatorPortExecutionsRecord - */ - public OperatorPortExecutionsRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.OperatorPortExecutions value) { - super(OperatorPortExecutions.OPERATOR_PORT_EXECUTIONS); - - if (value != null) { - setWorkflowExecutionId(value.getWorkflowExecutionId()); - setGlobalPortId(value.getGlobalPortId()); - setResultUri(value.getResultUri()); - setResultSize(value.getResultSize()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/ProjectRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/ProjectRecord.java deleted file mode 100644 index 6ae5ba52e4b..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/ProjectRecord.java +++ /dev/null @@ -1,360 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.Project; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IProject; - -import java.sql.Timestamp; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record6; -import org.jooq.Row6; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ProjectRecord extends UpdatableRecordImpl implements Record6, IProject { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.project.pid. - */ - @Override - public void setPid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.project.pid. - */ - @Override - public Integer getPid() { - return (Integer) 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(Integer value) { - set(3, value); - } - - /** - * Getter for texera_db.project.owner_id. - */ - @Override - public Integer getOwnerId() { - return (Integer) 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 Integer component1() { - return getPid(); - } - - @Override - public String component2() { - return getName(); - } - - @Override - public String component3() { - return getDescription(); - } - - @Override - public Integer component4() { - return getOwnerId(); - } - - @Override - public Timestamp component5() { - return getCreationTime(); - } - - @Override - public String component6() { - return getColor(); - } - - @Override - public Integer value1() { - return getPid(); - } - - @Override - public String value2() { - return getName(); - } - - @Override - public String value3() { - return getDescription(); - } - - @Override - public Integer value4() { - return getOwnerId(); - } - - @Override - public Timestamp value5() { - return getCreationTime(); - } - - @Override - public String value6() { - return getColor(); - } - - @Override - public ProjectRecord value1(Integer 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(Integer 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(Integer value1, String value2, String value3, Integer 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(Integer pid, String name, String description, Integer ownerId, Timestamp creationTime, String color) { - super(Project.PROJECT); - - setPid(pid); - setName(name); - setDescription(description); - setOwnerId(ownerId); - setCreationTime(creationTime); - setColor(color); - } - - /** - * Create a detached, initialised ProjectRecord - */ - public ProjectRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.Project value) { - super(Project.PROJECT); - - if (value != null) { - setPid(value.getPid()); - setName(value.getName()); - setDescription(value.getDescription()); - setOwnerId(value.getOwnerId()); - setCreationTime(value.getCreationTime()); - setColor(value.getColor()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/ProjectUserAccessRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/ProjectUserAccessRecord.java deleted file mode 100644 index 39884991eb1..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/ProjectUserAccessRecord.java +++ /dev/null @@ -1,236 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.ProjectUserAccess; -import edu.uci.ics.texera.dao.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; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ProjectUserAccessRecord extends UpdatableRecordImpl implements Record3, IProjectUserAccess { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.project_user_access.uid. - */ - @Override - public void setUid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.project_user_access.uid. - */ - @Override - public Integer getUid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.project_user_access.pid. - */ - @Override - public void setPid(Integer value) { - set(1, value); - } - - /** - * Getter for texera_db.project_user_access.pid. - */ - @Override - public Integer getPid() { - return (Integer) get(1); - } - - /** - * Setter for texera_db.project_user_access.privilege. - */ - @Override - public void setPrivilege(PrivilegeEnum value) { - set(2, value); - } - - /** - * Getter for texera_db.project_user_access.privilege. - */ - @Override - public PrivilegeEnum getPrivilege() { - return (PrivilegeEnum) 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 Integer component1() { - return getUid(); - } - - @Override - public Integer component2() { - return getPid(); - } - - @Override - public PrivilegeEnum component3() { - return getPrivilege(); - } - - @Override - public Integer value1() { - return getUid(); - } - - @Override - public Integer value2() { - return getPid(); - } - - @Override - public PrivilegeEnum value3() { - return getPrivilege(); - } - - @Override - public ProjectUserAccessRecord value1(Integer value) { - setUid(value); - return this; - } - - @Override - public ProjectUserAccessRecord value2(Integer value) { - setPid(value); - return this; - } - - @Override - public ProjectUserAccessRecord value3(PrivilegeEnum value) { - setPrivilege(value); - return this; - } - - @Override - public ProjectUserAccessRecord values(Integer value1, Integer value2, PrivilegeEnum 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(Integer uid, Integer pid, PrivilegeEnum privilege) { - super(ProjectUserAccess.PROJECT_USER_ACCESS); - - setUid(uid); - setPid(pid); - setPrivilege(privilege); - } - - /** - * Create a detached, initialised ProjectUserAccessRecord - */ - public ProjectUserAccessRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.ProjectUserAccess value) { - super(ProjectUserAccess.PROJECT_USER_ACCESS); - - if (value != null) { - setUid(value.getUid()); - setPid(value.getPid()); - setPrivilege(value.getPrivilege()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/PublicProjectRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/PublicProjectRecord.java deleted file mode 100644 index d76eb629149..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/PublicProjectRecord.java +++ /dev/null @@ -1,194 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.PublicProject; -import edu.uci.ics.texera.dao.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; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class PublicProjectRecord extends UpdatableRecordImpl implements Record2, IPublicProject { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.public_project.pid. - */ - @Override - public void setPid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.public_project.pid. - */ - @Override - public Integer getPid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.public_project.uid. - */ - @Override - public void setUid(Integer value) { - set(1, value); - } - - /** - * Getter for texera_db.public_project.uid. - */ - @Override - public Integer getUid() { - return (Integer) 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 Integer component1() { - return getPid(); - } - - @Override - public Integer component2() { - return getUid(); - } - - @Override - public Integer value1() { - return getPid(); - } - - @Override - public Integer value2() { - return getUid(); - } - - @Override - public PublicProjectRecord value1(Integer value) { - setPid(value); - return this; - } - - @Override - public PublicProjectRecord value2(Integer value) { - setUid(value); - return this; - } - - @Override - public PublicProjectRecord values(Integer value1, Integer 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(Integer pid, Integer uid) { - super(PublicProject.PUBLIC_PROJECT); - - setPid(pid); - setUid(uid); - } - - /** - * Create a detached, initialised PublicProjectRecord - */ - public PublicProjectRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.PublicProject value) { - super(PublicProject.PUBLIC_PROJECT); - - if (value != null) { - setPid(value.getPid()); - setUid(value.getUid()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/SiteSettingsRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/SiteSettingsRecord.java deleted file mode 100644 index 839fdb44807..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/SiteSettingsRecord.java +++ /dev/null @@ -1,278 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.SiteSettings; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.ISiteSettings; - -import java.sql.Timestamp; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record4; -import org.jooq.Row4; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SiteSettingsRecord extends UpdatableRecordImpl implements Record4, ISiteSettings { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.site_settings.key. - */ - @Override - public void setKey(String value) { - set(0, value); - } - - /** - * Getter for texera_db.site_settings.key. - */ - @Override - public String getKey() { - return (String) get(0); - } - - /** - * Setter for texera_db.site_settings.value. - */ - @Override - public void setValue(String value) { - set(1, value); - } - - /** - * Getter for texera_db.site_settings.value. - */ - @Override - public String getValue() { - return (String) get(1); - } - - /** - * Setter for texera_db.site_settings.updated_by. - */ - @Override - public void setUpdatedBy(String value) { - set(2, value); - } - - /** - * Getter for texera_db.site_settings.updated_by. - */ - @Override - public String getUpdatedBy() { - return (String) get(2); - } - - /** - * Setter for texera_db.site_settings.updated_at. - */ - @Override - public void setUpdatedAt(Timestamp value) { - set(3, value); - } - - /** - * Getter for texera_db.site_settings.updated_at. - */ - @Override - public Timestamp getUpdatedAt() { - 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 SiteSettings.SITE_SETTINGS.KEY; - } - - @Override - public Field field2() { - return SiteSettings.SITE_SETTINGS.VALUE; - } - - @Override - public Field field3() { - return SiteSettings.SITE_SETTINGS.UPDATED_BY; - } - - @Override - public Field field4() { - return SiteSettings.SITE_SETTINGS.UPDATED_AT; - } - - @Override - public String component1() { - return getKey(); - } - - @Override - public String component2() { - return getValue(); - } - - @Override - public String component3() { - return getUpdatedBy(); - } - - @Override - public Timestamp component4() { - return getUpdatedAt(); - } - - @Override - public String value1() { - return getKey(); - } - - @Override - public String value2() { - return getValue(); - } - - @Override - public String value3() { - return getUpdatedBy(); - } - - @Override - public Timestamp value4() { - return getUpdatedAt(); - } - - @Override - public SiteSettingsRecord value1(String value) { - setKey(value); - return this; - } - - @Override - public SiteSettingsRecord value2(String value) { - setValue(value); - return this; - } - - @Override - public SiteSettingsRecord value3(String value) { - setUpdatedBy(value); - return this; - } - - @Override - public SiteSettingsRecord value4(Timestamp value) { - setUpdatedAt(value); - return this; - } - - @Override - public SiteSettingsRecord values(String value1, String value2, String value3, Timestamp value4) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(ISiteSettings from) { - setKey(from.getKey()); - setValue(from.getValue()); - setUpdatedBy(from.getUpdatedBy()); - setUpdatedAt(from.getUpdatedAt()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SiteSettingsRecord - */ - public SiteSettingsRecord() { - super(SiteSettings.SITE_SETTINGS); - } - - /** - * Create a detached, initialised SiteSettingsRecord - */ - public SiteSettingsRecord(String key, String value, String updatedBy, Timestamp updatedAt) { - super(SiteSettings.SITE_SETTINGS); - - setKey(key); - setValue(value); - setUpdatedBy(updatedBy); - setUpdatedAt(updatedAt); - } - - /** - * Create a detached, initialised SiteSettingsRecord - */ - public SiteSettingsRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.SiteSettings value) { - super(SiteSettings.SITE_SETTINGS); - - if (value != null) { - setKey(value.getKey()); - setValue(value.getValue()); - setUpdatedBy(value.getUpdatedBy()); - setUpdatedAt(value.getUpdatedAt()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/TimeLogRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/TimeLogRecord.java deleted file mode 100644 index f1a4585bc1c..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/TimeLogRecord.java +++ /dev/null @@ -1,196 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.TimeLog; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.ITimeLog; - -import java.time.OffsetDateTime; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class TimeLogRecord extends UpdatableRecordImpl implements Record2, ITimeLog { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.time_log.uid. - */ - @Override - public void setUid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.time_log.uid. - */ - @Override - public Integer getUid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.time_log.last_login. - */ - @Override - public void setLastLogin(OffsetDateTime value) { - set(1, value); - } - - /** - * Getter for texera_db.time_log.last_login. - */ - @Override - public OffsetDateTime getLastLogin() { - return (OffsetDateTime) 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 TimeLog.TIME_LOG.UID; - } - - @Override - public Field field2() { - return TimeLog.TIME_LOG.LAST_LOGIN; - } - - @Override - public Integer component1() { - return getUid(); - } - - @Override - public OffsetDateTime component2() { - return getLastLogin(); - } - - @Override - public Integer value1() { - return getUid(); - } - - @Override - public OffsetDateTime value2() { - return getLastLogin(); - } - - @Override - public TimeLogRecord value1(Integer value) { - setUid(value); - return this; - } - - @Override - public TimeLogRecord value2(OffsetDateTime value) { - setLastLogin(value); - return this; - } - - @Override - public TimeLogRecord values(Integer value1, OffsetDateTime value2) { - value1(value1); - value2(value2); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(ITimeLog from) { - setUid(from.getUid()); - setLastLogin(from.getLastLogin()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached TimeLogRecord - */ - public TimeLogRecord() { - super(TimeLog.TIME_LOG); - } - - /** - * Create a detached, initialised TimeLogRecord - */ - public TimeLogRecord(Integer uid, OffsetDateTime lastLogin) { - super(TimeLog.TIME_LOG); - - setUid(uid); - setLastLogin(lastLogin); - } - - /** - * Create a detached, initialised TimeLogRecord - */ - public TimeLogRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.TimeLog value) { - super(TimeLog.TIME_LOG); - - if (value != null) { - setUid(value.getUid()); - setLastLogin(value.getLastLogin()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/UserActivityRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/UserActivityRecord.java deleted file mode 100644 index c28579ed9c2..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/UserActivityRecord.java +++ /dev/null @@ -1,350 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.UserActivity; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IUserActivity; - -import java.sql.Timestamp; - -import org.jooq.Field; -import org.jooq.Record6; -import org.jooq.Row6; -import org.jooq.impl.TableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class UserActivityRecord extends TableRecordImpl implements Record6, IUserActivity { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.user_activity.uid. - */ - @Override - public void setUid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.user_activity.uid. - */ - @Override - public Integer getUid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.user_activity.id. - */ - @Override - public void setId(Integer value) { - set(1, value); - } - - /** - * Getter for texera_db.user_activity.id. - */ - @Override - public Integer getId() { - return (Integer) get(1); - } - - /** - * Setter for texera_db.user_activity.type. - */ - @Override - public void setType(String value) { - set(2, value); - } - - /** - * Getter for texera_db.user_activity.type. - */ - @Override - public String getType() { - return (String) get(2); - } - - /** - * Setter for texera_db.user_activity.ip. - */ - @Override - public void setIp(String value) { - set(3, value); - } - - /** - * Getter for texera_db.user_activity.ip. - */ - @Override - public String getIp() { - return (String) get(3); - } - - /** - * Setter for texera_db.user_activity.activate. - */ - @Override - public void setActivate(String value) { - set(4, value); - } - - /** - * Getter for texera_db.user_activity.activate. - */ - @Override - public String getActivate() { - return (String) get(4); - } - - /** - * Setter for texera_db.user_activity.activity_time. - */ - @Override - public void setActivityTime(Timestamp value) { - set(5, value); - } - - /** - * Getter for texera_db.user_activity.activity_time. - */ - @Override - public Timestamp getActivityTime() { - return (Timestamp) get(5); - } - - // ------------------------------------------------------------------------- - // Record6 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row6 fieldsRow() { - return (Row6) super.fieldsRow(); - } - - @Override - public Row6 valuesRow() { - return (Row6) super.valuesRow(); - } - - @Override - public Field field1() { - return UserActivity.USER_ACTIVITY.UID; - } - - @Override - public Field field2() { - return UserActivity.USER_ACTIVITY.ID; - } - - @Override - public Field field3() { - return UserActivity.USER_ACTIVITY.TYPE; - } - - @Override - public Field field4() { - return UserActivity.USER_ACTIVITY.IP; - } - - @Override - public Field field5() { - return UserActivity.USER_ACTIVITY.ACTIVATE; - } - - @Override - public Field field6() { - return UserActivity.USER_ACTIVITY.ACTIVITY_TIME; - } - - @Override - public Integer component1() { - return getUid(); - } - - @Override - public Integer component2() { - return getId(); - } - - @Override - public String component3() { - return getType(); - } - - @Override - public String component4() { - return getIp(); - } - - @Override - public String component5() { - return getActivate(); - } - - @Override - public Timestamp component6() { - return getActivityTime(); - } - - @Override - public Integer value1() { - return getUid(); - } - - @Override - public Integer value2() { - return getId(); - } - - @Override - public String value3() { - return getType(); - } - - @Override - public String value4() { - return getIp(); - } - - @Override - public String value5() { - return getActivate(); - } - - @Override - public Timestamp value6() { - return getActivityTime(); - } - - @Override - public UserActivityRecord value1(Integer value) { - setUid(value); - return this; - } - - @Override - public UserActivityRecord value2(Integer value) { - setId(value); - return this; - } - - @Override - public UserActivityRecord value3(String value) { - setType(value); - return this; - } - - @Override - public UserActivityRecord value4(String value) { - setIp(value); - return this; - } - - @Override - public UserActivityRecord value5(String value) { - setActivate(value); - return this; - } - - @Override - public UserActivityRecord value6(Timestamp value) { - setActivityTime(value); - return this; - } - - @Override - public UserActivityRecord values(Integer value1, Integer value2, String 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(IUserActivity from) { - setUid(from.getUid()); - setId(from.getId()); - setType(from.getType()); - setIp(from.getIp()); - setActivate(from.getActivate()); - setActivityTime(from.getActivityTime()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached UserActivityRecord - */ - public UserActivityRecord() { - super(UserActivity.USER_ACTIVITY); - } - - /** - * Create a detached, initialised UserActivityRecord - */ - public UserActivityRecord(Integer uid, Integer id, String type, String ip, String activate, Timestamp activityTime) { - super(UserActivity.USER_ACTIVITY); - - setUid(uid); - setId(id); - setType(type); - setIp(ip); - setActivate(activate); - setActivityTime(activityTime); - } - - /** - * Create a detached, initialised UserActivityRecord - */ - public UserActivityRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.UserActivity value) { - super(UserActivity.USER_ACTIVITY); - - if (value != null) { - setUid(value.getUid()); - setId(value.getId()); - setType(value.getType()); - setIp(value.getIp()); - setActivate(value.getActivate()); - setActivityTime(value.getActivityTime()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/UserConfigRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/UserConfigRecord.java deleted file mode 100644 index 542b013a2f6..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/UserConfigRecord.java +++ /dev/null @@ -1,235 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.UserConfig; -import edu.uci.ics.texera.dao.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; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class UserConfigRecord extends UpdatableRecordImpl implements Record3, IUserConfig { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.user_config.uid. - */ - @Override - public void setUid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.user_config.uid. - */ - @Override - public Integer getUid() { - return (Integer) 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 Integer component1() { - return getUid(); - } - - @Override - public String component2() { - return getKey(); - } - - @Override - public String component3() { - return getValue(); - } - - @Override - public Integer value1() { - return getUid(); - } - - @Override - public String value2() { - return getKey(); - } - - @Override - public String value3() { - return getValue(); - } - - @Override - public UserConfigRecord value1(Integer 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(Integer 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(Integer uid, String key, String value) { - super(UserConfig.USER_CONFIG); - - setUid(uid); - setKey(key); - setValue(value); - } - - /** - * Create a detached, initialised UserConfigRecord - */ - public UserConfigRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.UserConfig value) { - super(UserConfig.USER_CONFIG); - - if (value != null) { - setUid(value.getUid()); - setKey(value.getKey()); - setValue(value.getValue()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/UserRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/UserRecord.java deleted file mode 100644 index 4f87a180c69..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/UserRecord.java +++ /dev/null @@ -1,441 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.UserRoleEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.User; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IUser; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record8; -import org.jooq.Row8; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class UserRecord extends UpdatableRecordImpl implements Record8, IUser { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.user.uid. - */ - @Override - public void setUid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.user.uid. - */ - @Override - public Integer getUid() { - return (Integer) 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.google_avatar. - */ - @Override - public void setGoogleAvatar(String value) { - set(5, value); - } - - /** - * Getter for texera_db.user.google_avatar. - */ - @Override - public String getGoogleAvatar() { - return (String) get(5); - } - - /** - * Setter for texera_db.user.role. - */ - @Override - public void setRole(UserRoleEnum value) { - set(6, value); - } - - /** - * Getter for texera_db.user.role. - */ - @Override - public UserRoleEnum getRole() { - return (UserRoleEnum) get(6); - } - - /** - * Setter for texera_db.user.comment. - */ - @Override - public void setComment(String value) { - set(7, value); - } - - /** - * Getter for texera_db.user.comment. - */ - @Override - public String getComment() { - return (String) get(7); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record8 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row8 fieldsRow() { - return (Row8) super.fieldsRow(); - } - - @Override - public Row8 valuesRow() { - return (Row8) 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.GOOGLE_AVATAR; - } - - @Override - public Field field7() { - return User.USER.ROLE; - } - - @Override - public Field field8() { - return User.USER.COMMENT; - } - - @Override - public Integer 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 String component6() { - return getGoogleAvatar(); - } - - @Override - public UserRoleEnum component7() { - return getRole(); - } - - @Override - public String component8() { - return getComment(); - } - - @Override - public Integer 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 String value6() { - return getGoogleAvatar(); - } - - @Override - public UserRoleEnum value7() { - return getRole(); - } - - @Override - public String value8() { - return getComment(); - } - - @Override - public UserRecord value1(Integer 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(String value) { - setGoogleAvatar(value); - return this; - } - - @Override - public UserRecord value7(UserRoleEnum value) { - setRole(value); - return this; - } - - @Override - public UserRecord value8(String value) { - setComment(value); - return this; - } - - @Override - public UserRecord values(Integer value1, String value2, String value3, String value4, String value5, String value6, UserRoleEnum value7, String value8) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - 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()); - setGoogleAvatar(from.getGoogleAvatar()); - setRole(from.getRole()); - setComment(from.getComment()); - } - - @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(Integer uid, String name, String email, String password, String googleId, String googleAvatar, UserRoleEnum role, String comment) { - super(User.USER); - - setUid(uid); - setName(name); - setEmail(email); - setPassword(password); - setGoogleId(googleId); - setGoogleAvatar(googleAvatar); - setRole(role); - setComment(comment); - } - - /** - * Create a detached, initialised UserRecord - */ - public UserRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.User value) { - super(User.USER); - - if (value != null) { - setUid(value.getUid()); - setName(value.getName()); - setEmail(value.getEmail()); - setPassword(value.getPassword()); - setGoogleId(value.getGoogleId()); - setGoogleAvatar(value.getGoogleAvatar()); - setRole(value.getRole()); - setComment(value.getComment()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowComputingUnitRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowComputingUnitRecord.java deleted file mode 100644 index dd608c296b9..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowComputingUnitRecord.java +++ /dev/null @@ -1,443 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.WorkflowComputingUnitTypeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowComputingUnit; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IWorkflowComputingUnit; - -import java.sql.Timestamp; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record8; -import org.jooq.Row8; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowComputingUnitRecord extends UpdatableRecordImpl implements Record8, IWorkflowComputingUnit { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.workflow_computing_unit.uid. - */ - @Override - public void setUid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_computing_unit.uid. - */ - @Override - public Integer getUid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.workflow_computing_unit.name. - */ - @Override - public void setName(String value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_computing_unit.name. - */ - @Override - public String getName() { - return (String) get(1); - } - - /** - * Setter for texera_db.workflow_computing_unit.cuid. - */ - @Override - public void setCuid(Integer value) { - set(2, value); - } - - /** - * Getter for texera_db.workflow_computing_unit.cuid. - */ - @Override - public Integer getCuid() { - return (Integer) get(2); - } - - /** - * Setter for texera_db.workflow_computing_unit.creation_time. - */ - @Override - public void setCreationTime(Timestamp value) { - set(3, value); - } - - /** - * Getter for texera_db.workflow_computing_unit.creation_time. - */ - @Override - public Timestamp getCreationTime() { - return (Timestamp) get(3); - } - - /** - * Setter for texera_db.workflow_computing_unit.terminate_time. - */ - @Override - public void setTerminateTime(Timestamp value) { - set(4, value); - } - - /** - * Getter for texera_db.workflow_computing_unit.terminate_time. - */ - @Override - public Timestamp getTerminateTime() { - return (Timestamp) get(4); - } - - /** - * Setter for texera_db.workflow_computing_unit.type. - */ - @Override - public void setType(WorkflowComputingUnitTypeEnum value) { - set(5, value); - } - - /** - * Getter for texera_db.workflow_computing_unit.type. - */ - @Override - public WorkflowComputingUnitTypeEnum getType() { - return (WorkflowComputingUnitTypeEnum) get(5); - } - - /** - * Setter for texera_db.workflow_computing_unit.uri. - */ - @Override - public void setUri(String value) { - set(6, value); - } - - /** - * Getter for texera_db.workflow_computing_unit.uri. - */ - @Override - public String getUri() { - return (String) get(6); - } - - /** - * Setter for texera_db.workflow_computing_unit.resource. - */ - @Override - public void setResource(String value) { - set(7, value); - } - - /** - * Getter for texera_db.workflow_computing_unit.resource. - */ - @Override - public String getResource() { - return (String) get(7); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record8 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row8 fieldsRow() { - return (Row8) super.fieldsRow(); - } - - @Override - public Row8 valuesRow() { - return (Row8) super.valuesRow(); - } - - @Override - public Field field1() { - return WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.UID; - } - - @Override - public Field field2() { - return WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.NAME; - } - - @Override - public Field field3() { - return WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CUID; - } - - @Override - public Field field4() { - return WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.CREATION_TIME; - } - - @Override - public Field field5() { - return WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.TERMINATE_TIME; - } - - @Override - public Field field6() { - return WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.TYPE; - } - - @Override - public Field field7() { - return WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.URI; - } - - @Override - public Field field8() { - return WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT.RESOURCE; - } - - @Override - public Integer component1() { - return getUid(); - } - - @Override - public String component2() { - return getName(); - } - - @Override - public Integer component3() { - return getCuid(); - } - - @Override - public Timestamp component4() { - return getCreationTime(); - } - - @Override - public Timestamp component5() { - return getTerminateTime(); - } - - @Override - public WorkflowComputingUnitTypeEnum component6() { - return getType(); - } - - @Override - public String component7() { - return getUri(); - } - - @Override - public String component8() { - return getResource(); - } - - @Override - public Integer value1() { - return getUid(); - } - - @Override - public String value2() { - return getName(); - } - - @Override - public Integer value3() { - return getCuid(); - } - - @Override - public Timestamp value4() { - return getCreationTime(); - } - - @Override - public Timestamp value5() { - return getTerminateTime(); - } - - @Override - public WorkflowComputingUnitTypeEnum value6() { - return getType(); - } - - @Override - public String value7() { - return getUri(); - } - - @Override - public String value8() { - return getResource(); - } - - @Override - public WorkflowComputingUnitRecord value1(Integer value) { - setUid(value); - return this; - } - - @Override - public WorkflowComputingUnitRecord value2(String value) { - setName(value); - return this; - } - - @Override - public WorkflowComputingUnitRecord value3(Integer value) { - setCuid(value); - return this; - } - - @Override - public WorkflowComputingUnitRecord value4(Timestamp value) { - setCreationTime(value); - return this; - } - - @Override - public WorkflowComputingUnitRecord value5(Timestamp value) { - setTerminateTime(value); - return this; - } - - @Override - public WorkflowComputingUnitRecord value6(WorkflowComputingUnitTypeEnum value) { - setType(value); - return this; - } - - @Override - public WorkflowComputingUnitRecord value7(String value) { - setUri(value); - return this; - } - - @Override - public WorkflowComputingUnitRecord value8(String value) { - setResource(value); - return this; - } - - @Override - public WorkflowComputingUnitRecord values(Integer value1, String value2, Integer value3, Timestamp value4, Timestamp value5, WorkflowComputingUnitTypeEnum value6, String value7, String value8) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowComputingUnit from) { - setUid(from.getUid()); - setName(from.getName()); - setCuid(from.getCuid()); - setCreationTime(from.getCreationTime()); - setTerminateTime(from.getTerminateTime()); - setType(from.getType()); - setUri(from.getUri()); - setResource(from.getResource()); - } - - @Override - public E into(E into) { - into.from(this); - return into; - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached WorkflowComputingUnitRecord - */ - public WorkflowComputingUnitRecord() { - super(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT); - } - - /** - * Create a detached, initialised WorkflowComputingUnitRecord - */ - public WorkflowComputingUnitRecord(Integer uid, String name, Integer cuid, Timestamp creationTime, Timestamp terminateTime, WorkflowComputingUnitTypeEnum type, String uri, String resource) { - super(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT); - - setUid(uid); - setName(name); - setCuid(cuid); - setCreationTime(creationTime); - setTerminateTime(terminateTime); - setType(type); - setUri(uri); - setResource(resource); - } - - /** - * Create a detached, initialised WorkflowComputingUnitRecord - */ - public WorkflowComputingUnitRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowComputingUnit value) { - super(WorkflowComputingUnit.WORKFLOW_COMPUTING_UNIT); - - if (value != null) { - setUid(value.getUid()); - setName(value.getName()); - setCuid(value.getCuid()); - setCreationTime(value.getCreationTime()); - setTerminateTime(value.getTerminateTime()); - setType(value.getType()); - setUri(value.getUri()); - setResource(value.getResource()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowExecutionsRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowExecutionsRecord.java deleted file mode 100644 index e1b43baf686..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowExecutionsRecord.java +++ /dev/null @@ -1,690 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowExecutions; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IWorkflowExecutions; - -import java.sql.Timestamp; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record14; -import org.jooq.Row14; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowExecutionsRecord extends UpdatableRecordImpl implements Record14, IWorkflowExecutions { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.workflow_executions.eid. - */ - @Override - public void setEid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_executions.eid. - */ - @Override - public Integer getEid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.workflow_executions.vid. - */ - @Override - public void setVid(Integer value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_executions.vid. - */ - @Override - public Integer getVid() { - return (Integer) get(1); - } - - /** - * Setter for texera_db.workflow_executions.uid. - */ - @Override - public void setUid(Integer value) { - set(2, value); - } - - /** - * Getter for texera_db.workflow_executions.uid. - */ - @Override - public Integer getUid() { - return (Integer) get(2); - } - - /** - * Setter for texera_db.workflow_executions.cuid. - */ - @Override - public void setCuid(Integer value) { - set(3, value); - } - - /** - * Getter for texera_db.workflow_executions.cuid. - */ - @Override - public Integer getCuid() { - return (Integer) get(3); - } - - /** - * Setter for texera_db.workflow_executions.status. - */ - @Override - public void setStatus(Short value) { - set(4, value); - } - - /** - * Getter for texera_db.workflow_executions.status. - */ - @Override - public Short getStatus() { - return (Short) get(4); - } - - /** - * Setter for texera_db.workflow_executions.result. - */ - @Override - public void setResult(String value) { - set(5, value); - } - - /** - * Getter for texera_db.workflow_executions.result. - */ - @Override - public String getResult() { - return (String) get(5); - } - - /** - * Setter for texera_db.workflow_executions.starting_time. - */ - @Override - public void setStartingTime(Timestamp value) { - set(6, value); - } - - /** - * Getter for texera_db.workflow_executions.starting_time. - */ - @Override - public Timestamp getStartingTime() { - return (Timestamp) get(6); - } - - /** - * Setter for texera_db.workflow_executions.last_update_time. - */ - @Override - public void setLastUpdateTime(Timestamp value) { - set(7, value); - } - - /** - * Getter for texera_db.workflow_executions.last_update_time. - */ - @Override - public Timestamp getLastUpdateTime() { - return (Timestamp) get(7); - } - - /** - * Setter for texera_db.workflow_executions.bookmarked. - */ - @Override - public void setBookmarked(Boolean value) { - set(8, value); - } - - /** - * Getter for texera_db.workflow_executions.bookmarked. - */ - @Override - public Boolean getBookmarked() { - return (Boolean) get(8); - } - - /** - * Setter for texera_db.workflow_executions.name. - */ - @Override - public void setName(String value) { - set(9, value); - } - - /** - * Getter for texera_db.workflow_executions.name. - */ - @Override - public String getName() { - return (String) get(9); - } - - /** - * Setter for - * texera_db.workflow_executions.environment_version. - */ - @Override - public void setEnvironmentVersion(String value) { - set(10, value); - } - - /** - * Getter for - * texera_db.workflow_executions.environment_version. - */ - @Override - public String getEnvironmentVersion() { - return (String) get(10); - } - - /** - * Setter for texera_db.workflow_executions.log_location. - */ - @Override - public void setLogLocation(String value) { - set(11, value); - } - - /** - * Getter for texera_db.workflow_executions.log_location. - */ - @Override - public String getLogLocation() { - return (String) get(11); - } - - /** - * Setter for texera_db.workflow_executions.runtime_stats_uri. - */ - @Override - public void setRuntimeStatsUri(String value) { - set(12, value); - } - - /** - * Getter for texera_db.workflow_executions.runtime_stats_uri. - */ - @Override - public String getRuntimeStatsUri() { - return (String) get(12); - } - - /** - * Setter for texera_db.workflow_executions.runtime_stats_size. - */ - @Override - public void setRuntimeStatsSize(Integer value) { - set(13, value); - } - - /** - * Getter for texera_db.workflow_executions.runtime_stats_size. - */ - @Override - public Integer getRuntimeStatsSize() { - return (Integer) get(13); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Record14 type implementation - // ------------------------------------------------------------------------- - - @Override - public Row14 fieldsRow() { - return (Row14) super.fieldsRow(); - } - - @Override - public Row14 valuesRow() { - return (Row14) 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.CUID; - } - - @Override - public Field field5() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.STATUS; - } - - @Override - public Field field6() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.RESULT; - } - - @Override - public Field field7() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.STARTING_TIME; - } - - @Override - public Field field8() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.LAST_UPDATE_TIME; - } - - @Override - public Field field9() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.BOOKMARKED; - } - - @Override - public Field field10() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.NAME; - } - - @Override - public Field field11() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.ENVIRONMENT_VERSION; - } - - @Override - public Field field12() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.LOG_LOCATION; - } - - @Override - public Field field13() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.RUNTIME_STATS_URI; - } - - @Override - public Field field14() { - return WorkflowExecutions.WORKFLOW_EXECUTIONS.RUNTIME_STATS_SIZE; - } - - @Override - public Integer component1() { - return getEid(); - } - - @Override - public Integer component2() { - return getVid(); - } - - @Override - public Integer component3() { - return getUid(); - } - - @Override - public Integer component4() { - return getCuid(); - } - - @Override - public Short component5() { - return getStatus(); - } - - @Override - public String component6() { - return getResult(); - } - - @Override - public Timestamp component7() { - return getStartingTime(); - } - - @Override - public Timestamp component8() { - return getLastUpdateTime(); - } - - @Override - public Boolean component9() { - return getBookmarked(); - } - - @Override - public String component10() { - return getName(); - } - - @Override - public String component11() { - return getEnvironmentVersion(); - } - - @Override - public String component12() { - return getLogLocation(); - } - - @Override - public String component13() { - return getRuntimeStatsUri(); - } - - @Override - public Integer component14() { - return getRuntimeStatsSize(); - } - - @Override - public Integer value1() { - return getEid(); - } - - @Override - public Integer value2() { - return getVid(); - } - - @Override - public Integer value3() { - return getUid(); - } - - @Override - public Integer value4() { - return getCuid(); - } - - @Override - public Short value5() { - return getStatus(); - } - - @Override - public String value6() { - return getResult(); - } - - @Override - public Timestamp value7() { - return getStartingTime(); - } - - @Override - public Timestamp value8() { - return getLastUpdateTime(); - } - - @Override - public Boolean value9() { - return getBookmarked(); - } - - @Override - public String value10() { - return getName(); - } - - @Override - public String value11() { - return getEnvironmentVersion(); - } - - @Override - public String value12() { - return getLogLocation(); - } - - @Override - public String value13() { - return getRuntimeStatsUri(); - } - - @Override - public Integer value14() { - return getRuntimeStatsSize(); - } - - @Override - public WorkflowExecutionsRecord value1(Integer value) { - setEid(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value2(Integer value) { - setVid(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value3(Integer value) { - setUid(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value4(Integer value) { - setCuid(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value5(Short value) { - setStatus(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value6(String value) { - setResult(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value7(Timestamp value) { - setStartingTime(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value8(Timestamp value) { - setLastUpdateTime(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value9(Boolean value) { - setBookmarked(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value10(String value) { - setName(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value11(String value) { - setEnvironmentVersion(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value12(String value) { - setLogLocation(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value13(String value) { - setRuntimeStatsUri(value); - return this; - } - - @Override - public WorkflowExecutionsRecord value14(Integer value) { - setRuntimeStatsSize(value); - return this; - } - - @Override - public WorkflowExecutionsRecord values(Integer value1, Integer value2, Integer value3, Integer value4, Short value5, String value6, Timestamp value7, Timestamp value8, Boolean value9, String value10, String value11, String value12, String value13, Integer value14) { - value1(value1); - value2(value2); - value3(value3); - value4(value4); - value5(value5); - value6(value6); - value7(value7); - value8(value8); - value9(value9); - value10(value10); - value11(value11); - value12(value12); - value13(value13); - value14(value14); - return this; - } - - // ------------------------------------------------------------------------- - // FROM and INTO - // ------------------------------------------------------------------------- - - @Override - public void from(IWorkflowExecutions from) { - setEid(from.getEid()); - setVid(from.getVid()); - setUid(from.getUid()); - setCuid(from.getCuid()); - setStatus(from.getStatus()); - setResult(from.getResult()); - setStartingTime(from.getStartingTime()); - setLastUpdateTime(from.getLastUpdateTime()); - setBookmarked(from.getBookmarked()); - setName(from.getName()); - setEnvironmentVersion(from.getEnvironmentVersion()); - setLogLocation(from.getLogLocation()); - setRuntimeStatsUri(from.getRuntimeStatsUri()); - setRuntimeStatsSize(from.getRuntimeStatsSize()); - } - - @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(Integer eid, Integer vid, Integer uid, Integer cuid, Short status, String result, Timestamp startingTime, Timestamp lastUpdateTime, Boolean bookmarked, String name, String environmentVersion, String logLocation, String runtimeStatsUri, Integer runtimeStatsSize) { - super(WorkflowExecutions.WORKFLOW_EXECUTIONS); - - setEid(eid); - setVid(vid); - setUid(uid); - setCuid(cuid); - setStatus(status); - setResult(result); - setStartingTime(startingTime); - setLastUpdateTime(lastUpdateTime); - setBookmarked(bookmarked); - setName(name); - setEnvironmentVersion(environmentVersion); - setLogLocation(logLocation); - setRuntimeStatsUri(runtimeStatsUri); - setRuntimeStatsSize(runtimeStatsSize); - } - - /** - * Create a detached, initialised WorkflowExecutionsRecord - */ - public WorkflowExecutionsRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowExecutions value) { - super(WorkflowExecutions.WORKFLOW_EXECUTIONS); - - if (value != null) { - setEid(value.getEid()); - setVid(value.getVid()); - setUid(value.getUid()); - setCuid(value.getCuid()); - setStatus(value.getStatus()); - setResult(value.getResult()); - setStartingTime(value.getStartingTime()); - setLastUpdateTime(value.getLastUpdateTime()); - setBookmarked(value.getBookmarked()); - setName(value.getName()); - setEnvironmentVersion(value.getEnvironmentVersion()); - setLogLocation(value.getLogLocation()); - setRuntimeStatsUri(value.getRuntimeStatsUri()); - setRuntimeStatsSize(value.getRuntimeStatsSize()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowOfProjectRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowOfProjectRecord.java deleted file mode 100644 index a02c126d651..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowOfProjectRecord.java +++ /dev/null @@ -1,193 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowOfProject; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IWorkflowOfProject; - -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowOfProjectRecord extends UpdatableRecordImpl implements Record2, IWorkflowOfProject { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.workflow_of_project.wid. - */ - @Override - public void setWid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_of_project.wid. - */ - @Override - public Integer getWid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.workflow_of_project.pid. - */ - @Override - public void setPid(Integer value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_of_project.pid. - */ - @Override - public Integer getPid() { - return (Integer) 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 Integer component1() { - return getWid(); - } - - @Override - public Integer component2() { - return getPid(); - } - - @Override - public Integer value1() { - return getWid(); - } - - @Override - public Integer value2() { - return getPid(); - } - - @Override - public WorkflowOfProjectRecord value1(Integer value) { - setWid(value); - return this; - } - - @Override - public WorkflowOfProjectRecord value2(Integer value) { - setPid(value); - return this; - } - - @Override - public WorkflowOfProjectRecord values(Integer value1, Integer 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(Integer wid, Integer pid) { - super(WorkflowOfProject.WORKFLOW_OF_PROJECT); - - setWid(wid); - setPid(pid); - } - - /** - * Create a detached, initialised WorkflowOfProjectRecord - */ - public WorkflowOfProjectRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowOfProject value) { - super(WorkflowOfProject.WORKFLOW_OF_PROJECT); - - if (value != null) { - setWid(value.getWid()); - setPid(value.getPid()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowOfUserRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowOfUserRecord.java deleted file mode 100644 index 969131abb66..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowOfUserRecord.java +++ /dev/null @@ -1,193 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowOfUser; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IWorkflowOfUser; - -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowOfUserRecord extends UpdatableRecordImpl implements Record2, IWorkflowOfUser { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.workflow_of_user.uid. - */ - @Override - public void setUid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_of_user.uid. - */ - @Override - public Integer getUid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.workflow_of_user.wid. - */ - @Override - public void setWid(Integer value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_of_user.wid. - */ - @Override - public Integer getWid() { - return (Integer) 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 Integer component1() { - return getUid(); - } - - @Override - public Integer component2() { - return getWid(); - } - - @Override - public Integer value1() { - return getUid(); - } - - @Override - public Integer value2() { - return getWid(); - } - - @Override - public WorkflowOfUserRecord value1(Integer value) { - setUid(value); - return this; - } - - @Override - public WorkflowOfUserRecord value2(Integer value) { - setWid(value); - return this; - } - - @Override - public WorkflowOfUserRecord values(Integer value1, Integer 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(Integer uid, Integer wid) { - super(WorkflowOfUser.WORKFLOW_OF_USER); - - setUid(uid); - setWid(wid); - } - - /** - * Create a detached, initialised WorkflowOfUserRecord - */ - public WorkflowOfUserRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowOfUser value) { - super(WorkflowOfUser.WORKFLOW_OF_USER); - - if (value != null) { - setUid(value.getUid()); - setWid(value.getWid()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowRecord.java deleted file mode 100644 index c45779c5fe2..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowRecord.java +++ /dev/null @@ -1,401 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.Workflow; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IWorkflow; - -import java.sql.Timestamp; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record7; -import org.jooq.Row7; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowRecord extends UpdatableRecordImpl implements Record7, IWorkflow { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.workflow.wid. - */ - @Override - public void setWid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow.wid. - */ - @Override - public Integer getWid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.workflow.name. - */ - @Override - public void setName(String value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow.name. - */ - @Override - public String getName() { - return (String) get(1); - } - - /** - * Setter for texera_db.workflow.description. - */ - @Override - public void setDescription(String value) { - set(2, value); - } - - /** - * Getter for texera_db.workflow.description. - */ - @Override - public String getDescription() { - return (String) 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_public. - */ - @Override - public void setIsPublic(Boolean value) { - set(6, value); - } - - /** - * Getter for texera_db.workflow.is_public. - */ - @Override - public Boolean getIsPublic() { - return (Boolean) 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.WID; - } - - @Override - public Field field2() { - return Workflow.WORKFLOW.NAME; - } - - @Override - public Field field3() { - return Workflow.WORKFLOW.DESCRIPTION; - } - - @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_PUBLIC; - } - - @Override - public Integer component1() { - return getWid(); - } - - @Override - public String component2() { - return getName(); - } - - @Override - public String component3() { - return getDescription(); - } - - @Override - public String component4() { - return getContent(); - } - - @Override - public Timestamp component5() { - return getCreationTime(); - } - - @Override - public Timestamp component6() { - return getLastModifiedTime(); - } - - @Override - public Boolean component7() { - return getIsPublic(); - } - - @Override - public Integer value1() { - return getWid(); - } - - @Override - public String value2() { - return getName(); - } - - @Override - public String value3() { - return getDescription(); - } - - @Override - public String value4() { - return getContent(); - } - - @Override - public Timestamp value5() { - return getCreationTime(); - } - - @Override - public Timestamp value6() { - return getLastModifiedTime(); - } - - @Override - public Boolean value7() { - return getIsPublic(); - } - - @Override - public WorkflowRecord value1(Integer value) { - setWid(value); - return this; - } - - @Override - public WorkflowRecord value2(String value) { - setName(value); - return this; - } - - @Override - public WorkflowRecord value3(String value) { - setDescription(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(Boolean value) { - setIsPublic(value); - return this; - } - - @Override - public WorkflowRecord values(Integer value1, String value2, String value3, String value4, Timestamp value5, Timestamp value6, Boolean 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) { - setWid(from.getWid()); - setName(from.getName()); - setDescription(from.getDescription()); - setContent(from.getContent()); - setCreationTime(from.getCreationTime()); - setLastModifiedTime(from.getLastModifiedTime()); - setIsPublic(from.getIsPublic()); - } - - @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(Integer wid, String name, String description, String content, Timestamp creationTime, Timestamp lastModifiedTime, Boolean isPublic) { - super(Workflow.WORKFLOW); - - setWid(wid); - setName(name); - setDescription(description); - setContent(content); - setCreationTime(creationTime); - setLastModifiedTime(lastModifiedTime); - setIsPublic(isPublic); - } - - /** - * Create a detached, initialised WorkflowRecord - */ - public WorkflowRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.Workflow value) { - super(Workflow.WORKFLOW); - - if (value != null) { - setWid(value.getWid()); - setName(value.getName()); - setDescription(value.getDescription()); - setContent(value.getContent()); - setCreationTime(value.getCreationTime()); - setLastModifiedTime(value.getLastModifiedTime()); - setIsPublic(value.getIsPublic()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowUserAccessRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowUserAccessRecord.java deleted file mode 100644 index 2251ad0a362..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowUserAccessRecord.java +++ /dev/null @@ -1,236 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.enums.PrivilegeEnum; -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowUserAccess; -import edu.uci.ics.texera.dao.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; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowUserAccessRecord extends UpdatableRecordImpl implements Record3, IWorkflowUserAccess { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.workflow_user_access.uid. - */ - @Override - public void setUid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_user_access.uid. - */ - @Override - public Integer getUid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.workflow_user_access.wid. - */ - @Override - public void setWid(Integer value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_user_access.wid. - */ - @Override - public Integer getWid() { - return (Integer) get(1); - } - - /** - * Setter for texera_db.workflow_user_access.privilege. - */ - @Override - public void setPrivilege(PrivilegeEnum value) { - set(2, value); - } - - /** - * Getter for texera_db.workflow_user_access.privilege. - */ - @Override - public PrivilegeEnum getPrivilege() { - return (PrivilegeEnum) 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 Integer component1() { - return getUid(); - } - - @Override - public Integer component2() { - return getWid(); - } - - @Override - public PrivilegeEnum component3() { - return getPrivilege(); - } - - @Override - public Integer value1() { - return getUid(); - } - - @Override - public Integer value2() { - return getWid(); - } - - @Override - public PrivilegeEnum value3() { - return getPrivilege(); - } - - @Override - public WorkflowUserAccessRecord value1(Integer value) { - setUid(value); - return this; - } - - @Override - public WorkflowUserAccessRecord value2(Integer value) { - setWid(value); - return this; - } - - @Override - public WorkflowUserAccessRecord value3(PrivilegeEnum value) { - setPrivilege(value); - return this; - } - - @Override - public WorkflowUserAccessRecord values(Integer value1, Integer value2, PrivilegeEnum 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(Integer uid, Integer wid, PrivilegeEnum privilege) { - super(WorkflowUserAccess.WORKFLOW_USER_ACCESS); - - setUid(uid); - setWid(wid); - setPrivilege(privilege); - } - - /** - * Create a detached, initialised WorkflowUserAccessRecord - */ - public WorkflowUserAccessRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowUserAccess value) { - super(WorkflowUserAccess.WORKFLOW_USER_ACCESS); - - if (value != null) { - setUid(value.getUid()); - setWid(value.getWid()); - setPrivilege(value.getPrivilege()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowUserClonesRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowUserClonesRecord.java deleted file mode 100644 index 35d41bcec10..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowUserClonesRecord.java +++ /dev/null @@ -1,193 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowUserClones; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IWorkflowUserClones; - -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowUserClonesRecord extends UpdatableRecordImpl implements Record2, IWorkflowUserClones { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.workflow_user_clones.uid. - */ - @Override - public void setUid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_user_clones.uid. - */ - @Override - public Integer getUid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.workflow_user_clones.wid. - */ - @Override - public void setWid(Integer value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_user_clones.wid. - */ - @Override - public Integer getWid() { - return (Integer) 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 Integer component1() { - return getUid(); - } - - @Override - public Integer component2() { - return getWid(); - } - - @Override - public Integer value1() { - return getUid(); - } - - @Override - public Integer value2() { - return getWid(); - } - - @Override - public WorkflowUserClonesRecord value1(Integer value) { - setUid(value); - return this; - } - - @Override - public WorkflowUserClonesRecord value2(Integer value) { - setWid(value); - return this; - } - - @Override - public WorkflowUserClonesRecord values(Integer value1, Integer 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(Integer uid, Integer wid) { - super(WorkflowUserClones.WORKFLOW_USER_CLONES); - - setUid(uid); - setWid(wid); - } - - /** - * Create a detached, initialised WorkflowUserClonesRecord - */ - public WorkflowUserClonesRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowUserClones value) { - super(WorkflowUserClones.WORKFLOW_USER_CLONES); - - if (value != null) { - setUid(value.getUid()); - setWid(value.getWid()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowUserLikesRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowUserLikesRecord.java deleted file mode 100644 index 19304cbfe0c..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowUserLikesRecord.java +++ /dev/null @@ -1,193 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowUserLikes; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IWorkflowUserLikes; - -import org.jooq.Field; -import org.jooq.Record2; -import org.jooq.Row2; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowUserLikesRecord extends UpdatableRecordImpl implements Record2, IWorkflowUserLikes { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.workflow_user_likes.uid. - */ - @Override - public void setUid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_user_likes.uid. - */ - @Override - public Integer getUid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.workflow_user_likes.wid. - */ - @Override - public void setWid(Integer value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_user_likes.wid. - */ - @Override - public Integer getWid() { - return (Integer) 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 Integer component1() { - return getUid(); - } - - @Override - public Integer component2() { - return getWid(); - } - - @Override - public Integer value1() { - return getUid(); - } - - @Override - public Integer value2() { - return getWid(); - } - - @Override - public WorkflowUserLikesRecord value1(Integer value) { - setUid(value); - return this; - } - - @Override - public WorkflowUserLikesRecord value2(Integer value) { - setWid(value); - return this; - } - - @Override - public WorkflowUserLikesRecord values(Integer value1, Integer 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(Integer uid, Integer wid) { - super(WorkflowUserLikes.WORKFLOW_USER_LIKES); - - setUid(uid); - setWid(wid); - } - - /** - * Create a detached, initialised WorkflowUserLikesRecord - */ - public WorkflowUserLikesRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowUserLikes value) { - super(WorkflowUserLikes.WORKFLOW_USER_LIKES); - - if (value != null) { - setUid(value.getUid()); - setWid(value.getWid()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowVersionRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowVersionRecord.java deleted file mode 100644 index e47431d86dd..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowVersionRecord.java +++ /dev/null @@ -1,278 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowVersion; -import edu.uci.ics.texera.dao.jooq.generated.tables.interfaces.IWorkflowVersion; - -import java.sql.Timestamp; - -import org.jooq.Field; -import org.jooq.Record1; -import org.jooq.Record4; -import org.jooq.Row4; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowVersionRecord extends UpdatableRecordImpl implements Record4, IWorkflowVersion { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.workflow_version.vid. - */ - @Override - public void setVid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_version.vid. - */ - @Override - public Integer getVid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.workflow_version.wid. - */ - @Override - public void setWid(Integer value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_version.wid. - */ - @Override - public Integer getWid() { - return (Integer) 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 Integer component1() { - return getVid(); - } - - @Override - public Integer component2() { - return getWid(); - } - - @Override - public String component3() { - return getContent(); - } - - @Override - public Timestamp component4() { - return getCreationTime(); - } - - @Override - public Integer value1() { - return getVid(); - } - - @Override - public Integer value2() { - return getWid(); - } - - @Override - public String value3() { - return getContent(); - } - - @Override - public Timestamp value4() { - return getCreationTime(); - } - - @Override - public WorkflowVersionRecord value1(Integer value) { - setVid(value); - return this; - } - - @Override - public WorkflowVersionRecord value2(Integer 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(Integer value1, Integer 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(Integer vid, Integer wid, String content, Timestamp creationTime) { - super(WorkflowVersion.WORKFLOW_VERSION); - - setVid(vid); - setWid(wid); - setContent(content); - setCreationTime(creationTime); - } - - /** - * Create a detached, initialised WorkflowVersionRecord - */ - public WorkflowVersionRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowVersion value) { - super(WorkflowVersion.WORKFLOW_VERSION); - - if (value != null) { - setVid(value.getVid()); - setWid(value.getWid()); - setContent(value.getContent()); - setCreationTime(value.getCreationTime()); - } - } -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowViewCountRecord.java b/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowViewCountRecord.java deleted file mode 100644 index 85317fb78ba..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/jooq/generated/tables/records/WorkflowViewCountRecord.java +++ /dev/null @@ -1,194 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * This file is generated by jOOQ. - */ -package edu.uci.ics.texera.dao.jooq.generated.tables.records; - - -import edu.uci.ics.texera.dao.jooq.generated.tables.WorkflowViewCount; -import edu.uci.ics.texera.dao.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; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class WorkflowViewCountRecord extends UpdatableRecordImpl implements Record2, IWorkflowViewCount { - - private static final long serialVersionUID = 1L; - - /** - * Setter for texera_db.workflow_view_count.wid. - */ - @Override - public void setWid(Integer value) { - set(0, value); - } - - /** - * Getter for texera_db.workflow_view_count.wid. - */ - @Override - public Integer getWid() { - return (Integer) get(0); - } - - /** - * Setter for texera_db.workflow_view_count.view_count. - */ - @Override - public void setViewCount(Integer value) { - set(1, value); - } - - /** - * Getter for texera_db.workflow_view_count.view_count. - */ - @Override - public Integer getViewCount() { - return (Integer) 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 Integer component1() { - return getWid(); - } - - @Override - public Integer component2() { - return getViewCount(); - } - - @Override - public Integer value1() { - return getWid(); - } - - @Override - public Integer value2() { - return getViewCount(); - } - - @Override - public WorkflowViewCountRecord value1(Integer value) { - setWid(value); - return this; - } - - @Override - public WorkflowViewCountRecord value2(Integer value) { - setViewCount(value); - return this; - } - - @Override - public WorkflowViewCountRecord values(Integer value1, Integer 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(Integer wid, Integer viewCount) { - super(WorkflowViewCount.WORKFLOW_VIEW_COUNT); - - setWid(wid); - setViewCount(viewCount); - } - - /** - * Create a detached, initialised WorkflowViewCountRecord - */ - public WorkflowViewCountRecord(edu.uci.ics.texera.dao.jooq.generated.tables.pojos.WorkflowViewCount value) { - super(WorkflowViewCount.WORKFLOW_VIEW_COUNT); - - if (value != null) { - setWid(value.getWid()); - setViewCount(value.getViewCount()); - } - } -} From ffca73df532ec0f187e85151b7f54721da3c43d6 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Tue, 19 Aug 2025 18:06:47 -0700 Subject: [PATCH 02/34] update --- core/dao/.gitignore | 1 + core/dao/build.sbt | 13 +---- core/dao/src/main/resources/jooq-conf.xml | 21 ++----- .../ics/texera/dao/ASFGeneratorStrategy.scala | 49 ---------------- .../ics/texera/dao/JooqCodeGenerator.scala | 56 +++++++++---------- core/scripts/sql/texera_ddl.sql | 4 ++ 6 files changed, 42 insertions(+), 102 deletions(-) create mode 100644 core/dao/.gitignore delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/ASFGeneratorStrategy.scala diff --git a/core/dao/.gitignore b/core/dao/.gitignore new file mode 100644 index 00000000000..7d64c7f44c9 --- /dev/null +++ b/core/dao/.gitignore @@ -0,0 +1 @@ +src/main/scala/edu/uci/ics/texera/dao/jooq/ \ No newline at end of file diff --git a/core/dao/build.sbt b/core/dao/build.sbt index 77ccf6cb81b..3ff122da0a6 100644 --- a/core/dao/build.sbt +++ b/core/dao/build.sbt @@ -95,15 +95,8 @@ libraryDependencies ++= Seq( ///////////////////////////////////////////////////////////////////////////// libraryDependencies ++= Seq( - "org.jooq" % "jooq" % "3.16.10", - "org.jooq" % "jooq-codegen" % "3.16.10" -) - -///////////////////////////////////////////////////////////////////////////// -// Additional Dependencies -///////////////////////////////////////////////////////////////////////////// - -libraryDependencies ++= Seq( + "org.jooq" % "jooq" % "3.16.23", + "org.jooq" % "jooq-codegen" % "3.16.23", + "org.jooq" % "jooq-meta-extensions" % "3.16.23", "org.postgresql" % "postgresql" % "42.7.4", - "com.typesafe" % "config" % "1.4.3" // config reader ) \ No newline at end of file diff --git a/core/dao/src/main/resources/jooq-conf.xml b/core/dao/src/main/resources/jooq-conf.xml index 8b8a34c6ef4..16127a62606 100644 --- a/core/dao/src/main/resources/jooq-conf.xml +++ b/core/dao/src/main/resources/jooq-conf.xml @@ -34,18 +34,12 @@ org.jooq.codegen.JavaGenerator - - org.jooq.meta.postgres.PostgresDatabase - - - texera_db - - - .* + + + PUBLIC + texera_db + + dao/src/main/scala - - edu.uci.ics.texera.dao.ASFGeneratorStrategy - diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/ASFGeneratorStrategy.scala b/core/dao/src/main/scala/edu/uci/ics/texera/dao/ASFGeneratorStrategy.scala deleted file mode 100644 index 61a66a94e50..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/ASFGeneratorStrategy.scala +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package edu.uci.ics.texera.dao - -import org.jooq.codegen.{DefaultGeneratorStrategy, GeneratorStrategy} -import org.jooq.meta.Definition - -class ASFGeneratorStrategy extends DefaultGeneratorStrategy { - private val header = """Licensed to the Apache Software Foundation (ASF) under one - |or more contributor license agreements. See the NOTICE file - |distributed with this work for additional information - |regarding copyright ownership. The ASF licenses this file - |to you under the Apache License, Version 2.0 (the - |"License"); you may not use this file except in compliance - |with the License. You may obtain a copy of the License at - | - | http://www.apache.org/licenses/LICENSE-2.0 - | - |Unless required by applicable law or agreed to in writing, - |software distributed under the License is distributed on an - |"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - |KIND, either express or implied. See the License for the - |specific language governing permissions and limitations - |under the License. - | - |This file is generated by jOOQ.""".stripMargin - override def getFileHeader(definition: Definition, mode: GeneratorStrategy.Mode): String = header - override def getGlobalReferencesFileHeader( - container: Definition, - objectType: Class[_ <: Definition] - ): String = header -} diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala b/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala index bd7010ce0ec..d912adc87b3 100644 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala +++ b/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala @@ -19,12 +19,10 @@ package edu.uci.ics.texera.dao -import com.typesafe.config.{Config, ConfigFactory, ConfigParseOptions} import org.jooq.codegen.GenerationTool -import org.jooq.meta.jaxb.{Configuration, Jdbc} - +import org.jooq.meta.jaxb.{Configuration, Database, Generator, Property} import java.nio.file.{Files, Path} -import java.io.File +import scala.jdk.CollectionConverters._ object JooqCodeGenerator { @throws[Exception] @@ -34,34 +32,36 @@ object JooqCodeGenerator { Path.of("dao").resolve("src").resolve("main").resolve("resources").resolve("jooq-conf.xml") val jooqConfig: Configuration = GenerationTool.load(Files.newInputStream(jooqXmlPath)) - // Load storage.conf from the specified path - val storageConfPath: Path = Path - .of("config") - .resolve("src") - .resolve("main") - .resolve("resources") - .resolve("storage.conf") - - val conf: Config = ConfigFactory - .parseFile( - new File(storageConfPath.toString), - ConfigParseOptions.defaults().setAllowMissing(false) - ) - .resolve() - // Extract JDBC configuration - val jdbcConfig = conf.getConfig("storage.jdbc") + val ddlScripts: String = Seq("scripts/sql/texera_ddl.sql").mkString(",") - val jooqJdbcConfig = new Jdbc - jooqJdbcConfig.setDriver("org.postgresql.Driver") - // Skip all the query params, otherwise it will omit the "texera_db." prefix on the field names. - jooqJdbcConfig.setUrl(jdbcConfig.getString("url").split('?').head) - jooqJdbcConfig.setUsername(jdbcConfig.getString("username")) - jooqJdbcConfig.setPassword(jdbcConfig.getString("password")) + // Load the DDL script + // Ensure a Generator exists + val generator = Option(jooqConfig.getGenerator).getOrElse(new Generator) + jooqConfig.setGenerator(generator) - jooqConfig.setJdbc(jooqJdbcConfig) + // Configure DDLDatabase + val db = Option(generator.getDatabase).getOrElse(new Database) + db.setName("org.jooq.meta.extensions.ddl.DDLDatabase") + db.setProperties( + Seq( + new Property().withKey("scripts").withValue(ddlScripts), + // Optional but useful for Postgres-style naming + public schema handling + new Property().withKey("defaultNameCase").withValue("lower"), + new Property().withKey("unqualifiedSchema").withValue("public"), + // Make sure migrations are applied in a sensible order + new Property().withKey("sort").withValue("semantic"), + new Property().withKey("parseIgnoreComments").withValue("true"), + new Property().withKey("parseIgnoreCommentStart").withValue("[jooq ignore start]"), + new Property().withKey("parseIgnoreCommentStop").withValue("[jooq ignore stop]") + ).asJava + ) + generator.setDatabase(db) + // 3) Make sure we don't use a live database + jooqConfig.setJdbc(null) - // Generate the code + // 4) Generate GenerationTool.generate(jooqConfig) + } } diff --git a/core/scripts/sql/texera_ddl.sql b/core/scripts/sql/texera_ddl.sql index 7c6cf15c7c6..838d6072074 100644 --- a/core/scripts/sql/texera_ddl.sql +++ b/core/scripts/sql/texera_ddl.sql @@ -15,6 +15,7 @@ -- specific language governing permissions and limitations -- under the License. +-- [jooq ignore start] -- ============================================ -- 1. Drop and recreate the database (psql only) -- Remove if you already created texera_db @@ -68,6 +69,7 @@ DROP TABLE IF EXISTS computing_unit_user_access CASCADE; -- ============================================ DROP TYPE IF EXISTS user_role_enum CASCADE; DROP TYPE IF EXISTS privilege_enum CASCADE; +-- [jooq ignore stop] CREATE TYPE user_role_enum AS ENUM ('INACTIVE', 'RESTRICTED', 'REGULAR', 'ADMIN'); CREATE TYPE privilege_enum AS ENUM ('NONE', 'READ', 'WRITE'); @@ -370,6 +372,7 @@ CREATE TABLE IF NOT EXISTS computing_unit_user_access FOREIGN KEY (uid) REFERENCES "user"(uid) ON DELETE CASCADE ); +-- [jooq ignore start] -- START Fulltext search index creation (DO NOT EDIT THIS LINE) CREATE EXTENSION IF NOT EXISTS pgroonga; @@ -429,3 +432,4 @@ BEGIN END $$; -- END Fulltext search index creation (DO NOT EDIT THIS LINE) +-- [jooq ignore stop] \ No newline at end of file From 1ab5eefc13b8606ae3797893afb7ce566aac1656 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Tue, 19 Aug 2025 18:11:19 -0700 Subject: [PATCH 03/34] update --- .../main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala | 1 - 1 file changed, 1 deletion(-) diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala b/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala index d912adc87b3..3f6a1f2ed88 100644 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala +++ b/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala @@ -32,7 +32,6 @@ object JooqCodeGenerator { Path.of("dao").resolve("src").resolve("main").resolve("resources").resolve("jooq-conf.xml") val jooqConfig: Configuration = GenerationTool.load(Files.newInputStream(jooqXmlPath)) - val ddlScripts: String = Seq("scripts/sql/texera_ddl.sql").mkString(",") // Load the DDL script From 2d2c74cf09058818df3622d910f6fa849d774127 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Tue, 19 Aug 2025 19:00:52 -0700 Subject: [PATCH 04/34] update --- .github/workflows/github-action-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/github-action-build.yml b/.github/workflows/github-action-build.yml index d657b483d59..9b20a2d586f 100644 --- a/.github/workflows/github-action-build.yml +++ b/.github/workflows/github-action-build.yml @@ -94,6 +94,8 @@ jobs: extraSbtFiles: '["core/*.sbt", "core/project/**.{scala,sbt}", "core/project/build.properties" ]' - name: Lint with scalafmt run: cd core && sbt scalafmtCheckAll + - name: Jooq Code Generator + run: cd core && sbt "DAO/runMain edu.uci.ics.texera.dao.JooqCodeGenerator" - name: Compile with sbt run: cd core && sbt clean package - name: Run backend tests From e9e943c9a7158195c64d6be830fd7127ae53edf0 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Tue, 19 Aug 2025 22:23:10 -0700 Subject: [PATCH 05/34] update --- core/dao/src/main/resources/jooq-conf.xml | 44 +++++++++++++++---- .../ics/texera/dao/JooqCodeGenerator.scala | 33 +------------- core/scripts/sql/texera_ddl.sql | 3 +- 3 files changed, 38 insertions(+), 42 deletions(-) diff --git a/core/dao/src/main/resources/jooq-conf.xml b/core/dao/src/main/resources/jooq-conf.xml index 16127a62606..78c32ce4362 100644 --- a/core/dao/src/main/resources/jooq-conf.xml +++ b/core/dao/src/main/resources/jooq-conf.xml @@ -34,16 +34,44 @@ org.jooq.codegen.JavaGenerator - - - PUBLIC - texera_db - - + org.jooq.meta.extensions.ddl.DDLDatabase + texera_db + + + + scripts + scripts/sql/texera_ddl.sql + + + defaultNameCase + lower + + + unqualifiedSchema + public + + + sort + semantic + + + parseIgnoreComments + true + + + parseIgnoreCommentStart + [jooq ignore start] + + + parseIgnoreCommentStop + [jooq ignore stop] + + + (A Java regular expression. Use the pipe to separate several expressions). + Excludes match before includes, i.e. excludes have a higher priority --> + .* (pgroonga.*)|(test_.*)|(ignore_.*) diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala b/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala index 3f6a1f2ed88..c7b1ed3b235 100644 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala +++ b/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala @@ -20,47 +20,16 @@ package edu.uci.ics.texera.dao import org.jooq.codegen.GenerationTool -import org.jooq.meta.jaxb.{Configuration, Database, Generator, Property} +import org.jooq.meta.jaxb.Configuration import java.nio.file.{Files, Path} -import scala.jdk.CollectionConverters._ object JooqCodeGenerator { @throws[Exception] def main(args: Array[String]): Unit = { - // Load jOOQ configuration XML val jooqXmlPath: Path = Path.of("dao").resolve("src").resolve("main").resolve("resources").resolve("jooq-conf.xml") val jooqConfig: Configuration = GenerationTool.load(Files.newInputStream(jooqXmlPath)) - - val ddlScripts: String = Seq("scripts/sql/texera_ddl.sql").mkString(",") - - // Load the DDL script - // Ensure a Generator exists - val generator = Option(jooqConfig.getGenerator).getOrElse(new Generator) - jooqConfig.setGenerator(generator) - - // Configure DDLDatabase - val db = Option(generator.getDatabase).getOrElse(new Database) - db.setName("org.jooq.meta.extensions.ddl.DDLDatabase") - db.setProperties( - Seq( - new Property().withKey("scripts").withValue(ddlScripts), - // Optional but useful for Postgres-style naming + public schema handling - new Property().withKey("defaultNameCase").withValue("lower"), - new Property().withKey("unqualifiedSchema").withValue("public"), - // Make sure migrations are applied in a sensible order - new Property().withKey("sort").withValue("semantic"), - new Property().withKey("parseIgnoreComments").withValue("true"), - new Property().withKey("parseIgnoreCommentStart").withValue("[jooq ignore start]"), - new Property().withKey("parseIgnoreCommentStop").withValue("[jooq ignore stop]") - ).asJava - ) - generator.setDatabase(db) - // 3) Make sure we don't use a live database jooqConfig.setJdbc(null) - - // 4) Generate GenerationTool.generate(jooqConfig) - } } diff --git a/core/scripts/sql/texera_ddl.sql b/core/scripts/sql/texera_ddl.sql index 838d6072074..05a9a3b3977 100644 --- a/core/scripts/sql/texera_ddl.sql +++ b/core/scripts/sql/texera_ddl.sql @@ -28,10 +28,10 @@ CREATE DATABASE texera_db; -- 2. Connect to the new database (psql only) -- ============================================ \c texera_db +-- [jooq ignore stop] CREATE SCHEMA IF NOT EXISTS texera_db; SET search_path TO texera_db, public; - -- ============================================ -- 3. Drop all tables if they exist -- (CASCADE handles FK dependencies) @@ -69,7 +69,6 @@ DROP TABLE IF EXISTS computing_unit_user_access CASCADE; -- ============================================ DROP TYPE IF EXISTS user_role_enum CASCADE; DROP TYPE IF EXISTS privilege_enum CASCADE; --- [jooq ignore stop] CREATE TYPE user_role_enum AS ENUM ('INACTIVE', 'RESTRICTED', 'REGULAR', 'ADMIN'); CREATE TYPE privilege_enum AS ENUM ('NONE', 'READ', 'WRITE'); From 8903bb4c709a8c16ac52c4a3c694af31b3a6b439 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 16:26:05 -0700 Subject: [PATCH 06/34] Update build.sbt Signed-off-by: Xinyuan Lin --- core/dao/build.sbt | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/core/dao/build.sbt b/core/dao/build.sbt index 3ff122da0a6..1ac05c50d9c 100644 --- a/core/dao/build.sbt +++ b/core/dao/build.sbt @@ -95,8 +95,15 @@ libraryDependencies ++= Seq( ///////////////////////////////////////////////////////////////////////////// libraryDependencies ++= Seq( - "org.jooq" % "jooq" % "3.16.23", - "org.jooq" % "jooq-codegen" % "3.16.23", - "org.jooq" % "jooq-meta-extensions" % "3.16.23", + "org.jooq" % "jooq" % "3.16.10", + "org.jooq" % "jooq-codegen" % "3.16.10" +) + +///////////////////////////////////////////////////////////////////////////// +// Additional Dependencies +///////////////////////////////////////////////////////////////////////////// + +libraryDependencies ++= Seq( "org.postgresql" % "postgresql" % "42.7.4", -) \ No newline at end of file + "com.typesafe" % "config" % "1.4.3" // config reader +) From 2ad32bc99a27a98ec69411751cb2ad13e00f30bc Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 16:27:33 -0700 Subject: [PATCH 07/34] Update JooqCodeGenerator.scala Signed-off-by: Xinyuan Lin --- .../ics/texera/dao/JooqCodeGenerator.scala | 36 +++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala b/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala index c7b1ed3b235..bd7010ce0ec 100644 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala +++ b/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala @@ -19,17 +19,49 @@ package edu.uci.ics.texera.dao +import com.typesafe.config.{Config, ConfigFactory, ConfigParseOptions} import org.jooq.codegen.GenerationTool -import org.jooq.meta.jaxb.Configuration +import org.jooq.meta.jaxb.{Configuration, Jdbc} + import java.nio.file.{Files, Path} +import java.io.File object JooqCodeGenerator { @throws[Exception] def main(args: Array[String]): Unit = { + // Load jOOQ configuration XML val jooqXmlPath: Path = Path.of("dao").resolve("src").resolve("main").resolve("resources").resolve("jooq-conf.xml") val jooqConfig: Configuration = GenerationTool.load(Files.newInputStream(jooqXmlPath)) - jooqConfig.setJdbc(null) + + // Load storage.conf from the specified path + val storageConfPath: Path = Path + .of("config") + .resolve("src") + .resolve("main") + .resolve("resources") + .resolve("storage.conf") + + val conf: Config = ConfigFactory + .parseFile( + new File(storageConfPath.toString), + ConfigParseOptions.defaults().setAllowMissing(false) + ) + .resolve() + + // Extract JDBC configuration + val jdbcConfig = conf.getConfig("storage.jdbc") + + val jooqJdbcConfig = new Jdbc + jooqJdbcConfig.setDriver("org.postgresql.Driver") + // Skip all the query params, otherwise it will omit the "texera_db." prefix on the field names. + jooqJdbcConfig.setUrl(jdbcConfig.getString("url").split('?').head) + jooqJdbcConfig.setUsername(jdbcConfig.getString("username")) + jooqJdbcConfig.setPassword(jdbcConfig.getString("password")) + + jooqConfig.setJdbc(jooqJdbcConfig) + + // Generate the code GenerationTool.generate(jooqConfig) } } From 0e0219103418f7959042cfc094af494f9c1b72a7 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 16:28:43 -0700 Subject: [PATCH 08/34] Update jooq-conf.xml Signed-off-by: Xinyuan Lin --- core/dao/src/main/resources/jooq-conf.xml | 49 +++++++---------------- 1 file changed, 15 insertions(+), 34 deletions(-) diff --git a/core/dao/src/main/resources/jooq-conf.xml b/core/dao/src/main/resources/jooq-conf.xml index 78c32ce4362..8b8a34c6ef4 100644 --- a/core/dao/src/main/resources/jooq-conf.xml +++ b/core/dao/src/main/resources/jooq-conf.xml @@ -34,44 +34,22 @@ org.jooq.codegen.JavaGenerator - org.jooq.meta.extensions.ddl.DDLDatabase + + org.jooq.meta.postgres.PostgresDatabase + + texera_db - - - scripts - scripts/sql/texera_ddl.sql - - - defaultNameCase - lower - - - unqualifiedSchema - public - - - sort - semantic - - - parseIgnoreComments - true - - - parseIgnoreCommentStart - [jooq ignore start] - - - parseIgnoreCommentStop - [jooq ignore stop] - - + + .* - .* + (A Java regular expression. Use the pipe to separate several expressions). + Excludes match before includes, i.e. excludes have a higher priority --> (pgroonga.*)|(test_.*)|(ignore_.*) @@ -88,5 +66,8 @@ dao/src/main/scala + + edu.uci.ics.texera.dao.ASFGeneratorStrategy + From 95dffe2df9de10f5419ac09f9ceba3e8066f96a4 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 16:32:08 -0700 Subject: [PATCH 09/34] Update texera_ddl.sql Signed-off-by: Xinyuan Lin --- core/scripts/sql/texera_ddl.sql | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/scripts/sql/texera_ddl.sql b/core/scripts/sql/texera_ddl.sql index 05a9a3b3977..7c6cf15c7c6 100644 --- a/core/scripts/sql/texera_ddl.sql +++ b/core/scripts/sql/texera_ddl.sql @@ -15,7 +15,6 @@ -- specific language governing permissions and limitations -- under the License. --- [jooq ignore start] -- ============================================ -- 1. Drop and recreate the database (psql only) -- Remove if you already created texera_db @@ -28,10 +27,10 @@ CREATE DATABASE texera_db; -- 2. Connect to the new database (psql only) -- ============================================ \c texera_db --- [jooq ignore stop] CREATE SCHEMA IF NOT EXISTS texera_db; SET search_path TO texera_db, public; + -- ============================================ -- 3. Drop all tables if they exist -- (CASCADE handles FK dependencies) @@ -371,7 +370,6 @@ CREATE TABLE IF NOT EXISTS computing_unit_user_access FOREIGN KEY (uid) REFERENCES "user"(uid) ON DELETE CASCADE ); --- [jooq ignore start] -- START Fulltext search index creation (DO NOT EDIT THIS LINE) CREATE EXTENSION IF NOT EXISTS pgroonga; @@ -431,4 +429,3 @@ BEGIN END $$; -- END Fulltext search index creation (DO NOT EDIT THIS LINE) --- [jooq ignore stop] \ No newline at end of file From 7c170bf982b9d16d3d7bec5cb4e04dd21fff064b Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 16:52:45 -0700 Subject: [PATCH 10/34] update --- core/dao/build.sbt | 2 +- core/dao/src/main/resources/jooq-conf.xml | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/core/dao/build.sbt b/core/dao/build.sbt index 1ac05c50d9c..77ccf6cb81b 100644 --- a/core/dao/build.sbt +++ b/core/dao/build.sbt @@ -106,4 +106,4 @@ libraryDependencies ++= Seq( libraryDependencies ++= Seq( "org.postgresql" % "postgresql" % "42.7.4", "com.typesafe" % "config" % "1.4.3" // config reader -) +) \ No newline at end of file diff --git a/core/dao/src/main/resources/jooq-conf.xml b/core/dao/src/main/resources/jooq-conf.xml index 8b8a34c6ef4..f5f21df7714 100644 --- a/core/dao/src/main/resources/jooq-conf.xml +++ b/core/dao/src/main/resources/jooq-conf.xml @@ -66,8 +66,5 @@ dao/src/main/scala - - edu.uci.ics.texera.dao.ASFGeneratorStrategy - From 11d59201acdfafb63396a8bcd0024b27be73fcf6 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 17:10:22 -0700 Subject: [PATCH 11/34] Update github-action-build.yml Signed-off-by: Xinyuan Lin --- .github/workflows/github-action-build.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/github-action-build.yml b/.github/workflows/github-action-build.yml index 4954a7898ca..9aa53b2712b 100644 --- a/.github/workflows/github-action-build.yml +++ b/.github/workflows/github-action-build.yml @@ -79,6 +79,22 @@ jobs: env: JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 JVM_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 + + services: + postgres: + image: postgres:latest + env: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: test + POSTGRES_DB: texera_db + ports: + - 5432:5432 + # Add a health check so steps wait until Postgres is ready + options: >- + --health-cmd="pg_isready -U test -d texera_db" + --health-interval=10s + --health-timeout=5s + --health-retries=5 steps: - name: Prepare ENV run: sudo apt-get install libncurses5 From f783e3dec8f430ffc59c6d8948dcd0dce704061d Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 17:10:55 -0700 Subject: [PATCH 12/34] Update storage.conf to set default password Signed-off-by: Xinyuan Lin --- core/config/src/main/resources/storage.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/config/src/main/resources/storage.conf b/core/config/src/main/resources/storage.conf index 276c1efad88..01f2c57f7a9 100644 --- a/core/config/src/main/resources/storage.conf +++ b/core/config/src/main/resources/storage.conf @@ -128,7 +128,7 @@ storage { username = "postgres" username = ${?STORAGE_JDBC_USERNAME} - password = "" + password = "password" password = ${?STORAGE_JDBC_PASSWORD} } -} \ No newline at end of file +} From e71c53b5a158513325a3650e8e9f67888442b359 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 18:48:30 -0700 Subject: [PATCH 13/34] Update github-action-build.yml Signed-off-by: Xinyuan Lin --- .github/workflows/github-action-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-action-build.yml b/.github/workflows/github-action-build.yml index 9aa53b2712b..e907d2c93e6 100644 --- a/.github/workflows/github-action-build.yml +++ b/.github/workflows/github-action-build.yml @@ -110,10 +110,10 @@ jobs: extraSbtFiles: '["core/*.sbt", "core/project/**.{scala,sbt}", "core/project/build.properties" ]' - name: Lint with scalafmt run: cd core && sbt scalafmtCheckAll - - name: Jooq Code Generator - run: cd core && sbt "DAO/runMain edu.uci.ics.texera.dao.JooqCodeGenerator" - name: Compile with sbt run: cd core && sbt clean package + - name: Jooq Code Generator + run: cd core && sbt "DAO/runMain edu.uci.ics.texera.dao.JooqCodeGenerator" - name: Run backend tests run: cd core && sbt test From 88857c706023787648458324a54a4a05b63583d7 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 18:54:50 -0700 Subject: [PATCH 14/34] Modify GitHub Actions workflow for build Updated Postgres image and changed checkout action version. Signed-off-by: Xinyuan Lin --- .github/workflows/github-action-build.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/github-action-build.yml b/.github/workflows/github-action-build.yml index e907d2c93e6..8ff432fa1ad 100644 --- a/.github/workflows/github-action-build.yml +++ b/.github/workflows/github-action-build.yml @@ -82,13 +82,9 @@ jobs: services: postgres: - image: postgres:latest + image: postgres env: - POSTGRES_USER: postgres - POSTGRES_PASSWORD: test - POSTGRES_DB: texera_db - ports: - - 5432:5432 + POSTGRES_PASSWORD: postgres # Add a health check so steps wait until Postgres is ready options: >- --health-cmd="pg_isready -U test -d texera_db" @@ -99,7 +95,7 @@ jobs: - name: Prepare ENV run: sudo apt-get install libncurses5 - name: Checkout Texera - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Java uses: actions/setup-java@v2 with: From 639d482ae3ef295728ae9e5a82597c3e89740f67 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 18:55:11 -0700 Subject: [PATCH 15/34] Change default password from 'password' to 'postgres' Signed-off-by: Xinyuan Lin --- core/config/src/main/resources/storage.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/config/src/main/resources/storage.conf b/core/config/src/main/resources/storage.conf index 01f2c57f7a9..dfb6914e24f 100644 --- a/core/config/src/main/resources/storage.conf +++ b/core/config/src/main/resources/storage.conf @@ -128,7 +128,7 @@ storage { username = "postgres" username = ${?STORAGE_JDBC_USERNAME} - password = "password" + password = "postgres" password = ${?STORAGE_JDBC_PASSWORD} } } From 2d55b19504f7ef9507c24373883f1a3ad4364dd8 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 19:00:15 -0700 Subject: [PATCH 16/34] Update GitHub Actions workflow for Java and Python Signed-off-by: Xinyuan Lin --- .github/workflows/github-action-build.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/github-action-build.yml b/.github/workflows/github-action-build.yml index 8ff432fa1ad..1468ab0dd0e 100644 --- a/.github/workflows/github-action-build.yml +++ b/.github/workflows/github-action-build.yml @@ -71,11 +71,7 @@ jobs: run: yarn --cwd core/gui run build:ci core: - strategy: - matrix: - os: [ ubuntu-22.04 ] - java-version: [ 11 ] - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest env: JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 JVM_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 @@ -100,27 +96,24 @@ jobs: uses: actions/setup-java@v2 with: distribution: 'temurin' - java-version: ${{ matrix.java-version }} + java-version: 11 - uses: coursier/cache-action@v6 with: extraSbtFiles: '["core/*.sbt", "core/project/**.{scala,sbt}", "core/project/build.properties" ]' - name: Lint with scalafmt run: cd core && sbt scalafmtCheckAll - - name: Compile with sbt - run: cd core && sbt clean package - name: Jooq Code Generator run: cd core && sbt "DAO/runMain edu.uci.ics.texera.dao.JooqCodeGenerator" + - name: Compile with sbt + run: cd core && sbt clean package - name: Run backend tests run: cd core && sbt test python_udf: - runs-on: ${{ matrix.os }} strategy: matrix: - os: - - ubuntu-latest python-version: [ '3.9', '3.10', '3.11', '3.12' ] - + runs-on: ubuntu-latest steps: - name: Checkout Texera uses: actions/checkout@v2 From cef7097a9be06f93971527fc6bd80563694a2fd1 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 19:05:55 -0700 Subject: [PATCH 17/34] Remove libncurses5 installation step Removed installation of libncurses5 from the workflow. Signed-off-by: Xinyuan Lin --- .github/workflows/github-action-build.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/github-action-build.yml b/.github/workflows/github-action-build.yml index 1468ab0dd0e..09513be2a9c 100644 --- a/.github/workflows/github-action-build.yml +++ b/.github/workflows/github-action-build.yml @@ -88,8 +88,6 @@ jobs: --health-timeout=5s --health-retries=5 steps: - - name: Prepare ENV - run: sudo apt-get install libncurses5 - name: Checkout Texera uses: actions/checkout@v4 - name: Setup Java From 98518a440506d7d7c63f69f117b658d112dc31df Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 19:10:42 -0700 Subject: [PATCH 18/34] Update GitHub Actions workflow for Java setup Signed-off-by: Xinyuan Lin --- .github/workflows/github-action-build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/github-action-build.yml b/.github/workflows/github-action-build.yml index 09513be2a9c..d09c4b8881e 100644 --- a/.github/workflows/github-action-build.yml +++ b/.github/workflows/github-action-build.yml @@ -88,13 +88,15 @@ jobs: --health-timeout=5s --health-retries=5 steps: - - name: Checkout Texera + - name: Checkout uses: actions/checkout@v4 - - name: Setup Java - uses: actions/setup-java@v2 + - name: Setup JDK + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: 11 + - name: Setup sbt launcher + uses: sbt/setup-sbt@v1 - uses: coursier/cache-action@v6 with: extraSbtFiles: '["core/*.sbt", "core/project/**.{scala,sbt}", "core/project/build.properties" ]' From 1798869c28fdcd7eae1d48bd3cd4cf377c75c043 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 19:13:50 -0700 Subject: [PATCH 19/34] Expose Postgres port in GitHub Actions workflow Signed-off-by: Xinyuan Lin --- .github/workflows/github-action-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/github-action-build.yml b/.github/workflows/github-action-build.yml index d09c4b8881e..4a4134f984b 100644 --- a/.github/workflows/github-action-build.yml +++ b/.github/workflows/github-action-build.yml @@ -81,6 +81,8 @@ jobs: image: postgres env: POSTGRES_PASSWORD: postgres + ports: + - 5432:5432 # Add a health check so steps wait until Postgres is ready options: >- --health-cmd="pg_isready -U test -d texera_db" From 82478f5dbe2b18fc15f566aa74a76b47ee4e1574 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 21:23:54 -0700 Subject: [PATCH 20/34] Add step to create database in GitHub Actions Signed-off-by: Xinyuan Lin --- .github/workflows/github-action-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/github-action-build.yml b/.github/workflows/github-action-build.yml index 4a4134f984b..fc7add7db05 100644 --- a/.github/workflows/github-action-build.yml +++ b/.github/workflows/github-action-build.yml @@ -104,6 +104,8 @@ jobs: extraSbtFiles: '["core/*.sbt", "core/project/**.{scala,sbt}", "core/project/build.properties" ]' - name: Lint with scalafmt run: cd core && sbt scalafmtCheckAll + - name: Create Database + run: sudo -u postgres psql -f core/scripts/sql/texera_ddl.sql - name: Jooq Code Generator run: cd core && sbt "DAO/runMain edu.uci.ics.texera.dao.JooqCodeGenerator" - name: Compile with sbt From b802bf891f0ec07f1125f38e04a71be6a64e55ef Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 21:37:03 -0700 Subject: [PATCH 21/34] Update github-action-build.yml Signed-off-by: Xinyuan Lin --- .github/workflows/github-action-build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-action-build.yml b/.github/workflows/github-action-build.yml index fc7add7db05..bbf6dd9402e 100644 --- a/.github/workflows/github-action-build.yml +++ b/.github/workflows/github-action-build.yml @@ -105,7 +105,9 @@ jobs: - name: Lint with scalafmt run: cd core && sbt scalafmtCheckAll - name: Create Database - run: sudo -u postgres psql -f core/scripts/sql/texera_ddl.sql + run: psql -h localhost -U postgres -f deployment/k8s/texera-helmchart/files/texera_ddl.sql + env: + PGPASSWORD: postgres - name: Jooq Code Generator run: cd core && sbt "DAO/runMain edu.uci.ics.texera.dao.JooqCodeGenerator" - name: Compile with sbt From 2407381260183914c44752f9274e13a2a335395c Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 21:47:57 -0700 Subject: [PATCH 22/34] Update github-action-build.yml Signed-off-by: Xinyuan Lin --- .github/workflows/github-action-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github-action-build.yml b/.github/workflows/github-action-build.yml index bbf6dd9402e..89d56c4f11b 100644 --- a/.github/workflows/github-action-build.yml +++ b/.github/workflows/github-action-build.yml @@ -78,7 +78,7 @@ jobs: services: postgres: - image: postgres + image: postgres:16 env: POSTGRES_PASSWORD: postgres ports: From 551db30a0a38799d001c60df7bc7b0ec20b1ad31 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 22:11:07 -0700 Subject: [PATCH 23/34] update --- .../edu/uci/ics/texera/service/resource/DatasetResource.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetResource.scala b/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetResource.scala index a551b799009..5e7ee3964d8 100644 --- a/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetResource.scala +++ b/core/file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetResource.scala @@ -289,9 +289,9 @@ class DatasetResource { createdDataset.getOwnerUid, createdDataset.getName, createdDataset.getIsPublic, + createdDataset.getIsDownloadable, createdDataset.getDescription, - createdDataset.getCreationTime, - createdDataset.getIsDownloadable + createdDataset.getCreationTime ), user.getEmail, PrivilegeEnum.WRITE, From 32d44b1816421e4524435114dd04e177b6cab32f Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 23:49:44 -0700 Subject: [PATCH 24/34] update --- core/scripts/sql/texera_ddl.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/core/scripts/sql/texera_ddl.sql b/core/scripts/sql/texera_ddl.sql index 7c6cf15c7c6..1252f54794e 100644 --- a/core/scripts/sql/texera_ddl.sql +++ b/core/scripts/sql/texera_ddl.sql @@ -429,3 +429,4 @@ BEGIN END $$; -- END Fulltext search index creation (DO NOT EDIT THIS LINE) + From 0dc7dcfd113cf3542ad19e137c02d2584075e712 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Fri, 22 Aug 2025 23:50:14 -0700 Subject: [PATCH 25/34] update --- core/scripts/sql/texera_ddl.sql | 1 - 1 file changed, 1 deletion(-) diff --git a/core/scripts/sql/texera_ddl.sql b/core/scripts/sql/texera_ddl.sql index 1252f54794e..7c6cf15c7c6 100644 --- a/core/scripts/sql/texera_ddl.sql +++ b/core/scripts/sql/texera_ddl.sql @@ -429,4 +429,3 @@ BEGIN END $$; -- END Fulltext search index creation (DO NOT EDIT THIS LINE) - From 76b94cf7679fb35c2b1d032a1f4e742f75577de8 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Sat, 23 Aug 2025 17:39:58 -0700 Subject: [PATCH 26/34] update --- core/scripts/sql/texera_ddl.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/core/scripts/sql/texera_ddl.sql b/core/scripts/sql/texera_ddl.sql index 7c6cf15c7c6..1252f54794e 100644 --- a/core/scripts/sql/texera_ddl.sql +++ b/core/scripts/sql/texera_ddl.sql @@ -429,3 +429,4 @@ BEGIN END $$; -- END Fulltext search index creation (DO NOT EDIT THIS LINE) + From f2c00cc7af505060cb87490898b432509486f249 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Sat, 23 Aug 2025 17:40:05 -0700 Subject: [PATCH 27/34] update --- core/scripts/sql/texera_ddl.sql | 1 - 1 file changed, 1 deletion(-) diff --git a/core/scripts/sql/texera_ddl.sql b/core/scripts/sql/texera_ddl.sql index 1252f54794e..7c6cf15c7c6 100644 --- a/core/scripts/sql/texera_ddl.sql +++ b/core/scripts/sql/texera_ddl.sql @@ -429,4 +429,3 @@ BEGIN END $$; -- END Fulltext search index creation (DO NOT EDIT THIS LINE) - From 084f622390f015f6992a8f2a7bbb641869c0aa7c Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Sat, 23 Aug 2025 18:41:48 -0700 Subject: [PATCH 28/34] Update .asf.yaml Signed-off-by: Xinyuan Lin --- .asf.yaml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index f8028b19a85..1308641a6a9 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -60,17 +60,7 @@ github: merge: false rebase: false - protected_branches: - main: - required_status_checks: - # strict means "Require branches to be up to date before merging". - strict: true - # contexts are the names of checks that must pass - required_pull_request_reviews: - dismiss_stale_reviews: false - require_code_owner_reviews: false - required_approving_review_count: 1 - required_linear_history: true + notifications: commits: commits@texera.apache.org From 2605e820c9d89b7d23c431423afd6c5612afe0c9 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Sat, 23 Aug 2025 18:43:15 -0700 Subject: [PATCH 29/34] Update .asf.yaml with branch protection rules Add required status checks and pull request review settings for the main branch. Signed-off-by: Xinyuan Lin --- .asf.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.asf.yaml b/.asf.yaml index 1308641a6a9..2b3d4cdf48c 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -59,6 +59,19 @@ github: squash_commit_message: PR_TITLE_AND_DESC merge: false rebase: false + + + protected_branches: + main: + required_status_checks: + # strict means "Require branches to be up to date before merging". + strict: true + # contexts are the names of checks that must pass + required_pull_request_reviews: + dismiss_stale_reviews: false + require_code_owner_reviews: false + required_approving_review_count: 1 + required_linear_history: true From 01b516073385392f789a4d99c55c523fa5bc5788 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Sat, 23 Aug 2025 18:43:37 -0700 Subject: [PATCH 30/34] Clean up .asf.yaml by removing blank lines Removed unnecessary blank lines in .asf.yaml. Signed-off-by: Xinyuan Lin --- .asf.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 2b3d4cdf48c..8d82301e6e6 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -60,7 +60,6 @@ github: merge: false rebase: false - protected_branches: main: required_status_checks: @@ -72,8 +71,6 @@ github: require_code_owner_reviews: false required_approving_review_count: 1 required_linear_history: true - - notifications: commits: commits@texera.apache.org From c460cafb2c7ee232d572ac5b371818b28e3bbe60 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Sat, 23 Aug 2025 18:44:02 -0700 Subject: [PATCH 31/34] Update .asf.yaml Signed-off-by: Xinyuan Lin From 15fb2af34903543b1f1e6279e15309f61b64e518 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Sat, 23 Aug 2025 18:44:17 -0700 Subject: [PATCH 32/34] Fix formatting in .asf.yaml Signed-off-by: Xinyuan Lin --- .asf.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml index 8d82301e6e6..f8028b19a85 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -59,7 +59,7 @@ github: squash_commit_message: PR_TITLE_AND_DESC merge: false rebase: false - + protected_branches: main: required_status_checks: From 81c6430eb7f9cad1ace63759e8c2a3daa80dcb47 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Sat, 20 Sep 2025 19:13:18 -0700 Subject: [PATCH 33/34] init --- core/dao/build.sbt | 12 +--- .../ics/texera/dao/JooqCodeGenerator.scala | 67 ------------------- 2 files changed, 1 insertion(+), 78 deletions(-) delete mode 100644 core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala diff --git a/core/dao/build.sbt b/core/dao/build.sbt index 1907eb8142f..b40e1fb1f9c 100644 --- a/core/dao/build.sbt +++ b/core/dao/build.sbt @@ -169,14 +169,4 @@ libraryDependencies ++= Seq( libraryDependencies ++= Seq( "org.jooq" % "jooq" % "3.16.23", - "org.jooq" % "jooq-codegen" % "3.16.23" -) - -///////////////////////////////////////////////////////////////////////////// -// Additional Dependencies -///////////////////////////////////////////////////////////////////////////// - -libraryDependencies ++= Seq( - "org.postgresql" % "postgresql" % "42.7.4", - "com.typesafe" % "config" % "1.4.3" // config reader -) +) \ No newline at end of file diff --git a/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala b/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala deleted file mode 100644 index bd7010ce0ec..00000000000 --- a/core/dao/src/main/scala/edu/uci/ics/texera/dao/JooqCodeGenerator.scala +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package edu.uci.ics.texera.dao - -import com.typesafe.config.{Config, ConfigFactory, ConfigParseOptions} -import org.jooq.codegen.GenerationTool -import org.jooq.meta.jaxb.{Configuration, Jdbc} - -import java.nio.file.{Files, Path} -import java.io.File - -object JooqCodeGenerator { - @throws[Exception] - def main(args: Array[String]): Unit = { - // Load jOOQ configuration XML - val jooqXmlPath: Path = - Path.of("dao").resolve("src").resolve("main").resolve("resources").resolve("jooq-conf.xml") - val jooqConfig: Configuration = GenerationTool.load(Files.newInputStream(jooqXmlPath)) - - // Load storage.conf from the specified path - val storageConfPath: Path = Path - .of("config") - .resolve("src") - .resolve("main") - .resolve("resources") - .resolve("storage.conf") - - val conf: Config = ConfigFactory - .parseFile( - new File(storageConfPath.toString), - ConfigParseOptions.defaults().setAllowMissing(false) - ) - .resolve() - - // Extract JDBC configuration - val jdbcConfig = conf.getConfig("storage.jdbc") - - val jooqJdbcConfig = new Jdbc - jooqJdbcConfig.setDriver("org.postgresql.Driver") - // Skip all the query params, otherwise it will omit the "texera_db." prefix on the field names. - jooqJdbcConfig.setUrl(jdbcConfig.getString("url").split('?').head) - jooqJdbcConfig.setUsername(jdbcConfig.getString("username")) - jooqJdbcConfig.setPassword(jdbcConfig.getString("password")) - - jooqConfig.setJdbc(jooqJdbcConfig) - - // Generate the code - GenerationTool.generate(jooqConfig) - } -} From f5c0585b1ff8e8f6a71693f1c401ace8645d73f0 Mon Sep 17 00:00:00 2001 From: Xinyuan Lin Date: Sat, 20 Sep 2025 19:31:00 -0700 Subject: [PATCH 34/34] update --- core/dao/build.sbt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/core/dao/build.sbt b/core/dao/build.sbt index b40e1fb1f9c..24b3bd9ad9d 100644 --- a/core/dao/build.sbt +++ b/core/dao/build.sbt @@ -169,4 +169,12 @@ libraryDependencies ++= Seq( libraryDependencies ++= Seq( "org.jooq" % "jooq" % "3.16.23", -) \ No newline at end of file +) + +///////////////////////////////////////////////////////////////////////////// +// Additional Dependencies +///////////////////////////////////////////////////////////////////////////// + +libraryDependencies ++= Seq( + "org.postgresql" % "postgresql" % "42.7.4", +)