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


/**
 * An or'ing of a collection of sub-expressions
 *
 * @author bratseth
 */
public class OrItem extends CompositeItem {

    public ItemType getItemType() {
        return ItemType.OR;
    }

    public String getName() {
        return "OR";
    }

}