Package org.typeexit.kettle.plugin.steps.ruby.meta

Examples of org.typeexit.kettle.plugin.steps.ruby.meta.OutputFieldMeta


    outFields.clear();

    int fieldCount = wFields.nrNonEmpty();
    for (int i = 0; i < fieldCount; i++) {
      TableItem t = wFields.getNonEmpty(i);
      outFields.add(new OutputFieldMeta(t.getText(1), ValueMeta.getType(t.getText(2)), NO_YES[1].equalsIgnoreCase(t.getText(3))));
    }

    // save clear input fields flag
    input.setClearInputFields(wClearInputFields.getSelection());
View Full Code Here


      for(int i=0;i<nrFields;i++){
        Node sNode = XMLHandler.getSubNodeByNr(outputFieldsNode, "outputField", i);
        String name = XMLHandler.getTagValue(sNode, "name");
        int type = Const.toInt(XMLHandler.getTagValue(sNode, "type"), -1) ;
        boolean update = "Y".equalsIgnoreCase(XMLHandler.getTagValue(sNode, "update"));
        outputFields.add(new OutputFieldMeta(name, type, update));
      }
     
      // load ruby variables
      rubyVariables.clear();
View Full Code Here

      // load ouput fields
      int nrFields = rep.countNrStepAttributes(id_step, "output_field_name");
      outputFields.clear();
     
      for(int i=0;i<nrFields;i++){
        OutputFieldMeta outField = new OutputFieldMeta(
            rep.getStepAttributeString(id_step, i, "output_field_name"),
            (int) rep.getStepAttributeInteger(id_step, i, "output_field_type"),
            rep.getStepAttributeBoolean(id_step, i, "output_field_update")
        );
        outputFields.add(outField);
View Full Code Here

TOP

Related Classes of org.typeexit.kettle.plugin.steps.ruby.meta.OutputFieldMeta

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.