blob: 1d63fa1c479241995ecf26a9e66b487466dcfe69 (
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 <vespa/vespalib/btree/btree.h>
namespace search::predicate {
using BTreeSet = vespalib::btree::BTree<uint32_t, vespalib::btree::BTreeNoLeafData>;
using ZeroConstraintDocs = BTreeSet::FrozenView;
struct Constants {
static const vespalib::string z_star_attribute_name;
static const uint64_t z_star_hash;
static const vespalib::string z_star_compressed_attribute_name;
static const uint64_t z_star_compressed_hash;
};
struct DocIdLimitProvider {
virtual uint32_t getDocIdLimit() const = 0;
virtual uint32_t getCommittedDocIdLimit() const = 0;
virtual ~DocIdLimitProvider() {}
};
}
|