diff options
author | Saad Rashid <saad373@gmail.com> | 2013-07-05 16:59:36 +0100 |
---|---|---|
committer | Saad Rashid <saad373@gmail.com> | 2013-07-05 16:59:36 +0100 |
commit | bd19a5d5f43ea9504a0c38b283beb6192e28e0ce (patch) | |
tree | 8917736c0034f92190f5227fd093da4a2082b523 | |
parent | 20a18b4388f0cd06bec0b43d083150f6e1bb2c5e (diff) | |
download | SpyGlass-bd19a5d5f43ea9504a0c38b283beb6192e28e0ce.tar.gz SpyGlass-bd19a5d5f43ea9504a0c38b283beb6192e28e0ce.zip |
Added Multi Row Inserts in the documentation and changes in the values
in JDBC Constants.
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | src/main/java/parallelai/spyglass/jdbc/JDBCConstants.java | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ SpyGlass ======== -Cascading and Scalding wrapper for HBase with advanced read and write features. JDBC wrapper is recently added to support SQL in taps. Insert/Update/Update on Duplicates are supported. +Cascading and Scalding wrapper for HBase with advanced read and write features. JDBC wrapper is recently added to support SQL in taps. Insert/Update/Upserts (Update on Duplicates) are supported with MultiRowInserts & Batch Modes. Prevent Hot Spotting by the use of transparent key prefixes. diff --git a/src/main/java/parallelai/spyglass/jdbc/JDBCConstants.java b/src/main/java/parallelai/spyglass/jdbc/JDBCConstants.java index 6788624..429b401 100644 --- a/src/main/java/parallelai/spyglass/jdbc/JDBCConstants.java +++ b/src/main/java/parallelai/spyglass/jdbc/JDBCConstants.java @@ -13,7 +13,11 @@ public class JDBCConstants { public enum JdbcSinkMode { INSERT, UPDATE, - UPSERT; + UPSERT, + BATCH_INSERT, + BATCH_UPSERT, + MULTI_ROW_INSERT, + MULTI_ROW_UPSERT; } public static final String START_KEY = "jdbc.%s.startkey"; |