@Override
    protected void onSerialize(Serializer buf) {
        serializeOptional(buf, from);
        serializeOptional(buf, to);
    }
Obtain the bucket end

@return bucket end
searchlib/src/main/java/com/yahoo/searchlib/expression/RawBucketResultNode.java