blob: bb0a7318b2116ccbe2a1e876f97ba8697ef804b2 (
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 <cstdint>
namespace search { class AttributeVector; }
namespace search::attribute { class Config; }
namespace proton::test {
struct AttributeUtils
{
using Config = search::attribute::Config;
static void fillAttribute(search::AttributeVector &attr, uint32_t numDocs, int64_t value, uint64_t lastSyncToken);
static void fillAttribute(search::AttributeVector &attr, uint32_t from, uint32_t to, int64_t value, uint64_t lastSyncToken);
static const Config & getInt32Config();
static const Config & getInt32ArrayConfig();
static const Config & getStringConfig();
static const Config & getPredicateConfig();
static const Config & getTensorConfig();
};
}
|