Home
last modified time | relevance | path

Searched refs:PostingListAccessor (Results 1 – 6 of 6) sorted by relevance

/external/icing/icing/index/main/
Dposting-list-accessor_test.cc54 ICING_ASSERT_OK_AND_ASSIGN(PostingListAccessor pl_accessor, in TEST()
55 PostingListAccessor::Create(&flash_index_storage)); in TEST()
59 PostingListAccessor::FinalizeResult result = in TEST()
60 PostingListAccessor::Finalize(std::move(pl_accessor)); in TEST()
82 ICING_ASSERT_OK_AND_ASSIGN(PostingListAccessor pl_accessor, in TEST()
83 PostingListAccessor::Create(&flash_index_storage)); in TEST()
87 PostingListAccessor::FinalizeResult result1 = in TEST()
88 PostingListAccessor::Finalize(std::move(pl_accessor)); in TEST()
98 pl_accessor, PostingListAccessor::CreateFromExisting(&flash_index_storage, in TEST()
102 PostingListAccessor::FinalizeResult result2 = in TEST()
[all …]
Dposting-list-accessor.cc29 libtextclassifier3::StatusOr<PostingListAccessor> PostingListAccessor::Create( in Create()
39 return PostingListAccessor(storage, std::move(posting_list_buffer_array), in Create()
43 libtextclassifier3::StatusOr<PostingListAccessor>
44 PostingListAccessor::CreateFromExisting( in CreateFromExisting()
48 ICING_ASSIGN_OR_RETURN(PostingListAccessor pl_accessor, Create(storage)); in CreateFromExisting()
58 PostingListAccessor::GetNextHitsBatch() { in GetNextHitsBatch()
85 libtextclassifier3::Status PostingListAccessor::PrependHit(const Hit &hit) { in PrependHit()
109 void PostingListAccessor::FlushPreexistingPostingList() { in FlushPreexistingPostingList()
131 libtextclassifier3::Status PostingListAccessor::FlushInMemoryPostingList() { in FlushInMemoryPostingList()
143 PostingListAccessor::FinalizeResult PostingListAccessor::Finalize( in Finalize()
[all …]
Dmain-index.cc154 libtextclassifier3::StatusOr<std::unique_ptr<PostingListAccessor>>
161 ICING_ASSIGN_OR_RETURN(PostingListAccessor accessor, in GetAccessorForExactTerm()
162 PostingListAccessor::CreateFromExisting( in GetAccessorForExactTerm()
164 return std::make_unique<PostingListAccessor>(std::move(accessor)); in GetAccessorForExactTerm()
193 ICING_ASSIGN_OR_RETURN(PostingListAccessor pl_accessor, in GetAccessorForPrefixTerm()
194 PostingListAccessor::CreateFromExisting( in GetAccessorForPrefixTerm()
197 std::make_unique<PostingListAccessor>(std::move(pl_accessor)), exact}; in GetAccessorForPrefixTerm()
507 PostingListAccessor hit_accum, in AddHits()
508 PostingListAccessor::Create(flash_index_storage_.get())); in AddHits()
511 PostingListAccessor::FinalizeResult result = in AddHits()
[all …]
Dposting-list-accessor.h43 class PostingListAccessor {
50 static libtextclassifier3::StatusOr<PostingListAccessor> Create(
63 static libtextclassifier3::StatusOr<PostingListAccessor> CreateFromExisting(
108 static FinalizeResult Finalize(PostingListAccessor accessor);
111 explicit PostingListAccessor( in PostingListAccessor() function
Dmain-index.h51 libtextclassifier3::StatusOr<std::unique_ptr<PostingListAccessor>>
63 std::unique_ptr<PostingListAccessor> accessor;
287 PostingListAccessor* hit_accum);
Ddoc-hit-info-iterator-term-main.h89 std::unique_ptr<PostingListAccessor> posting_list_accessor_;