Skip to content

Commit 0a87f24

Browse files
committed
remove useless method in bufferedMutatorImpl
1 parent 9cd4464 commit 0a87f24

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/main/java/com/alipay/oceanbase/hbase/util/OHBufferedMutatorImpl.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -238,16 +238,6 @@ public void setWriteBufferSize(long writeBufferSize) throws IOException {
238238
}
239239
}
240240

241-
private ObTableBatchOperation buildObTableBatchOperation(List<? extends Mutation> execBuffer) {
242-
List<KeyValue> keyValueList = new LinkedList<>();
243-
for (Mutation mutation : execBuffer) {
244-
for (Map.Entry<byte[], List<KeyValue>> entry : mutation.getFamilyMap().entrySet()) {
245-
keyValueList.addAll(entry.getValue());
246-
}
247-
}
248-
return OHTable.buildObTableBatchOperation(keyValueList, false, null);
249-
}
250-
251241
/**
252242
* Only 4_2_5 BP1 - 4_3_0 and after 4_3_4 support multi-cf
253243
* */

0 commit comments

Comments
 (0)