aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/expression/strcatserializer.h
blob: 4617e3c658c15144f9bf6d076db799bdb7e77c9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include "serializer.h"
#include <vespa/vespalib/objects/asciiserializer.h>

namespace search::expression {

class RawResultNode;

class StrCatSerializer : public vespalib::AsciiSerializer, public ResultSerializer
{
public:
    StrCatSerializer(vespalib::asciistream & stream) : vespalib::AsciiSerializer(stream) { }
    StrCatSerializer & put(const vespalib::Identifiable & value) override;
    ResultSerializer & putResult(const ResultNodeVector & value) override;
    ResultSerializer & putResult(const RawResultNode & value) override;
    void proxyPut(const ResultNode & value) override;
};

}