aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/grouping/result/StringBucketId.java
blob: 139529b4a85134dd99ddcb0e24dd69efa6ad367e (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 Vespa.ai. 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
 * com.yahoo.search.grouping.request.StringBucket}.
 *
 * @author Simon Thoresen Hult
 */
public class StringBucketId extends BucketGroupId<String> {

    /**
     * Constructs a new instance of this class.
     *
     * @param from The identifying inclusive-from string.
     * @param to   The identifying exclusive-to string.
     */
    public StringBucketId(String from, String to) {
        super("string_bucket", from, to);
    }

}