summaryrefslogtreecommitdiffstats
path: root/searchlib/src/main/java/com/yahoo/searchlib/expression/DocumentAccessorNode.java
blob: dabbf8d622be23bb8b902d3d852e6fb5dcedc1ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2016 Yahoo Inc. 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 <a href="mailto:balder@yahoo-inc.com">Henning Baldersheim</a>
 * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen</a>
 */
public abstract class DocumentAccessorNode extends ExpressionNode {

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

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