aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/attribute/ipostinglistattributebase.h
blob: b4dbf78f64c6939bd4d648777f26771a710d9e20 (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
25
26
27
28
29
30
31
32
33
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once


namespace search
{

namespace attribute
{

class IPostingListAttributeBase
{
public:
    virtual
    ~IPostingListAttributeBase()
    {
    }

    virtual void
    clearPostings(IAttributeVector::EnumHandle eidx,
                  uint32_t fromLid,
                  uint32_t toLid) = 0;

    virtual void
    forwardedShrinkLidSpace(uint32_t newSize) = 0;
};


} // namespace attribute

} // namespace search