aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/grouping/result/NullId.java
blob: f5e1cba90b047cf934a012f07782e9b1f9c01d48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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 in {@link Group} instances where the identifying expression evaluated to null. For example, hits that
 * fall outside the buckets of a {@link com.yahoo.search.grouping.request.PredefinedFunction} are added to an
 * auto-generated group with this id.
 *
 * @author Simon Thoresen Hult
 */
public class NullId extends GroupId {

    /**
     * Constructs a new instance of this class.
     */
    public NullId() {
        super("null");
    }
}