public static Object parse(final String query) {
        return parse(query, new GremlinAntlrToJava());
    }
Parse Gremlin string using a default {@link GremlinAntlrToJava} object.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/GremlinQueryParser.java