public DefaultQueryHandlerFactory(QueryEngine <TData> engine, bool fastYielding = false) { m_Engine = engine; m_FastYielding = fastYielding; }
private void SetupQueryEngine() { m_QueryEngine = new QueryEngine(false); m_QueryHandlerFactory = new GraphViewerQueryHandlerFactory(); }
public static IEnumerable <SearchProposition> GetPropositions(this QueryEngine queryEngine) { return(queryEngine.GetPropositions <object>()); }
public static IEnumerable <SearchProposition> GetPropositions <TData>(this QueryEngine <TData> queryEngine) { var filters = queryEngine.GetAllFilters(); return(filters.SelectMany(f => f.GetPropositions())); }
public static IQueryEnumerable <T> Create <T>(IQueryNode root, QueryEngine <T> engine, ICollection <QueryError> errors, bool fastYielding) { return(s_EnumerableFactories.TryGetValue(root.type, out var factory) ? factory.Create <T>(root, engine, errors, fastYielding) : null); }