aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/main/java/com/yahoo/searchlib/expression/DocumentAccessorNode.java
blob: 7f14a2d6ad272e6e208bd5d977d5142e6b2002e2 (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.searchlib.expression;

/**
 * This abstract expression node represents a document whose content is accessed depending on the subclass
 * implementation of this.
 *
 * @author baldersheim
 * @author Simon Thoresen Hult
 */
public abstract class DocumentAccessorNode extends ExpressionNode {

    public static final int classId = registerClass(0x4000 + 48, FunctionNode.class);

    @Override
    protected int onGetClassId() {
        return classId;
    }
}