aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/bucketdb/bucketdeltapair.h
blob: afdf274ca90d96f5e1328482b32fca2ea06493c8 (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
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include "bucketstate.h"

namespace proton::bucketdb {

/**
 * Class BucketDeltaPair represent the deltas to bucket states caused by
 * a join or split operation.
 */
class BucketDeltaPair
{
public:
    BucketState _delta1;
    BucketState _delta2;

    BucketDeltaPair()
        : _delta1(),
          _delta2()
    { }
};

}