blob: 3f00b89705cbd7a8d178d59a8234dcd3a1c8c3c0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.prelude.query;
/**
* Represents the rank operator, which only orders the result set and
* does not change which hits are returned.
*
* The first argument is the part selecting the result set, the
* following operands are used to order the result and does not affect
* which hits are returned.
*
* @author bratseth
*/
public class RankItem extends CompositeItem {
@Override
public ItemType getItemType() {
return ItemType.RANK;
}
@Override
public String getName() {
return "RANK";
}
}
|