presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/systemtables/ValueBuffer.java/ValueBuffer/getDouble
class ValueBuffer:    public double getDouble()
    {
        checkState(!isNull());
        checkArgument(type.getJavaType() == double.class, "Type %s cannot be read as double", type);
        return (Double) value;
    }