aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/grouping/result/StringId.java
blob: 1c7b01612851681a626297e008e067b9f00978d6 (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.search.grouping.result;

/**
 * This class is used in {@link Group} instances where the identifying expression evaluated to a {@link String}.
 *
 * @author Simon Thoresen Hult
 */
public class StringId extends ValueGroupId<String> {

    /**
     * Constructs a new instance of this class.
     *
     * @param value The identifying string.
     */
    public StringId(String value) {
        super("string", value);
    }
}