embulk-output-redshift 0.7.9 → 0.7.10
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.
- checksums.yaml +4 -4
- data/classpath/{embulk-output-jdbc-0.7.9.jar → embulk-output-jdbc-0.7.10.jar} +0 -0
- data/classpath/{embulk-output-postgresql-0.7.9.jar → embulk-output-postgresql-0.7.10.jar} +0 -0
- data/classpath/{embulk-output-redshift-0.7.9.jar → embulk-output-redshift-0.7.10.jar} +0 -0
- data/src/main/java/org/embulk/output/RedshiftOutputPlugin.java +1 -1
- metadata +5 -6
- data/src/main/java/org/embulk/output/redshift/Ssl.java +0 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 719b18c2eac69c6fef514b47b0fed5a50bf3cc99
|
4
|
+
data.tar.gz: 99c2de779340dd07db0d4cf12d5b9660be2cc8fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e7b75ea9ae85b9cadc7b6feb772a262c775704f8cdfe32016fdc238d62607b1f3aab14eb5547d7a72a2aaef81b747e0a63a9c898afa765693ca292ce08c81d1
|
7
|
+
data.tar.gz: 7e7fb1b629d5a5623d45fb6885299de94932daac9cc5e476280b7cd02108d36f6f6dc47a4a995f41c0e53c6ad5569313811bc17637de10bf1ddfbe5beaba7992
|
Binary file
|
Binary file
|
Binary file
|
@@ -18,9 +18,9 @@ import org.embulk.output.jdbc.BatchInsert;
|
|
18
18
|
import org.embulk.output.jdbc.JdbcOutputConnection;
|
19
19
|
import org.embulk.output.jdbc.MergeConfig;
|
20
20
|
import org.embulk.output.jdbc.TableIdentifier;
|
21
|
+
import org.embulk.output.jdbc.Ssl;
|
21
22
|
import org.embulk.output.redshift.RedshiftOutputConnector;
|
22
23
|
import org.embulk.output.redshift.RedshiftCopyBatchInsert;
|
23
|
-
import org.embulk.output.redshift.Ssl;
|
24
24
|
|
25
25
|
public class RedshiftOutputPlugin
|
26
26
|
extends AbstractJdbcOutputPlugin
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-output-redshift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sadayuki Furuhashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Inserts or updates records to a table.
|
14
14
|
email:
|
@@ -26,9 +26,9 @@ files:
|
|
26
26
|
- classpath/commons-codec-1.6.jar
|
27
27
|
- classpath/commons-logging-1.1.3.jar
|
28
28
|
- classpath/embulk-core-0.8.9.jar
|
29
|
-
- classpath/embulk-output-jdbc-0.7.
|
30
|
-
- classpath/embulk-output-postgresql-0.7.
|
31
|
-
- classpath/embulk-output-redshift-0.7.
|
29
|
+
- classpath/embulk-output-jdbc-0.7.10.jar
|
30
|
+
- classpath/embulk-output-postgresql-0.7.10.jar
|
31
|
+
- classpath/embulk-output-redshift-0.7.10.jar
|
32
32
|
- classpath/embulk-util-aws-credentials-0.2.8.jar
|
33
33
|
- classpath/httpclient-4.3.6.jar
|
34
34
|
- classpath/httpcore-4.3.3.jar
|
@@ -41,7 +41,6 @@ files:
|
|
41
41
|
- src/main/java/org/embulk/output/redshift/RedshiftCopyBatchInsert.java
|
42
42
|
- src/main/java/org/embulk/output/redshift/RedshiftOutputConnection.java
|
43
43
|
- src/main/java/org/embulk/output/redshift/RedshiftOutputConnector.java
|
44
|
-
- src/main/java/org/embulk/output/redshift/Ssl.java
|
45
44
|
homepage: https://github.com/embulk/embulk-output-jdbc
|
46
45
|
licenses:
|
47
46
|
- Apache 2.0
|
@@ -1,37 +0,0 @@
|
|
1
|
-
package org.embulk.output.redshift;
|
2
|
-
|
3
|
-
import com.fasterxml.jackson.annotation.JsonCreator;
|
4
|
-
import com.fasterxml.jackson.annotation.JsonValue;
|
5
|
-
|
6
|
-
import org.embulk.config.ConfigException;
|
7
|
-
|
8
|
-
public enum Ssl
|
9
|
-
{
|
10
|
-
ENABLE,
|
11
|
-
DISABLE,
|
12
|
-
VERIFY;
|
13
|
-
|
14
|
-
@JsonValue
|
15
|
-
@Override
|
16
|
-
public String toString()
|
17
|
-
{
|
18
|
-
return this.name().toLowerCase();
|
19
|
-
}
|
20
|
-
|
21
|
-
@JsonCreator
|
22
|
-
public static Ssl fromString(String value)
|
23
|
-
{
|
24
|
-
switch(value) {
|
25
|
-
case "enable":
|
26
|
-
case "true":
|
27
|
-
return ENABLE;
|
28
|
-
case "disable":
|
29
|
-
case "false":
|
30
|
-
return DISABLE;
|
31
|
-
case "verify":
|
32
|
-
return VERIFY;
|
33
|
-
default:
|
34
|
-
throw new ConfigException(String.format("Unknown SSL value '%s'. Supported values are enable, true, disable, false or verify.", value));
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}
|