|
16 | 16 |
|
17 | 17 | package org.labkey.api.protein.go; |
18 | 18 |
|
19 | | -import jakarta.servlet.ServletException; |
20 | 19 | import org.apache.commons.compress.archivers.tar.TarArchiveEntry; |
21 | 20 | import org.apache.commons.compress.archivers.tar.TarArchiveInputStream; |
22 | 21 | import org.apache.commons.io.IOUtils; |
|
25 | 24 | import org.labkey.api.data.DbSchema; |
26 | 25 | import org.labkey.api.data.DbScope; |
27 | 26 | import org.labkey.api.data.JdbcType; |
| 27 | +import org.labkey.api.data.SQLFragment; |
28 | 28 | import org.labkey.api.data.SqlExecutor; |
29 | 29 | import org.labkey.api.data.TableInfo; |
30 | 30 | import org.labkey.api.data.TableSelector; |
@@ -146,16 +146,16 @@ public void load() |
146 | 146 | public static void dropGoIndexes() |
147 | 147 | { |
148 | 148 | DbSchema schema = ProteinSchema.getSchema(); |
149 | | - new SqlExecutor(schema).execute(schema.getSqlDialect().execute(schema, "drop_go_indexes", "")); |
| 149 | + new SqlExecutor(schema).execute(schema.getSqlDialect().execute(schema, "drop_go_indexes", new SQLFragment())); |
150 | 150 | } |
151 | 151 |
|
152 | 152 | public static void createGoIndexes() |
153 | 153 | { |
154 | 154 | DbSchema schema = ProteinSchema.getSchema(); |
155 | | - new SqlExecutor(schema).execute(schema.getSqlDialect().execute(schema, "create_go_indexes", "")); |
| 155 | + new SqlExecutor(schema).execute(schema.getSqlDialect().execute(schema, "create_go_indexes", new SQLFragment())); |
156 | 156 | } |
157 | 157 |
|
158 | | - private void loadGoFromGz() throws SQLException, IOException, ServletException |
| 158 | + private void loadGoFromGz() throws SQLException, IOException |
159 | 159 | { |
160 | 160 | Map<String, GoLoadBean> map = getGoLoadMap(); |
161 | 161 | long start = System.currentTimeMillis(); |
|
0 commit comments