Package uk.org.ogsadai.activity.io

Examples of uk.org.ogsadai.activity.io.TupleListActivityInput


    @Override
    protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[] {
                new TupleListActivityInput(INPUT_VALUES),
                new TypedListActivityInput(INPUT_COLUMNS, Integer.class),
                new TupleListActivityInput(INPUT_DATA)
        };
    }
View Full Code Here


   */
  @Override
  protected ActivityInput[] getIterationInputs()
  {
      return new ActivityInput[] {
              new TupleListActivityInput(INPUT_DATA),
              new TypedListActivityInput(INPUT_BIN_NAMES, String.class),
              new TupleListActivityInput(INPUT_AGGREGATES)
      };
  }
View Full Code Here

         BlockReader data = getInput(INPUT_DATA);
         if (data == null)
         {
             throw new InvalidActivityInputsException(1, INPUT_DATA);
         }  
         ActivityInput dataInput = new TupleListActivityInput(INPUT_DATA);
         dataInput.setBlockReader(data);
         inputs.add(dataInput);
        
         BlockReader priorities = getInput(INPUT_PRIORITIES);
         if (priorities == null)
         {
View Full Code Here

    @Override
    protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[] {
                new TupleListActivityInput(INPUT_DATA)
        };
    }
View Full Code Here

        List<ActivityInput> inputs = new ArrayList<ActivityInput>();
       
        // set up block reader for items input
        BlockReader items = getInput(INPUT_ITEMS);

        ActivityInput itemsInput = new TupleListActivityInput(INPUT_ITEMS);
        itemsInput.setBlockReader(items);
        inputs.add(itemsInput);
       
        // set up block reader for customers input
        BlockReader customers = getInput(INPUT_TRANSACTIONS);
 
        ActivityInput customersInput = new TupleListActivityInput(INPUT_TRANSACTIONS);
        customersInput.setBlockReader(customers);
        inputs.add(customersInput);
       
       
        // set up block reader for customers input
        BlockReader key = getInput(INPUT_KEY_INDEX);
View Full Code Here

        for (int i=0; i<inputs.length-1; i++)
        {
            inputs[i] = new TypedActivityInput(INPUT_PARAMETERS, Object.class);
            inputs[i].setBlockReader((BlockReader)activityInputs.get(i));
        }
        inputs[inputs.length-1] = new TupleListActivityInput(INPUT_DATA);
        if (hasInput(INPUT_DATA))
        {
            inputs[inputs.length-1].setBlockReader(getInput(INPUT_DATA));
        }
        return inputs;
View Full Code Here

  protected ActivityInput[] getIterationInputs() {
    System.out.println("InstrumentCorrection getting inputs...");
    return new ActivityInput[] {
        new TypedActivityInput(INPUT, Object.class),
           // new TypedActivityInput(PARAMETERS, String.class),
            new TupleListActivityInput(RESPONSE_PAZ)};
  }
View Full Code Here

  Classifier classifier;

  @Override
  protected ActivityInput[] getIterationInputs() {
    return new ActivityInput[] {
        new TupleListActivityInput(INPUT_DATA)};
  }
View Full Code Here

     * {@inheritDoc}
     */
    protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[] {
            new TupleListActivityInput(INPUT_DATA),
            new TypedActivityInput(INPUT_SAMPLE_SIZE, Integer.class),
            new TypedActivityInput(INPUT_SAMPLE_REPEAT, Integer.class)};
    }
View Full Code Here

        BlockReader data = getInput(INPUT_DATA);
        if (data == null)
        {
            throw new InvalidActivityInputsException(1, INPUT_DATA);
        }  
        ActivityInput dataInput = new TupleListActivityInput(INPUT_DATA);
        dataInput.setBlockReader(data);
        inputs.add(dataInput);

        // set up block reader for options input
        BlockReader options = getInput(INPUT_OPTIONS);
View Full Code Here

TOP

Related Classes of uk.org.ogsadai.activity.io.TupleListActivityInput

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.