try {
GqlDynamicLexer lexer = new GqlDynamicLexer( new ANTLRStringStream( gql ));
GqlDynamicParser parser = new GqlDynamicParser( new CommonTokenStream( lexer ));
Query ret = parser.gql( params );
fo = FetchOptions.Builder.withOffset( parser.getOffset() != null ? parser.getOffset() : 0);
if (parser.getLimit() != null) {
fo = fo.limit( parser.getLimit());