Searched refs:CacheCursor (Results 1 – 4 of 4) sorted by relevance
22 CacheCursor::CacheCursor(std::vector<DistributedData::VBucket> &&records) in CacheCursor() function in OHOS::DistributedRdb::CacheCursor51 int32_t CacheCursor::GetColumnType(int32_t col) const in GetColumnType()59 int32_t CacheCursor::GetCount() const in GetCount()64 int32_t CacheCursor::MoveToFirst() in MoveToFirst()70 int32_t CacheCursor::MoveToNext() in MoveToNext()81 int32_t CacheCursor::MoveToPrev() in MoveToPrev()86 int32_t CacheCursor::GetEntry(DistributedData::VBucket &entry) in GetEntry()91 int32_t CacheCursor::GetRow(DistributedData::VBucket &data) in GetRow()101 int32_t CacheCursor::Get(int32_t col, DistributedData::Value &value) in Get()123 int32_t CacheCursor::Close() in Close()[all …]
21 class CacheCursor : public DistributedData::Cursor {23 explicit CacheCursor(std::vector<DistributedData::VBucket> &&records);24 ~CacheCursor() = default;
463 return { errCode, std::make_shared<CacheCursor>(std::move(records)) }; in Query()605 return { GeneralError::E_OK, std::make_shared<CacheCursor>(std::move(values)) }; in PreSharing()
40 static std::shared_ptr<CacheCursor> GetCursor();43 static std::shared_ptr<CacheCursor> cursor_;46 std::shared_ptr<CacheCursor> CacheCursorTest::cursor_ = nullptr;50 std::shared_ptr<CacheCursor> CacheCursorTest::GetCursor() in GetCursor()66 cursor_ = std::make_shared<CacheCursor>(std::move(records)); in SetUpTestCase()