presto-mongodb/src/main/java/io/prestosql/plugin/mongodb/ObjectIdFunctions.java/ObjectIdFunctions/ObjectId
class ObjectIdFunctions:    @Description("mongodb ObjectId from the given string")
    @ScalarFunction("objectid")
    @SqlType("ObjectId")
    public static Slice ObjectId(@SqlType(StandardTypes.VARCHAR) Slice value)
    {
        return Slices.wrappedBuffer(new ObjectId(CharMatcher.is(' ').removeFrom(value.toStringUtf8())).toByteArray());
    }