Examples of keyValue()


Examples of org.commoncrawl.util.shared.JobBuilder.keyValue()

      }
      else {
        throw new IOException("No Paths Specified!");
      }
     
      builder.keyValue(NullWritable.class, NullWritable.class);
      builder.mapper(BareBonesJob.class);
      builder.inputFormat(ARCFileInputFormat.class);
      builder.outputFormat(NullOutputFormat.class);
      builder.numReducers(0);
     
View Full Code Here

Examples of org.drools.compiler.lang.api.AnnotationDescrBuilder.keyValue()

        public void setAnnotationsOn(AnnotatedDescrBuilder builder) {
            if (!descr.getAnnotations().isEmpty()) {
                for (AnnotationDescr annDescr : descr.getAnnotations()) {
                    AnnotationDescrBuilder annotation = builder.newAnnotation(annDescr.getName());
                    for (Map.Entry<String, Object> valueEntry : annDescr.getValueMap().entrySet()) {
                        annotation.keyValue(valueEntry.getKey(), valueEntry.getValue());
                    }
                }
                clear();
            }
        }
View Full Code Here

Examples of play.db.Model.Factory.keyValue()

      e.compositeIdForeignA = a;
      e.compositeIdForeignB = b;
      e.save();
     
    // let's get its key
      Object id = factory.keyValue(e);
      assertNotNull(id);
      assertTrue(id instanceof CompositeIdPk);
      CompositeIdPk pk = (CompositeIdPk) id;
      assertEquals(a.id, pk.getCompositeIdForeignA());
      assertEquals(b.id, pk.getCompositeIdForeignB());
View Full Code Here

Examples of play.db.Model.Factory.keyValue()

      e.compositeIdForeignA = a;
      e.compositeIdForeignB = b;
      e.save();

    // let's get its key
      Object id = factory.keyValue(e);
      Model eDB = factory.findById(id);
      assertEquals(e, eDB);
    }

View Full Code Here

Examples of yalp.db.Model.Factory.keyValue()

      e.compositeIdForeignA = a;
      e.compositeIdForeignB = b;
      e.save();
     
    // let's get its key
      Object id = factory.keyValue(e);
      assertNotNull(id);
      assertTrue(id instanceof CompositeIdPk);
      CompositeIdPk pk = (CompositeIdPk) id;
      assertEquals(a.id, pk.getCompositeIdForeignA());
      assertEquals(b.id, pk.getCompositeIdForeignB());
View Full Code Here

Examples of yalp.db.Model.Factory.keyValue()

      e.compositeIdForeignA = a;
      e.compositeIdForeignB = b;
      e.save();

    // let's get its key
      Object id = factory.keyValue(e);
      Model eDB = factory.findById(id);
      assertEquals(e, eDB);
    }

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.