blob: 2a57b960078376d06b2b8279532b2d204764fda5 (
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
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/eval/eval/value_type.h>
#include <vespa/eval/eval/operation.h>
#include <vespa/eval/eval/interpreted_function.h>
namespace vespalib::eval { struct ValueBuilderFactory; }
namespace vespalib::eval::instruction {
using map_fun_t = operation::op1_t;
struct GenericMap {
static InterpretedFunction::Instruction
make_instruction(const ValueType &result_type,
const ValueType &input_type,
map_fun_t function,
Stash &stash);
};
} // namespace
|