summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/prelude/query/NonReducibleCompositeItem.java
blob: 244706222a40d05aa0a172f242a2366861105ffa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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;

/**
 * A composite item which specifies semantics which are not maintained
 * if an instance with a single child is replaced by the single child.
 * <p>
 * Most composites, like AND and OR, are reducible as e.g (AND a) is semantically equal to (a).
 * <p>
 * This type functions as a marked interfaces for query rewriters.
 *
 * @author bratseth
 * @since 5.1.22
 */
public abstract class NonReducibleCompositeItem extends CompositeItem {
}