/// <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));
        }
Exemplo n.º 2
0
		public void QueryResultIteratorFactory(IQueryResultIteratorFactory factory)
		{
			_config.Put(ClientQueryResultIteratorFactoryKey, factory);
		}
Exemplo n.º 3
0
 public void QueryResultIteratorFactory(IQueryResultIteratorFactory factory)
 {
     _config.Put(ClientQueryResultIteratorFactoryKey, factory);
 }