Package eu.stratosphere.api.common.operators.util

Examples of eu.stratosphere.api.common.operators.util.FieldSet


   *
   * @param sourceField the position in the source record(s)
   * @param destinationFields the position in the destination record(s)
   */
  public void addForwardedField1(int sourceField, FieldSet destinationFields) {
    FieldSet fs;
    if((fs = this.forwardedFields1.get(sourceField)) != null) {
      fs.addAll(destinationFields);
    } else {
      fs = new FieldSet(destinationFields);
      this.forwardedFields1.put(sourceField, fs);
    }
  }
View Full Code Here


   *
   * @param sourceField the position in the source record(s) from the first input
   * @param destinationField the position in the destination record(s)
   */
  public void addForwardedField2(int sourceField, int destinationField) {
    FieldSet fs;
    if((fs = this.forwardedFields2.get(sourceField)) != null) {
      fs.add(destinationField);
    } else {
      fs = new FieldSet(destinationField);
      this.forwardedFields2.put(sourceField, fs);
    }
  }
View Full Code Here

   *
   * @param sourceField the position in the source record(s)
   * @param destinationFields the position in the destination record(s)
   */
  public void addForwardedField2(int sourceField, FieldSet destinationFields) {
    FieldSet fs;
    if((fs = this.forwardedFields2.get(sourceField)) != null) {
      fs.addAll(destinationFields);
    } else {
      fs = new FieldSet(destinationFields);
      this.forwardedFields2.put(sourceField, fs);
    }
  }
View Full Code Here

   *
   * @param readFields the position(s) in the source record(s)
   */
  public void addReadFields1(FieldSet readFields) {
    if(this.readFields1 == null) {
      this.readFields1 = new FieldSet(readFields);
    } else {
      this.readFields1.addAll(readFields);
    }
  }
View Full Code Here

   *
   * @param readFields the position(s) in the source record(s)
   */
  public void addReadFields2(FieldSet readFields) {
    if(this.readFields2 == null) {
      this.readFields2 = new FieldSet(readFields);
    } else {
      this.readFields2.addAll(readFields);
    }
  }
View Full Code Here

   *
   * @param writtenFields the position(s) in the destination record(s)
   */
  public void addWrittenFields(FieldSet writtenFields) {
    if(this.writtenFields == null) {
      this.writtenFields = new FieldSet(writtenFields);
    } else {
      this.writtenFields.addAll(writtenFields);
    }
  }
View Full Code Here

   *
   * @param sourceField the position in the source record(s)
   * @param destinationField the position in the destination record(s)
   */
  public void addForwardedField(int sourceField, int destinationField) {
    FieldSet fs;
    if((fs = this.forwardedFields.get(sourceField)) != null) {
      fs.add(destinationField);
    } else {
      fs = new FieldSet(destinationField);
      this.forwardedFields.put(sourceField, fs);
    }
  }
View Full Code Here

TOP

Related Classes of eu.stratosphere.api.common.operators.util.FieldSet

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.