aboutsummaryrefslogtreecommitdiffstats
path: root/indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/expressions/FieldTypeAdapter.java
blob: 9633c8dcfb93b708c7546f7b7cd786a72e9b4251 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.indexinglanguage.expressions;

import com.yahoo.document.DataType;

/**
 * @author Simon Thoresen Hult
 */
public interface FieldTypeAdapter {

    DataType getInputType(Expression exp, String fieldName);

    void tryOutputType(Expression exp, String fieldName, DataType valueType);

}