/** * Begin this {@link Query} with all {@link WindupVertexFrame} instances of the given type. */ public static QueryBuilderFind fromType(Class<? extends WindupVertexFrame> type) { final Query query = new Query(); // this query is going to be added after evaluate() method, because in some cases we need gremlin and in some // frames query.searchType = type; return query; }
/** * Begin this {@link Query} with all {@link WindupVertexFrame} instances of the given type. */ public static QueryBuilderFind fromType(Class<? extends WindupVertexFrame> type) { final Query query = new Query(); // this query is going to be added after evaluate() method, because in some cases we need gremlin and in some // frames query.searchType = type; return query; }
/** * Begin this {@link Query} with results of a prior {@link Query}, read from the variable with the given name. */ public static QueryBuilderFrom from(final String sourceVarName) { final Query query = new Query(); query.setInputVariablesName(sourceVarName); return query; }
/** * Begin this {@link Query} with all Frame instances that are the result of the provided GremlinQueryCriterion. */ public static QueryBuilderPiped gremlin(final QueryGremlinCriterion criterion) { return new Query().piped(criterion); }
/** * Begin this {@link Query} with results of a prior {@link Query}, read from the variable with the given name. */ public static QueryBuilderFrom from(final String sourceVarName) { final Query query = new Query(); query.setInputVariablesName(sourceVarName); return query; }
/** * Begin this {@link Query} with all Frame instances that are the result of the provided GremlinQueryCriterion. */ public static QueryBuilderPiped gremlin(final QueryGremlinCriterion criterion) { return new Query().piped(criterion); }