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

import com.yahoo.document.Document;
import com.yahoo.document.DocumentUpdate;

import java.util.List;

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

    DocumentAdapter newDocumentAdapter(Document doc);

    List<UpdateAdapter> newUpdateAdapterList(DocumentUpdate upd);

}