summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/vespa/streamingvisitors/VisitorFactory.java
blob: 25d4bbc689da327596dfdd65f04e52ec3af20d00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.streamingvisitors;

import com.yahoo.messagebus.routing.Route;
import com.yahoo.search.Query;

/**
 * A factory that creates Visitors.
 *
 * @author <a href="mailto:ulf@yahoo-inc.com">Ulf Carlin</a>
 */
interface VisitorFactory {
    public Visitor createVisitor(Query query, String searchCluster, Route route);
}