/// <summary> /// The default /// <see cref="ClientQueryResultIterator">ClientQueryResultIterator</see> /// for this platform. /// </summary> /// <returns></returns> public static IEnumerator CreateClientQueryResultIterator(AbstractQueryResult result ) { IQueryResultIteratorFactory factory = result.Config().QueryResultIteratorFactory( ); if (null != factory) { return(factory.NewInstance(result)); } return(new ClientQueryResultIterator(result)); }
public void QueryResultIteratorFactory(IQueryResultIteratorFactory factory) { _config.Put(ClientQueryResultIteratorFactoryKey, factory); }