@Override
    protected int onCmp(ResultNode rhs) {
        long value = rhs.getInteger();
        return (this.value < value) ? -1 : (this.value > value) ? 1 : 0;
    }
Sets the value of this result.

@param value The value to set.
@return This, to allow chaining.
searchlib/src/main/java/com/yahoo/searchlib/expression/Int16ResultNode.java