Skip to content

Commit 869fb7d

Browse files
committed
add version control for batch put and delete
1 parent c13ecdf commit 869fb7d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/com/alipay/oceanbase/rpc/ObGlobal.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ public static boolean isHBaseBatchGetSupport() {
9595
return OB_VERSION >= OB_VERSION_4_2_5_2 && OB_VERSION < OB_VERSION_4_3_0_0;
9696
}
9797

98+
public static boolean isHBaseBatchSupport() {
99+
return OB_VERSION >= OB_VERSION_4_2_5_2 && OB_VERSION < OB_VERSION_4_3_0_0
100+
|| OB_VERSION >= OB_VERSION_4_3_5_0;
101+
}
102+
98103
public static boolean isCellTTLSupport() {
99104
return OB_VERSION >= OB_VERSION_4_3_5_1;
100105
}

0 commit comments

Comments
 (0)