Home
last modified time | relevance | path

Searched refs:GetWriteBatch (Results 1 – 21 of 21) sorted by relevance

/rocksdb-6.9/utilities/transactions/
Dwrite_prepared_txn.cc107 WriteBatchInternal::MarkEndPrepare(GetWriteBatch()->GetWriteBatch(), name_, in PrepareInternal()
110 prepare_batch_cnt_ = GetWriteBatch()->SubBatchCnt(); in PrepareInternal()
120 write_options, GetWriteBatch()->GetWriteBatch(), in PrepareInternal()
131 const size_t batch_cnt = GetWriteBatch()->SubBatchCnt(); in CommitWithoutPrepareInternal()
132 return CommitBatchInternal(GetWriteBatch()->GetWriteBatch(), batch_cnt); in CommitWithoutPrepareInternal()
349 auto s = GetWriteBatch()->GetWriteBatch()->Iterate(&rollback_handler); in RollbackInternal()
467 prepare_batch_cnt_ = GetWriteBatch()->SubBatchCnt(); in RebuildFromWriteBatch()
Dwrite_unprepared_txn.cc252 write_batch_.GetWriteBatch()->Count() > 0 && in MaybeFlushWriteBatchToDB()
346 auto s = GetWriteBatch()->GetWriteBatch()->Iterate(&handler); in FlushWriteBatchToDBInternal()
355 WriteBatchInternal::MarkEndPrepare(GetWriteBatch()->GetWriteBatch(), name_, in FlushWriteBatchToDBInternal()
358 prepare_batch_cnt_ = GetWriteBatch()->SubBatchCnt(); in FlushWriteBatchToDBInternal()
374 s = db_impl_->WriteImpl(write_options, GetWriteBatch()->GetWriteBatch(), in FlushWriteBatchToDBInternal()
473 size_t curr_boundary = trailing_batch ? wb.GetWriteBatch()->GetDataSize() in FlushWriteBatchWithSavePointToDB()
482 Status s = WriteBatchInternal::Iterate(wb.GetWriteBatch(), &sp_handler, in FlushWriteBatchWithSavePointToDB()
488 if (write_batch_.GetWriteBatch()->Count() > 0) { in FlushWriteBatchWithSavePointToDB()
715 WriteBatchInternal::MarkRollback(rollback_batch.GetWriteBatch(), name_); in RollbackInternal()
740 s = db_impl_->WriteImpl(write_options_, rollback_batch.GetWriteBatch(), in RollbackInternal()
Doptimistic_transaction.cc82 write_options_, GetWriteBatch()->GetWriteBatch(), &callback); in CommitWithSerialValidate()
118 s = db_impl->Write(write_options_, GetWriteBatch()->GetWriteBatch()); in CommitWithParallelValidate()
Dpessimistic_transaction.cc226 WriteBatchInternal::MarkEndPrepare(GetWriteBatch()->GetWriteBatch(), name_); in PrepareInternal()
257 write_options, GetWriteBatch()->GetWriteBatch(), kNoWriteCallback, in PrepareInternal()
350 db_impl_->WriteImpl(write_options_, GetWriteBatch()->GetWriteBatch(), in CommitWithoutPrepareInternal()
384 WriteBatchInternal::Append(working_batch, GetWriteBatch()->GetWriteBatch()); in CommitInternal()
Dtransaction_base.h197 WriteBatchWithIndex* GetWriteBatch() override;
283 WriteBatchInternal::InsertNoop(write_batch_.GetWriteBatch());
Dwrite_unprepared_transaction_test.cc668 auto wb = txn->GetWriteBatch()->GetWriteBatch(); in TEST_P()
Dtransaction_base.cc591 WriteBatchWithIndex* TransactionBaseImpl::GetWriteBatch() { in GetWriteBatch() function in ROCKSDB_NAMESPACE::TransactionBaseImpl
718 return write_batch_.GetWriteBatch(); in GetBatchForWrite()
Dpessimistic_transaction_db.cc158 real_trx->GetWriteBatch()->SubBatchCnt() == batch_info.batch_cnt_); in Initialize()
Dwrite_prepared_transaction_test.cc255 ASSERT_OK(batch.GetWriteBatch()->Iterate(&counter)); in TEST()
285 ASSERT_OK(rndbatch.GetWriteBatch()->Iterate(&batch_counter)); in TEST()
/rocksdb-6.9/include/rocksdb/utilities/
Dwrite_batch_with_index.h146 using WriteBatchBase::GetWriteBatch;
147 WriteBatch* GetWriteBatch() override;
Dtransaction.h432 virtual WriteBatchWithIndex* GetWriteBatch() = 0;
/rocksdb-6.9/include/rocksdb/
Dwrite_batch.h322 using WriteBatchBase::GetWriteBatch;
323 WriteBatch* GetWriteBatch() override { return this; } in GetWriteBatch() function
Dwrite_batch_base.h105 virtual WriteBatch* GetWriteBatch() = 0;
/rocksdb-6.9/java/rocksjni/
Dwrite_batch_with_index.cc80 return static_cast<jint>(wbwi->GetWriteBatch()->Count()); in Java_org_rocksdb_WriteBatchWithIndex_count0()
496 auto* wb = wbwi->GetWriteBatch(); in Java_org_rocksdb_WriteBatchWithIndex_getWriteBatch()
Dtransaction.cc1364 return reinterpret_cast<jlong>(txn->GetWriteBatch()); in Java_org_rocksdb_Transaction_getWriteBatch()
Drocksjni.cc1318 auto* wb = wbwi->GetWriteBatch(); in Java_org_rocksdb_RocksDB_write1()
/rocksdb-6.9/db/
Dwrite_batch_test.cc739 batch.GetWriteBatch()->Iterate(&handler); in TEST_F()
Dc.cc1613 return b->rep->GetWriteBatch()->Count(); in rocksdb_writebatch_wi_count()
1818 b->rep->GetWriteBatch()->Iterate(&handler); in rocksdb_writebatch_wi_iterate()
1822 WriteBatch* wb = b->rep->GetWriteBatch(); in rocksdb_writebatch_wi_data()
1950 WriteBatch* wb = wbwi->rep->GetWriteBatch(); in rocksdb_write_writebatch_wi()
Ddb_test.cc2420 ASSERT_OK(db->Write(WriteOptions(), batch.GetWriteBatch())); in MTThreadBody()
/rocksdb-6.9/utilities/write_batch_with_index/
Dwrite_batch_with_index.cc646 WriteBatch* WriteBatchWithIndex::GetWriteBatch() { return &rep->write_batch; } in GetWriteBatch() function in ROCKSDB_NAMESPACE::WriteBatchWithIndex
Dwrite_batch_with_index_test.cc246 batch->GetWriteBatch()->Iterate(&handler); in TestValueAsSecondaryIndexHelper()