summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/searchdefinition/fieldoperation/FieldOperationContainer.java
blob: f81b1e424496ffa717ed3d6ee6a2809d56341ed8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.searchdefinition.fieldoperation;

import com.yahoo.searchdefinition.document.SDField;

/**
 * @author Einar M R Rosenvinge
 */
public interface FieldOperationContainer {

    /** Adds an operation */
    void addOperation(FieldOperation op);

    /** Apply all operations. Operations must be sorted in their natural order before applying each operation. */
    void applyOperations(SDField field);

    String getName();

}