Package org.infinispan.query.impl.massindex

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


      cache(0).put("key1", new Car("ford", "blue", 160));
      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 IndexingMapper())
            .reducedWith(new SomeReducer())
            .execute();

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

TOP

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

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.