aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandan Rajah <chandan.rajah@gmail.com>2013-07-15 14:25:00 +0100
committerChandan Rajah <chandan.rajah@gmail.com>2013-07-15 14:25:00 +0100
commit606b0dc440089bbd1302b333d6399e17177d6891 (patch)
tree76e097bf292f721b734d40233f5b169bc4a7e1f4
parentbcd48f5c26fefb9aa863520dc8b94dacb743a449 (diff)
parentbd19a5d5f43ea9504a0c38b283beb6192e28e0ce (diff)
downloadSpyGlass-606b0dc440089bbd1302b333d6399e17177d6891.tar.gz
SpyGlass-606b0dc440089bbd1302b333d6399e17177d6891.zip
Merge branch 'master' into scala_2.9.3
-rw-r--r--README.md2
-rw-r--r--src/main/java/parallelai/spyglass/jdbc/JDBCConstants.java6
2 files changed, 6 insertions, 2 deletions
diff --git a/README.md b/README.md
index bb2e607..beaa4a4 100644
--- a/README.md
+++ b/README.md
@@ -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";