Package org.infinispan.query.impl.massindex

Examples of org.infinispan.query.impl.massindex.IndexingReducer


      cache(1).put("key2", new Car("bmw", "black", 160));
      cache(0).put("key3", new Car("mersedes", "white", 160));

      Map result = new MapReduceTask<Object, Object, Object, LuceneWork>(cache(0))
            .mappedWith(new SomeMapper())
            .reducedWith(new IndexingReducer())
            .execute();

      Assert.assertTrue(result.isEmpty());
   }
View Full Code Here

TOP

Related Classes of org.infinispan.query.impl.massindex.IndexingReducer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.