Package eu.stratosphere.runtime.io.gates

Examples of eu.stratosphere.runtime.io.gates.InputChannelResult


        }
       
        this.nextInputGateToReadFrom = getNextAvailableInputGate();
      }

      InputChannelResult result = this.nextInputGateToReadFrom.readRecord(target);
      switch (result) {
        case INTERMEDIATE_RECORD_FROM_BUFFER: // record is available and we can stay on the same channel
          return true;
         
        case LAST_RECORD_FROM_BUFFER: // record is available, but we need to re-check the channels
View Full Code Here


    if (this.endOfStream) {
      return false;
     
    }
    while (true) {
      InputChannelResult result = this.inputGate.readRecord(target);
      switch (result) {
        case INTERMEDIATE_RECORD_FROM_BUFFER:
        case LAST_RECORD_FROM_BUFFER:
          return true;
         
View Full Code Here

      }
     
      T record = instantiateRecordType();
     
      while (true) {
        InputChannelResult result = this.inputGate.readRecord(record);
        switch (result) {
          case INTERMEDIATE_RECORD_FROM_BUFFER:
          case LAST_RECORD_FROM_BUFFER:
            this.lookahead = record;
            return true;
View Full Code Here

TOP

Related Classes of eu.stratosphere.runtime.io.gates.InputChannelResult

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.