@Override
    public GetDocIdNamespaceSpecificFunctionNode clone() {
        GetDocIdNamespaceSpecificFunctionNode obj = (GetDocIdNamespaceSpecificFunctionNode)super.clone();
        if (result != null) {
            obj.result = (ResultNode)result.clone();
        }
        return obj;
    }
Constructs an instance of this class with given result.

@param result The result to assign to this.
searchlib/src/main/java/com/yahoo/searchlib/expression/GetDocIdNamespaceSpecificFunctionNode.java