blob: a3a59d9beb2e4d83d533020ca8a7b63b54e69c5e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/vespalib/util/arrayref.h>
#include <cstdint>
template <typename FltType = float>
struct DocVectorAccess
{
virtual vespalib::ConstArrayRef<FltType> get(uint32_t docid) const = 0;
virtual ~DocVectorAccess() = default;
};
|