aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/yql/YqlQuery.java
blob: 10cd87d2230ae758a0b90fd66e93c554aae6e77f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.search.yql;

/**
 * A Yql query. These usually contains variables, which allows the yql query to be parsed once at configuration
 * time and turned into fully specified queries at request time without reparsing.
 *
 * @author bratseth
 */
// TODO: This is just a skeleton
public class YqlQuery {

    private YqlQuery(String yqlQuery) {
        // TODO
    }

    /** Creates a YQl query form a string */
    public static YqlQuery from(String yqlQueryString) {
        return new YqlQuery(yqlQueryString);
    }

}