blob: a1a808d7783c77c696aca1993ab54436617e4c14 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "not_implemented_attribute.h"
namespace search::attribute {
/**
* Base class for all raw attributes.
*/
class RawAttribute : public NotImplementedAttribute
{
public:
RawAttribute(const vespalib::string& name, const Config& config);
~RawAttribute() override;
long onSerializeForAscendingSort(DocId doc, void* serTo, long available, const common::BlobConverter*) const override;
long onSerializeForDescendingSort(DocId doc, void* serTo, long available, const common::BlobConverter*) const override;
};
}
|