aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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";