public static ResultNode getType(ResultNode arg) {
        return (ResultNode)ResultNode.createFromId(getBaseType(arg));
    }
This class implements a lookup table for result node type conversion.

@author Ulf Lilleengen
searchlib/src/main/java/com/yahoo/searchlib/expression/ArithmeticTypeConversion.java