@Override public ConditionBuilder when() { return Query.fromType(ArchiveModel.class); }
@Override public QueryBuilderWith withProperty(String property, Object searchValue) { return withProperty(property, QueryPropertyComparisonType.EQUALS, searchValue); }
/** * 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; }
if (StringUtils.isNotBlank(from)) query = (Query) Query.from(from); if (query == null) query = (Query)Query.fromType(type); query = (Query)query.includingType(type); query.withProperty(propertyName, Boolean.valueOf(value)); } else query.withProperty(propertyName, QueryPropertyComparisonType.REGEX, value); else query.withProperty(propertyName, value); query.as(as);
/** * 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; }
if (StringUtils.isNotBlank(from)) query = (Query) Query.from(from); if (query == null) query = (Query)Query.fromType(type); query = (Query)query.includingType(type); query.withProperty(propertyName, Boolean.valueOf(value)); } else query.withProperty(propertyName, QueryPropertyComparisonType.REGEX, value); else query.withProperty(propertyName, value); query.as(as);
/** * 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; }
@Override public ConditionBuilder when() { return Query.fromType(ArchiveModel.class); }
@Override public QueryBuilderWith withProperty(String property, Object searchValue) { return withProperty(property, QueryPropertyComparisonType.EQUALS, searchValue); }
/** * 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; }
@Override public ConditionBuilder when() { return Query.fromType(EjbSessionBeanModel.class); }
@Override public QueryBuilderWith withProperty(String property, Object searchValue, Object... searchValues) { List<Object> values = new LinkedList<>(); values.add(searchValue); values.addAll(Arrays.asList(searchValues)); return withProperty(property, values); }
@Override public ConditionBuilder when() { return Query.fromType(SpringBeanModel.class); }
@Override public QueryBuilderWith withProperty(String property, Object searchValue, Object... searchValues) { List<Object> values = new LinkedList<>(); values.add(searchValue); values.addAll(Arrays.asList(searchValues)); return withProperty(property, values); }
@Override public ConditionBuilder when() { return Query.fromType(WindupConfigurationModel.class); }