/// <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);
		}
示例#3
0
 public void QueryResultIteratorFactory(IQueryResultIteratorFactory factory)
 {
     _config.Put(ClientQueryResultIteratorFactoryKey, factory);
 }