summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/searchdefinition/fieldoperation/FieldOperationContainer.java
blob: 09e8b3ccdfad39ab6867aed00852988ffdfe0b7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2017 Yahoo Holdings. 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 thjeir natural order before applying each operation. */
    void applyOperations(SDField field);

    String getName();

}