diff options
author | Chandan Rajah <chandan.rajah@gmail.com> | 2013-07-15 14:25:00 +0100 |
---|---|---|
committer | Chandan Rajah <chandan.rajah@gmail.com> | 2013-07-15 14:25:00 +0100 |
commit | 606b0dc440089bbd1302b333d6399e17177d6891 (patch) | |
tree | 76e097bf292f721b734d40233f5b169bc4a7e1f4 | |
parent | bcd48f5c26fefb9aa863520dc8b94dacb743a449 (diff) | |
parent | bd19a5d5f43ea9504a0c38b283beb6192e28e0ce (diff) | |
download | SpyGlass-606b0dc440089bbd1302b333d6399e17177d6891.tar.gz SpyGlass-606b0dc440089bbd1302b333d6399e17177d6891.zip |
Merge branch 'master' into scala_2.9.3
-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"; |