public Vertex getVertex() {
        return (Vertex) resultObject;
    }
Gets the result item by casting it to a {@link Vertex}.
gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Result.java