Examples of reference()


Examples of org.apache.pig.pen.util.ExampleTuple.reference()

                out.append(in);
        }
       
        if(lineageTracer != null) {
            ExampleTuple tOut = new ExampleTuple();
            tOut.reference(out);
        }
        return out;
    }

   
View Full Code Here

Examples of org.data2semantics.platform.core.data.ReferenceInput.reference()

            for (Input i : ((MultiInput) inp).inputs())
            {
              if (i instanceof ReferenceInput)
              {
                ReferenceInput ri = (ReferenceInput) i;
                result.append("\""+ri.reference().module().name()
                    + "\" ->" + module.name() + "[label=\""
                    + ri.reference().name() + "\"]");
              }
            }
          }
View Full Code Here

Examples of org.data2semantics.platform.core.data.ReferenceInput.reference()

              if (i instanceof ReferenceInput)
              {
                ReferenceInput ri = (ReferenceInput) i;
                result.append("\""+ri.reference().module().name()
                    + "\" ->" + module.name() + "[label=\""
                    + ri.reference().name() + "\"]");
              }
            }
          }
        }
View Full Code Here

Examples of org.data2semantics.platform.core.data.ReferenceInput.reference()

                // Raw inputs can only be coupled with another reference input
                if(!(coupledMi.inputs().get(idx) instanceof ReferenceInput))
                  throw new IllegalStateException(" Reference can only be paired with another reference ");
           
                ReferenceInput ri = (ReferenceInput) coupledMi.inputs().get(idx);
                if(!(ri.reference().module().equals(curMultiRefInput.reference().module())))
                  throw new IllegalStateException(" Reference can only be paired with another reference from the same module");
           
                // We are selecting next avlue from the same module instance
                InstanceOutput refIO = curModuleInstance.output(ri.reference().name());
                nextValue = refIO.value();
View Full Code Here

Examples of org.data2semantics.platform.core.data.ReferenceInput.reference()

                ReferenceInput ri = (ReferenceInput) coupledMi.inputs().get(idx);
                if(!(ri.reference().module().equals(curMultiRefInput.reference().module())))
                  throw new IllegalStateException(" Reference can only be paired with another reference from the same module");
           
                // We are selecting next avlue from the same module instance
                InstanceOutput refIO = curModuleInstance.output(ri.reference().name());
                nextValue = refIO.value();
                //System.out.println("Assigning "+ri.reference().module().name()+"."+ri.reference().name()+" into "+name()+"."+coupledMi.name());
                nextUniverse.put(coupledMi, new InstanceInput(this, coupledMi, nextValue, refIO));
              }
            }
View Full Code Here

Examples of org.data2semantics.platform.core.data.ReferenceInput.reference()

  private void handleReferenceInput(Map<Input, InstanceInput> universe, int depth,
      Input curInput, Input origin) {
   
    ReferenceInput ri = (ReferenceInput) curInput;
    List<ModuleInstance> parentInstances = ri.reference().module().instances();
   
     
    for(ModuleInstance mi : parentInstances){
   
      if(mi.withinUniverse(universe) ){
View Full Code Here

Examples of org.data2semantics.platform.core.data.ReferenceInput.reference()

        for (Input inp : module.inputs())
        {
          if (inp instanceof ReferenceInput)
          {
            ReferenceInput ri = (ReferenceInput) inp;
            result.append("\""+ri.reference().module().name() + "\" -> \""
                + module.name() + "\" [label=\""
                + ri.reference().name() + "\"]");
          } else if (inp instanceof MultiInput)
          {
            for (Input i : ((MultiInput) inp).inputs())
View Full Code Here

Examples of org.data2semantics.platform.core.data.ReferenceInput.reference()

          if (inp instanceof ReferenceInput)
          {
            ReferenceInput ri = (ReferenceInput) inp;
            result.append("\""+ri.reference().module().name() + "\" -> \""
                + module.name() + "\" [label=\""
                + ri.reference().name() + "\"]");
          } else if (inp instanceof MultiInput)
          {
            for (Input i : ((MultiInput) inp).inputs())
            {
              if (i instanceof ReferenceInput)
View Full Code Here

Examples of org.jboss.messaging.core.plugin.contract.MessageStore.reference()

      TextMessage m2 = (TextMessage)cons.receive();
      
      assertNotNull(m2);
      assertEquals(m.getText(), m2.getText());
     
      MessageReference ref = store.reference(((MessageProxy)m2).getMessage().getMessageID());
     
      assertNull(ref);
     
      conn.close();
   }
View Full Code Here

Examples of org.jboss.messaging.core.plugin.contract.MessageStore.reference()

     
      assertNotNull(m2);
     
      assertEquals(m.getText(), m2.getText());
     
      MessageReference ref = store.reference(((MessageProxy)m2).getMessage().getMessageID());
     
      assertNull(ref);
     
      conn.close();
   }
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.