blob: f79aac90facfe19495d1df44fb99ac0dcf5f6bce (
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 <vespa/vespalib/stllike/string.h>
namespace document::select { class FieldValueNode; }
namespace proton {
/**
* Utility functions used as part of document selection integration in searchcore.
*/
struct SelectUtils {
/**
* Extracts the field name of the FieldValueNode and signals whether it is complex or not.
*/
static vespalib::string extractFieldName(const document::select::FieldValueNode &expr, bool &isComplex);
};
}
|