blob: 9515ab85fb9e622798471ed508527939482a8c19 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vector>
#include <vespa/document/bucket/bucketid.h>
namespace BucketVector{
void reserve(size_t capacity);
void clear();
void addBucket(uint64_t bucket);
void getBuckets(uint32_t distributionBits, std::vector<document::BucketId>& buckets);
void printVector();
}
|