aboutsummaryrefslogtreecommitdiff
path: root/icing/query/advanced_query_parser/function.h
diff options
context:
space:
mode:
Diffstat (limited to 'icing/query/advanced_query_parser/function.h')
-rw-r--r--icing/query/advanced_query_parser/function.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/icing/query/advanced_query_parser/function.h b/icing/query/advanced_query_parser/function.h
index 3514878..08cc7e8 100644
--- a/icing/query/advanced_query_parser/function.h
+++ b/icing/query/advanced_query_parser/function.h
@@ -46,6 +46,8 @@ class Function {
libtextclassifier3::StatusOr<PendingValue> Eval(
std::vector<PendingValue>&& args) const;
+ libtextclassifier3::StatusOr<DataType> get_param_type(int i) const;
+
private:
Function(DataType return_type, std::string name, std::vector<Param> params,
EvalFunction eval)