embulk-output-oracle 0.4.5 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -50
  3. data/build.gradle +1 -0
  4. data/classpath/embulk-output-jdbc-0.5.0.jar +0 -0
  5. data/classpath/embulk-output-oracle-0.5.0.jar +0 -0
  6. data/src/main/java/org/embulk/output/oracle/DirectBatchInsert.java +16 -14
  7. data/src/main/java/org/embulk/output/oracle/OracleOutputConnection.java +5 -5
  8. data/src/main/java/org/embulk/output/oracle/oci/ColumnDefinition.java +39 -15
  9. data/src/main/java/org/embulk/output/oracle/oci/OCI.java +125 -133
  10. data/src/main/java/org/embulk/output/oracle/oci/OCIWrapper.java +403 -33
  11. data/src/main/java/org/embulk/output/oracle/oci/RowBuffer.java +39 -40
  12. data/src/main/java/org/embulk/output/oracle/oci/TableDefinition.java +17 -3
  13. data/src/test/java/org/embulk/output/oracle/OracleOutputPluginTest.java +2 -2
  14. data/src/test/java/org/embulk/output/oracle/OracleOutputPluginTestImpl.java +38 -143
  15. data/src/test/resources/{data → oracle/data}/test1/test1.csv +0 -0
  16. data/src/test/resources/{yml → oracle/yml}/test-insert-direct-direct-method.yml +1 -1
  17. data/src/test/resources/{yml → oracle/yml}/test-insert-direct-empty.yml +1 -1
  18. data/src/test/resources/{yml → oracle/yml}/test-insert-direct-oci-method-split.yml +1 -1
  19. data/src/test/resources/{yml → oracle/yml}/test-insert-direct-oci-method.yml +1 -1
  20. data/src/test/resources/{yml → oracle/yml}/test-insert-direct.yml +1 -1
  21. data/src/test/resources/{yml → oracle/yml}/test-insert-empty.yml +1 -1
  22. data/src/test/resources/{yml → oracle/yml}/test-insert.yml +1 -1
  23. data/src/test/resources/{yml → oracle/yml}/test-replace-empty.yml +1 -1
  24. data/src/test/resources/{yml → oracle/yml}/test-replace-long-name-multibyte.yml +1 -1
  25. data/src/test/resources/{yml → oracle/yml}/test-replace-long-name.yml +1 -1
  26. data/src/test/resources/{yml → oracle/yml}/test-replace-oci-method.yml +1 -1
  27. data/src/test/resources/{yml → oracle/yml}/test-replace.yml +1 -1
  28. data/src/test/resources/{yml → oracle/yml}/test-string-timestamp.yml +1 -1
  29. data/src/test/resources/{yml → oracle/yml}/test-truncate-insert-oci-method.yml +1 -1
  30. data/src/test/resources/{yml → oracle/yml}/test-truncate-insert.yml +1 -1
  31. data/src/test/resources/{yml → oracle/yml}/test-url.yml +1 -1
  32. metadata +21 -38
  33. data/classpath/embulk-output-jdbc-0.4.5.jar +0 -0
  34. data/classpath/embulk-output-oracle-0.4.5.jar +0 -0
  35. data/lib/embulk/linux_x64/libembulk-output-oracle.so +0 -0
  36. data/lib/embulk/win_x64/embulk-output-oracle.dll +0 -0
  37. data/src/main/cpp/common/dir-path-load.cpp +0 -425
  38. data/src/main/cpp/common/dir-path-load.h +0 -37
  39. data/src/main/cpp/common/embulk-output-oracle.cpp +0 -195
  40. data/src/main/cpp/common/org_embulk_output_oracle_oci_OCI.h +0 -77
  41. data/src/main/cpp/linux/build.sh +0 -21
  42. data/src/main/cpp/win/build.bat +0 -32
  43. data/src/main/cpp/win/dllmain.cpp +0 -25
  44. data/src/main/cpp/win/embulk-output-oracle.sln +0 -39
  45. data/src/main/cpp/win/embulk-output-oracle.vcxproj +0 -176
  46. data/src/test/cpp/common/embulk-output-oracle-test.cpp +0 -69
  47. data/src/test/cpp/linux/build.sh +0 -19
  48. data/src/test/cpp/win/build.bat +0 -29
  49. data/src/test/cpp/win/embulk-output-oracle-test.vcxproj +0 -155
  50. data/src/test/java/org/embulk/output/tester/EmbulkPluginTester.java +0 -79
  51. data/src/test/resources/dummy.txt +0 -1
@@ -2,40 +2,27 @@ package org.embulk.output.oracle;
2
2
 
3
3
  import static org.junit.Assert.assertEquals;
4
4
 
5
- import java.io.BufferedReader;
6
- import java.io.BufferedWriter;
7
5
  import java.io.File;
8
- import java.io.FileReader;
9
- import java.io.FileWriter;
10
- import java.io.IOException;
11
6
  import java.lang.reflect.Constructor;
12
7
  import java.math.BigDecimal;
13
- import java.net.URISyntaxException;
14
8
  import java.sql.Connection;
15
9
  import java.sql.DriverManager;
16
10
  import java.sql.ResultSet;
17
11
  import java.sql.SQLException;
18
- import java.sql.Statement;
19
12
  import java.sql.Timestamp;
20
13
  import java.text.DateFormat;
21
14
  import java.text.ParseException;
22
15
  import java.text.SimpleDateFormat;
23
- import java.util.ArrayList;
24
- import java.util.Collections;
25
- import java.util.Comparator;
26
16
  import java.util.Date;
27
17
  import java.util.Iterator;
28
18
  import java.util.List;
29
19
  import java.util.TimeZone;
30
- import java.util.regex.Matcher;
31
- import java.util.regex.Pattern;
32
20
 
33
- import org.embulk.input.filesplit.LocalFileSplitInputPlugin;
21
+ import org.embulk.output.AbstractJdbcOutputPluginTest;
34
22
  import org.embulk.output.tester.EmbulkPluginTester;
35
- import org.embulk.spi.InputPlugin;
36
23
 
37
24
 
38
- public class OracleOutputPluginTestImpl
25
+ public class OracleOutputPluginTestImpl extends AbstractJdbcOutputPluginTest
39
26
  {
40
27
  private EmbulkPluginTester tester;
41
28
  private String pluginName;
@@ -72,8 +59,6 @@ public class OracleOutputPluginTestImpl
72
59
  // GRANT DBA TO EMBULK_USER;
73
60
  }
74
61
 
75
- convertPath("/data/test2/").mkdirs();
76
-
77
62
  return null;
78
63
  }
79
64
 
@@ -84,7 +69,7 @@ public class OracleOutputPluginTestImpl
84
69
  dropTable(table);
85
70
  createTable(table);
86
71
 
87
- run("/yml/test-insert.yml");
72
+ run("/oracle/yml/test-insert.yml");
88
73
 
89
74
  assertTable(table);
90
75
  }
@@ -95,7 +80,7 @@ public class OracleOutputPluginTestImpl
95
80
 
96
81
  dropTable(table);
97
82
 
98
- run("/yml/test-insert.yml");
83
+ run("/oracle/yml/test-insert.yml");
99
84
 
100
85
  assertGeneratedTable1(table);
101
86
  }
@@ -107,7 +92,8 @@ public class OracleOutputPluginTestImpl
107
92
  dropTable(table);
108
93
  createTable(table);
109
94
 
110
- run("/yml/test-insert-empty.yml");
95
+ new File(convertPath("/oracle/data/"), "test2").mkdir();
96
+ run("/oracle/yml/test-insert-empty.yml");
111
97
 
112
98
  assertTableEmpty(table);
113
99
  }
@@ -120,7 +106,7 @@ public class OracleOutputPluginTestImpl
120
106
  createTable(table);
121
107
  insertRecord(table);
122
108
 
123
- run("/yml/test-truncate-insert.yml");
109
+ run("/oracle/yml/test-truncate-insert.yml");
124
110
 
125
111
  assertTable(table);
126
112
  }
@@ -133,7 +119,7 @@ public class OracleOutputPluginTestImpl
133
119
  createTable(table);
134
120
  insertRecord(table);
135
121
 
136
- run("/yml/test-truncate-insert-oci-method.yml");
122
+ run("/oracle/yml/test-truncate-insert-oci-method.yml");
137
123
 
138
124
  assertTable(table);
139
125
  }
@@ -144,7 +130,7 @@ public class OracleOutputPluginTestImpl
144
130
 
145
131
  dropTable(table);
146
132
 
147
- run("/yml/test-truncate-insert.yml");
133
+ run("/oracle/yml/test-truncate-insert.yml");
148
134
 
149
135
  assertGeneratedTable1(table);
150
136
  }
@@ -156,7 +142,7 @@ public class OracleOutputPluginTestImpl
156
142
  dropTable(table);
157
143
  createTable(table);
158
144
 
159
- run("/yml/test-insert-direct.yml");
145
+ run("/oracle/yml/test-insert-direct.yml");
160
146
 
161
147
  assertTable(table);
162
148
  }
@@ -168,7 +154,8 @@ public class OracleOutputPluginTestImpl
168
154
  dropTable(table);
169
155
  createTable(table);
170
156
 
171
- run("/yml/test-insert-direct-empty.yml");
157
+ new File(convertPath("/oracle/data/"), "test2").mkdir();
158
+ run("/oracle/yml/test-insert-direct-empty.yml");
172
159
 
173
160
  assertTableEmpty(table);
174
161
  }
@@ -179,7 +166,7 @@ public class OracleOutputPluginTestImpl
179
166
 
180
167
  dropTable(table);
181
168
 
182
- run("/yml/test-insert-direct.yml");
169
+ run("/oracle/yml/test-insert-direct.yml");
183
170
 
184
171
  assertGeneratedTable1(table);
185
172
  }
@@ -191,7 +178,7 @@ public class OracleOutputPluginTestImpl
191
178
  dropTable(table);
192
179
  createTable(table);
193
180
 
194
- run("/yml/test-insert-direct-direct-method.yml");
181
+ run("/oracle/yml/test-insert-direct-direct-method.yml");
195
182
 
196
183
  assertTable(table);
197
184
  }
@@ -203,21 +190,19 @@ public class OracleOutputPluginTestImpl
203
190
  dropTable(table);
204
191
  createTable(table);
205
192
 
206
- run("/yml/test-insert-direct-oci-method.yml");
193
+ run("/oracle/yml/test-insert-direct-oci-method.yml");
207
194
 
208
195
  assertTable(table);
209
196
  }
210
197
 
211
198
  public void testInsertDirectOCIMethodSplit() throws Exception
212
199
  {
213
- tester.addPlugin(InputPlugin.class, "filesplit", LocalFileSplitInputPlugin.class);
214
-
215
200
  String table = "TEST1";
216
201
 
217
202
  dropTable(table);
218
203
  createTable(table);
219
204
 
220
- run("/yml/test-insert-direct-oci-method-split.yml");
205
+ run("/oracle/yml/test-insert-direct-oci-method-split.yml");
221
206
 
222
207
  assertTable(table);
223
208
  }
@@ -229,7 +214,7 @@ public class OracleOutputPluginTestImpl
229
214
  dropTable(table);
230
215
  createTable(table);
231
216
 
232
- run("/yml/test-url.yml");
217
+ run("/oracle/yml/test-url.yml");
233
218
 
234
219
  assertTable(table);
235
220
  }
@@ -241,7 +226,7 @@ public class OracleOutputPluginTestImpl
241
226
  dropTable(table);
242
227
  createTable(table);
243
228
 
244
- run("/yml/test-replace.yml");
229
+ run("/oracle/yml/test-replace.yml");
245
230
 
246
231
  assertGeneratedTable2(table);
247
232
  }
@@ -253,7 +238,7 @@ public class OracleOutputPluginTestImpl
253
238
  dropTable(table);
254
239
  createTable(table);
255
240
 
256
- run("/yml/test-replace-oci-method.yml");
241
+ run("/oracle/yml/test-replace-oci-method.yml");
257
242
 
258
243
  assertGeneratedTable2(table);
259
244
  }
@@ -265,7 +250,7 @@ public class OracleOutputPluginTestImpl
265
250
  dropTable(table);
266
251
  createTable(table);
267
252
 
268
- run("/yml/test-replace-empty.yml");
253
+ run("/oracle/yml/test-replace-empty.yml");
269
254
 
270
255
  assertTableEmpty(table);
271
256
  }
@@ -276,7 +261,7 @@ public class OracleOutputPluginTestImpl
276
261
 
277
262
  dropTable(table);
278
263
 
279
- run("/yml/test-replace.yml");
264
+ run("/oracle/yml/test-replace.yml");
280
265
 
281
266
  assertGeneratedTable2(table);
282
267
  }
@@ -289,7 +274,7 @@ public class OracleOutputPluginTestImpl
289
274
  dropTable(table);
290
275
  createTable(table);
291
276
 
292
- run("/yml/test-replace-long-name.yml");
277
+ run("/oracle/yml/test-replace-long-name.yml");
293
278
 
294
279
  assertGeneratedTable2(table);
295
280
  }
@@ -298,7 +283,7 @@ public class OracleOutputPluginTestImpl
298
283
  {
299
284
  String table = "TEST123456789012345678";
300
285
 
301
- run("/yml/test-replace-long-name-multibyte.yml");
286
+ run("/oracle/yml/test-replace-long-name-multibyte.yml");
302
287
 
303
288
  assertGeneratedTable2(table);
304
289
  }
@@ -310,17 +295,11 @@ public class OracleOutputPluginTestImpl
310
295
  dropTable(table);
311
296
  createTable(table);
312
297
 
313
- run("/yml/test-string-timestamp.yml");
298
+ run("/oracle/yml/test-string-timestamp.yml");
314
299
 
315
300
  assertTable(table);
316
301
  }
317
302
 
318
- private void dropTable(String table) throws SQLException
319
- {
320
- String sql = String.format("DROP TABLE %s", table);
321
- executeSQL(sql, true);
322
- }
323
-
324
303
  private void createTable(String table) throws SQLException
325
304
  {
326
305
  String sql = String.format("CREATE TABLE %s ("
@@ -487,6 +466,15 @@ public class OracleOutputPluginTestImpl
487
466
  }
488
467
  }
489
468
 
469
+ @Override
470
+ protected Object getValue(ResultSet resultSet, int index) throws SQLException
471
+ {
472
+ if (resultSet.getMetaData().getColumnTypeName(index).equals("CLOB")) {
473
+ return resultSet.getString(index);
474
+ }
475
+ return super.getValue(resultSet, index);
476
+ }
477
+
490
478
 
491
479
  private Timestamp toTimestamp(String s, TimeZone timeZone)
492
480
  {
@@ -510,66 +498,8 @@ public class OracleOutputPluginTestImpl
510
498
  return constructor.newInstance(toTimestamp(s, timeZone));
511
499
  }
512
500
 
513
-
514
- private List<List<Object>> select(String table) throws SQLException
515
- {
516
- try (Connection connection = connect()) {
517
- try (Statement statement = connection.createStatement()) {
518
- List<List<Object>> rows = new ArrayList<List<Object>>();
519
- String sql = "SELECT * FROM " + table;
520
- System.out.println(sql);
521
- try (ResultSet resultSet = statement.executeQuery(sql)) {
522
- while (resultSet.next()) {
523
- List<Object> row = new ArrayList<Object>();
524
- for (int i = 1; i <= resultSet.getMetaData().getColumnCount(); i++) {
525
- Object value = resultSet.getObject(i);
526
- if (value != null && value.getClass().getName().equals("oracle.sql.CLOB")) {
527
- value = resultSet.getString(i);
528
- }
529
- row.add(value);
530
- }
531
- rows.add(row);
532
- }
533
- }
534
- // cannot sort by CLOB, so sort by Java
535
- Collections.sort(rows, new Comparator<List<Object>>() {
536
- @Override
537
- public int compare(List<Object> o1, List<Object> o2) {
538
- return o1.toString().compareTo(o2.toString());
539
- }
540
- });
541
- return rows;
542
- }
543
- }
544
-
545
- }
546
-
547
-
548
- private void executeSQL(String sql) throws SQLException
549
- {
550
- executeSQL(sql, false);
551
- }
552
-
553
- private void executeSQL(String sql, boolean ignoreError) throws SQLException
554
- {
555
- try (Connection connection = connect()) {
556
- try {
557
- connection.setAutoCommit(true);
558
-
559
- try (Statement statement = connection.createStatement()) {
560
- System.out.println(String.format("Execute SQL : \"%s\".", sql));
561
- statement.execute(sql);
562
- }
563
-
564
- } catch (SQLException e) {
565
- if (!ignoreError) {
566
- throw e;
567
- }
568
- }
569
- }
570
- }
571
-
572
- private static Connection connect() throws SQLException
501
+ @Override
502
+ protected Connection connect() throws SQLException
573
503
  {
574
504
  return DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:TESTDB", "TEST_USER", "test_pw");
575
505
  }
@@ -579,45 +509,10 @@ public class OracleOutputPluginTestImpl
579
509
  tester.run(convertYml(ymlName));
580
510
  }
581
511
 
582
- private String convertYml(String ymlName)
512
+ @Override
513
+ protected String convertYmlLine(String line)
583
514
  {
584
- try {
585
- File ymlPath = convertPath(ymlName);
586
- File tempYmlPath = new File(ymlPath.getParentFile(), "temp-" + ymlPath.getName());
587
- Pattern pathPrefixPattern = Pattern.compile("^ *path(_prefix)?: '(.*)'$");
588
- try (BufferedReader reader = new BufferedReader(new FileReader(ymlPath))) {
589
- try (BufferedWriter writer = new BufferedWriter(new FileWriter(tempYmlPath))) {
590
- String line;
591
- while ((line = reader.readLine()) != null) {
592
- line = line.replaceAll("type: oracle", "type: " + pluginName);
593
- Matcher matcher = pathPrefixPattern.matcher(line);
594
- if (matcher.matches()) {
595
- int group = 2;
596
- writer.write(line.substring(0, matcher.start(group)));
597
- writer.write(convertPath(matcher.group(group)).getAbsolutePath());
598
- writer.write(line.substring(matcher.end(group)));
599
- } else {
600
- writer.write(line);
601
- }
602
- writer.newLine();
603
- }
604
- }
605
- }
606
- return tempYmlPath.getAbsolutePath();
607
-
608
- } catch (IOException e) {
609
- throw new RuntimeException(e);
610
- }
611
- }
612
-
613
- private File convertPath(String name)
614
- {
615
- try {
616
- File root = new File(getClass().getResource("/dummy.txt").toURI()).getParentFile();
617
- return new File(root, name);
618
- } catch (URISyntaxException e) {
619
- throw new RuntimeException(e);
620
- }
515
+ return line.replaceAll("type: oracle", "type: " + pluginName);
621
516
  }
622
517
 
623
518
  }
@@ -1,6 +1,6 @@
1
1
  in:
2
2
  type: file
3
- path_prefix: '/data/test1/test1.csv'
3
+ path_prefix: '/oracle/data/test1/test1.csv'
4
4
  parser:
5
5
  charset: UTF-8
6
6
  newline: CRLF
@@ -1,6 +1,6 @@
1
1
  in:
2
2
  type: file
3
- path_prefix: '/data/test2/'
3
+ path_prefix: '/oracle/data/test2/'
4
4
  parser:
5
5
  charset: UTF-8
6
6
  newline: CRLF
@@ -1,6 +1,6 @@
1
1
  in:
2
2
  type: filesplit
3
- path: '/data/test1/test1.csv'
3
+ path: '/oracle/data/test1/test1.csv'
4
4
  parser:
5
5
  charset: UTF-8
6
6
  newline: CRLF
@@ -1,6 +1,6 @@
1
1
  in:
2
2
  type: file
3
- path_prefix: '/data/test1/test1.csv'
3
+ path_prefix: '/oracle/data/test1/test1.csv'
4
4
  parser:
5
5
  charset: UTF-8
6
6
  newline: CRLF
@@ -1,6 +1,6 @@
1
1
  in:
2
2
  type: file
3
- path_prefix: '/data/test1/test1.csv'
3
+ path_prefix: '/oracle/data/test1/test1.csv'
4
4
  parser:
5
5
  charset: UTF-8
6
6
  newline: CRLF
@@ -1,6 +1,6 @@
1
1
  in:
2
2
  type: file
3
- path_prefix: '/data/test2/'
3
+ path_prefix: '/oracle/data/test2/'
4
4
  parser:
5
5
  charset: UTF-8
6
6
  newline: CRLF
@@ -1,6 +1,6 @@
1
1
  in:
2
2
  type: file
3
- path_prefix: '/data/test1/test1.csv'
3
+ path_prefix: '/oracle/data/test1/test1.csv'
4
4
  parser:
5
5
  charset: UTF-8
6
6
  newline: CRLF
@@ -1,6 +1,6 @@
1
1
  in:
2
2
  type: file
3
- path_prefix: '/data/test2/'
3
+ path_prefix: '/oracle/data/test2/'
4
4
  parser:
5
5
  charset: UTF-8
6
6
  newline: CRLF
@@ -1,6 +1,6 @@
1
1
  in:
2
2
  type: file
3
- path_prefix: '/data/test1/test1.csv'
3
+ path_prefix: '/oracle/data/test1/test1.csv'
4
4
  parser:
5
5
  charset: UTF-8
6
6
  newline: CRLF
@@ -1,6 +1,6 @@
1
1
  in:
2
2
  type: file
3
- path_prefix: '/data/test1/test1.csv'
3
+ path_prefix: '/oracle/data/test1/test1.csv'
4
4
  parser:
5
5
  charset: UTF-8
6
6
  newline: CRLF
@@ -1,6 +1,6 @@
1
1
  in:
2
2
  type: file
3
- path_prefix: '/data/test1/test1.csv'
3
+ path_prefix: '/oracle/data/test1/test1.csv'
4
4
  parser:
5
5
  charset: UTF-8
6
6
  newline: CRLF
@@ -1,6 +1,6 @@
1
1
  in:
2
2
  type: file
3
- path_prefix: '/data/test1/test1.csv'
3
+ path_prefix: '/oracle/data/test1/test1.csv'
4
4
  parser:
5
5
  charset: UTF-8
6
6
  newline: CRLF
@@ -1,6 +1,6 @@
1
1
  in:
2
2
  type: file
3
- path_prefix: '/data/test1/test1.csv'
3
+ path_prefix: '/oracle/data/test1/test1.csv'
4
4
  parser:
5
5
  charset: UTF-8
6
6
  newline: CRLF
@@ -1,6 +1,6 @@
1
1
  in:
2
2
  type: file
3
- path_prefix: '/data/test1/test1.csv'
3
+ path_prefix: '/oracle/data/test1/test1.csv'
4
4
  parser:
5
5
  charset: UTF-8
6
6
  newline: CRLF
@@ -1,6 +1,6 @@
1
1
  in:
2
2
  type: file
3
- path_prefix: '/data/test1/test1.csv'
3
+ path_prefix: '/oracle/data/test1/test1.csv'
4
4
  parser:
5
5
  charset: UTF-8
6
6
  newline: CRLF
@@ -1,6 +1,6 @@
1
1
  in:
2
2
  type: file
3
- path_prefix: '/data/test1/test1.csv'
3
+ path_prefix: '/oracle/data/test1/test1.csv'
4
4
  parser:
5
5
  charset: UTF-8
6
6
  newline: CRLF
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-oracle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-14 00:00:00.000000000 Z
11
+ date: 2016-01-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Inserts or updates records to a table.
14
14
  email:
@@ -19,18 +19,7 @@ extra_rdoc_files: []
19
19
  files:
20
20
  - README.md
21
21
  - build.gradle
22
- - lib/embulk/linux_x64/libembulk-output-oracle.so
23
22
  - lib/embulk/output/oracle.rb
24
- - lib/embulk/win_x64/embulk-output-oracle.dll
25
- - src/main/cpp/common/dir-path-load.cpp
26
- - src/main/cpp/common/dir-path-load.h
27
- - src/main/cpp/common/embulk-output-oracle.cpp
28
- - src/main/cpp/common/org_embulk_output_oracle_oci_OCI.h
29
- - src/main/cpp/linux/build.sh
30
- - src/main/cpp/win/build.bat
31
- - src/main/cpp/win/dllmain.cpp
32
- - src/main/cpp/win/embulk-output-oracle.sln
33
- - src/main/cpp/win/embulk-output-oracle.vcxproj
34
23
  - src/main/java/org/embulk/output/OracleOutputPlugin.java
35
24
  - src/main/java/org/embulk/output/oracle/DirectBatchInsert.java
36
25
  - src/main/java/org/embulk/output/oracle/InsertMethod.java
@@ -44,37 +33,31 @@ files:
44
33
  - src/main/java/org/embulk/output/oracle/oci/OCIWrapper.java
45
34
  - src/main/java/org/embulk/output/oracle/oci/RowBuffer.java
46
35
  - src/main/java/org/embulk/output/oracle/oci/TableDefinition.java
47
- - src/test/cpp/common/embulk-output-oracle-test.cpp
48
- - src/test/cpp/linux/build.sh
49
- - src/test/cpp/win/build.bat
50
- - src/test/cpp/win/embulk-output-oracle-test.vcxproj
51
36
  - src/test/java/org/embulk/input/filesplit/LocalFileSplitInputPlugin.java
52
37
  - src/test/java/org/embulk/input/filesplit/PartialFile.java
53
38
  - src/test/java/org/embulk/input/filesplit/PartialFileInputStream.java
54
39
  - src/test/java/org/embulk/output/oracle/OracleOutputPluginTest.java
55
40
  - src/test/java/org/embulk/output/oracle/OracleOutputPluginTestImpl.java
56
41
  - src/test/java/org/embulk/output/oracle/TimestampFormatTest.java
57
- - src/test/java/org/embulk/output/tester/EmbulkPluginTester.java
58
- - src/test/resources/data/test1/test1.csv
59
- - src/test/resources/dummy.txt
60
- - src/test/resources/yml/test-insert-direct-direct-method.yml
61
- - src/test/resources/yml/test-insert-direct-empty.yml
62
- - src/test/resources/yml/test-insert-direct-oci-method-split.yml
63
- - src/test/resources/yml/test-insert-direct-oci-method.yml
64
- - src/test/resources/yml/test-insert-direct.yml
65
- - src/test/resources/yml/test-insert-empty.yml
66
- - src/test/resources/yml/test-insert.yml
67
- - src/test/resources/yml/test-replace-empty.yml
68
- - src/test/resources/yml/test-replace-long-name-multibyte.yml
69
- - src/test/resources/yml/test-replace-long-name.yml
70
- - src/test/resources/yml/test-replace-oci-method.yml
71
- - src/test/resources/yml/test-replace.yml
72
- - src/test/resources/yml/test-string-timestamp.yml
73
- - src/test/resources/yml/test-truncate-insert-oci-method.yml
74
- - src/test/resources/yml/test-truncate-insert.yml
75
- - src/test/resources/yml/test-url.yml
76
- - classpath/embulk-output-jdbc-0.4.5.jar
77
- - classpath/embulk-output-oracle-0.4.5.jar
42
+ - src/test/resources/oracle/data/test1/test1.csv
43
+ - src/test/resources/oracle/yml/test-insert-direct-direct-method.yml
44
+ - src/test/resources/oracle/yml/test-insert-direct-empty.yml
45
+ - src/test/resources/oracle/yml/test-insert-direct-oci-method-split.yml
46
+ - src/test/resources/oracle/yml/test-insert-direct-oci-method.yml
47
+ - src/test/resources/oracle/yml/test-insert-direct.yml
48
+ - src/test/resources/oracle/yml/test-insert-empty.yml
49
+ - src/test/resources/oracle/yml/test-insert.yml
50
+ - src/test/resources/oracle/yml/test-replace-empty.yml
51
+ - src/test/resources/oracle/yml/test-replace-long-name-multibyte.yml
52
+ - src/test/resources/oracle/yml/test-replace-long-name.yml
53
+ - src/test/resources/oracle/yml/test-replace-oci-method.yml
54
+ - src/test/resources/oracle/yml/test-replace.yml
55
+ - src/test/resources/oracle/yml/test-string-timestamp.yml
56
+ - src/test/resources/oracle/yml/test-truncate-insert-oci-method.yml
57
+ - src/test/resources/oracle/yml/test-truncate-insert.yml
58
+ - src/test/resources/oracle/yml/test-url.yml
59
+ - classpath/embulk-output-jdbc-0.5.0.jar
60
+ - classpath/embulk-output-oracle-0.5.0.jar
78
61
  homepage: https://github.com/embulk/embulk-output-jdbc
79
62
  licenses:
80
63
  - Apache 2.0
Binary file