aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/test/diskindex/pagedict4_decoders.h
blob: f52abd8b9b63cabc35f8c620add0347b57ab01db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <vespa/searchlib/bitcompression/countcompression.h>

namespace search::diskindex::test {

/*
 * Class for writing to memory based pagedict4 structure
 */
struct PageDict4Decoders
{
    using DC = search::bitcompression::PostingListCountFileDecodeContext;

    DC ssd;
    DC spd;
    DC pd;

    PageDict4Decoders(uint32_t chunkSize, uint64_t numWordIds);
    ~PageDict4Decoders();
};

}